1 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
3 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
4 * gdb.python/py-mi-objfile.exp: Match "list main" output
7 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
9 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
12 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
14 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
16 * gdb.trace/ftrace.exp: Likewise.
17 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
19 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
20 (gdb_load_shlibs): Copy libraries to test directory when testing
21 natively. Only set solib-search-path if testing remotely.
22 * lib/mi-support.exp (mi_load_shlibs): Likewise.
24 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
26 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
27 gdb_download. Use it even if the target is not remote.
28 * gdb.base/jit.exp (compile_jit_test): Likewise.
29 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
30 output directory if the destination board is local, otherwise use
31 the standard remote_download from DejaGnu.
32 (gdb_download): Remove.
33 (gdb_load_shlibs): Use gdb_remote_download instead of
35 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
36 Use gdb_remote_download instead of gdb_download. Use it even if
37 the target is not remote.
38 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
39 instead of gdb_download.
41 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
43 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
44 (test_insert_delete_modify): Call mi_load_shlibs before trying to
47 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
50 * gdb.base/printcmds.exp: Add artificial arrays tests.
52 2016-03-31 Pedro Alves <palves@redhat.com>
55 * gdb.base/jit-main.c: Include unistd.h.
56 (ATTACH): Define to 0 if not already defined.
57 (wait_for_gdb, mypid): New globals.
58 (WAIT_FOR_GDB): New macro.
59 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
60 some breakpoint locations.
61 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
63 (one_jit_test): Add REATTACH parameter, and handle it. Use
64 continue_to_test_location.
65 (top level): Test attach, and adjusts calls to one_jit_test.
67 2016-03-31 Pedro Alves <palves@redhat.com>
70 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
71 BINSUFFIX parameter, and handle it.
72 (top level): Adjust calls compile_jit_test.
74 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
77 * gdb.python/py-mi-events-gdb.py: New file.
78 * gdb.python/py-mi-events.c: New file.
79 * gdb.python/py-mi-events.exp: New file.
81 2016-03-30 Yao Qi <yao.qi@linaro.org>
83 * gdb.reverse/until-precsave.exp: Match function name only.
84 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
85 Move malloc to a condition block.
86 * gdb.reverse/until-reverse.exp: Match function name only.
88 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
90 * gdb.trace/ftrace.exp: Set arg0exp for s390.
91 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
92 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
93 variable for GPR 0 instead of assuming it is register 0.
94 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
95 * lib/trace-support.exp: Add s390 registers.
97 2016-03-29 Yao Qi <yao.qi@linaro.org>
99 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
101 2016-03-24 Yao Qi <yao.qi@linaro.org>
103 * gdb.reverse/break-reverse.exp: Add quotation mark in the
106 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
108 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
109 maintaining separate logic for constructing the output path.
111 2016-03-16 Don Breazeal <donb@codesourcery.com>
113 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
114 Retry fork and waitpid on interrupted system call errors.
115 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
116 Use with_timeout_factor to increase timeout by factor of 10.
118 2016-03-15 Don Breazeal <donb@codesourcery.com>
120 * gdb.cp/scope-err.cc: New test program.
121 * gdb.cp/scope-err.exp: New test script.
122 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
123 lines and "set breakpoint here" comment.
124 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
125 Fixed some whitespace and format issues.
126 * gdb.mi/mi-linespec-err-cp.cc: New test program.
127 * gdb.mi/mi-linespec-err-cp.exp: New test script.
129 2016-03-15 Doug Evans <dje@google.com>
131 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
132 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
133 All callers updated. Add tests for enums, mixed flags register.
135 2016-03-15 Doug Evans <dje@google.com>
137 * gdb.base/skip.c (main): Call test_skip_file_and_function.
138 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
140 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
142 * gdb.base/default.exp: Add $_as_string to the list of expected
143 convenience functions.
145 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
147 * gdb.base/maint.exp: New tests for 'maint info line-table'.
149 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
151 * gdb.python/py-as-string.exp: New file.
152 * gdb.python/py-as-string.c: New file.
154 2016-03-09 Pedro Alves <palves@redhat.com>
156 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
157 signal" -> "Thread NN received signal" output change.
158 * gdb.threads/ia64-sigill.exp: Likewise.
159 * gdb.threads/linux-dp.exp: Likewise.
160 * gdb.threads/manythreads.exp: Likewise.
161 * gdb.threads/pending-step.exp: Likewise.
162 * gdb.threads/print-threads.exp: Likewise.
163 * gdb.threads/sigstep-threads.exp: Likewise.
164 * gdb.threads/staticthreads.exp: Likewise.
165 * gdb.threads/tls.exp: Likewise.
167 2016-03-09 Pedro Alves <palves@redhat.com>
169 * gdb.base/command-line-input.exp: New file.
171 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
173 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
174 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
175 * gdb.trace/pending.exp: Accept leading dot before function name.
176 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
177 * lib/trace-support.exp: Set registers for ppc.
179 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
181 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
182 use it for disassembly; accept .main in addition to main in backtrace.
184 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
185 Marcin Kościelnicki <koriakin@0x04.net>
187 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
188 (gdb_recursion_test_ptr): New global variable.
189 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
193 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
195 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
198 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
200 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
201 (bar): Add bar_start_lbl label.
202 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
203 of foo/bar for emitting DWARF and tracing.
205 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
207 * analyze-racy-logs.py: Set executable bit.
209 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
211 * Makefile.in (DEFAULT_RACY_ITER): New variable.
212 (CHECK_TARGET_TMP): Likewise.
213 (check-single-racy): New rule.
214 (check-parallel-racy): Likewise.
215 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
216 (do-check-parallel-racy): New rule.
217 (check-racy/%.exp): Likewise.
218 * README (Racy testcases): New section.
219 * analyze-racy-logs.py: New file.
221 2016-03-03 Doug Evans <dje@google.com>
223 * gdb.base/skip.exp: Use with_test_prefix.
225 2016-03-03 Yao Qi <yao.qi@linaro.org>
227 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
228 Invoke step_over_syscall "clone" and break_cond_on_syscall
230 * gdb.base/step-over-clone.c: New file.
232 2016-03-03 Yao Qi <yao.qi@linaro.org>
234 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
237 2016-03-03 Yao Qi <yao.qi@linaro.org>
239 * gdb.base/disp-step-fork.c: Rename to ...
240 * gdb.base/step-over-fork.c: ... it. New file.
241 * gdb.base/disp-step-vfork.c: Rename to ...
242 * gdb.base/step-over-vfork.c: ... it. New file.
243 * gdb.base/disp-step-syscall.exp: Rename to ...
244 * gdb.base/step-over-syscall.exp: ... it. New file.
245 (disp_step_cross_syscall): Rename to ...
246 (step_over_syscall): ... it.
248 2016-03-03 Yao Qi <yao.qi@linaro.org>
250 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
251 If target supports condition evaluation on target, invoke
252 break_cond_on_syscall for fork and vfork.
254 2016-03-03 Yao Qi <yao.qi@linaro.org>
256 * gdb.base/disp-step-syscall.exp: Don't invoke
257 support_displaced_stepping.
258 (disp_step_cross_syscall): Test with displaced stepping off and
261 2016-03-03 Yao Qi <yao.qi@linaro.org>
263 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
266 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
269 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
271 * gdb.fortran/vla-history.exp: Remove breakpoint.
273 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
275 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
277 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
279 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
281 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
283 * gdb.mi/vla.f90: Nullify pointer after declaration.
285 2016-03-01 Pedro Alves <palves@redhat.com>
287 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
289 2016-03-01 Pedro Alves <palves@redhat.com>
291 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
292 before anything else.
293 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
295 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
296 before anything else.
297 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
299 2016-03-01 Pedro Alves <palves@redhat.com>
301 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
303 2016-03-01 Yao Qi <yao.qi@linaro.org>
305 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
308 2016-03-01 Yao Qi <yao.qi@linaro.org>
310 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
312 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
314 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
315 manually constructing the output path.
317 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
319 * gdb.arch/s390-stackless.S: New.
320 * gdb.arch/s390-stackless.exp: New.
322 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
324 * gdb.dlang/circular.c: New file.
325 * gdb.dlang/circular.exp: New file.
327 2016-02-26 Yao Qi <yao.qi@linaro.org>
329 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
330 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
333 2016-02-26 Yao Qi <yao.qi@linaro.org>
335 * gdb.reverse/aarch64.c: Rename to ...
336 * gdb.reverse/insn-reverse.c: ... it.
337 * gdb.reverse/aarch64.exp: Rename to ...
338 * gdb.reverse/insn-reverse.exp: ... it.
340 2016-02-26 Yao Qi <yao.qi@linaro.org>
342 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
343 (testcase_ftype): New.
344 (testcases): New array.
346 (main): Call each element in testcases.
347 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
348 (read_testcase): New.
349 Do the tests in a loop.
351 2016-02-25 Yao Qi <yao.qi@linaro.org>
353 * gdb.base/branches.c: Remove.
355 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
358 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
360 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
362 * gdb.trace/ftrace.exp: Remove unnecessary target check.
364 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
366 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
367 change x86_64 call_insn to 'callq'.
369 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
371 * gdb.trace/tfile-avx.c: Move to...
372 * gdb.trace/tracefile-pseudo-reg.c: Here.
373 * gdb.trace/tfile-avx.exp: Move to...
374 * gdb.trace/tracefile-pseudo-reg.exp: Here.
376 2016-02-24 Gary Benson <gbenson@redhat.com>
378 * gdb.base/attach-pie-noexec.exp: Do not expect an error
381 2016-02-23 Doug Evans <dje@google.com>
383 * gdb.base/skip.c (test_skip): New function.
384 (end_test_skip_file_and_function): New function.
385 (test_skip_file_and_function): New function.
386 * gdb.base/skip1.c (test_skip): New function.
387 (skip1_test_skip_file_and_function): New function.
388 * gdb.base/skip.exp: Add tests for new skip options.
389 * gdb.base/skip-solib.exp: Update expected output.
390 * gdb.perf/skip-command.cc: New file.
391 * gdb.perf/skip-command.exp: New file.
392 * gdb.perf/skip-command.py: New file.
394 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
396 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
397 info registers pattern.
399 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
401 * lib/future.exp: Add D support.
402 (gdb_find_gdc): New proc.
403 (gdb_default_target_compile): Add D support.
405 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
407 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
409 (trace_speed_test): Determine the iteration count for a time
410 between 15..30 seconds.
412 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
414 * gdb.arch/i386-mpx-sigsegv.c: New file.
415 * gdb.arch/i386-mpx-sigsegv.exp: New file.
416 * gdb.arch/i386-mpx-simple_segv.c: New file.
417 * gdb.arch/i386-mpx-simple_segv.exp: New file.
419 2016-02-18 Yao Qi <yao.qi@linaro.org>
421 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
422 Don't call setup_kfail.
424 2016-02-18 Yao Qi <yao.qi@linaro.org>
426 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
427 Set "set breakpoint condition-evaluation" per $cond_bp_target.
429 2016-02-16 Doug Evans <dje@google.com>
431 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
432 * gdb.base/skip1.c: Ditto.
433 * gdb.base/skip.exp: Whitespace cleanup.
435 2016-02-16 Don Breazeal <donb@codesourcery.com>
438 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
439 Remove kfail for PR remote/19496.
441 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
443 * lib/gdb.exp (standard_temp_file): Return a path specific to
444 the runtest invocation.
446 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
448 * gdb.trace/save-trace.exp: Change relative path to be in the
449 standard output directory.
451 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
453 * gdb.arch/i386-prologue.c: Add missing prototypes.
455 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
457 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
458 * gdb.arch/i386-prologue.exp: Likewise.
459 * gdb.arch/i386-size.exp: Likewise.
461 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
463 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
464 define object file path.
465 * gdb.btrace/gcore.exp: Use standard_output_file to define core
467 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
468 standard_output_file to define binfile.
470 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
472 Fix compatibility with recent gfortran-5.3.1.
473 * gdb.fortran/vla-history.exp (print vla1 allocated)
474 (print vla2 allocated, print $2, print $3): Remove
475 (print $4): Rename to ...
476 (print $2): ... here.
477 (print $9): Rename to ...
478 (print $5): ... here.
479 (print $10): Rename to ...
480 (print $6): ... here.
481 * gdb.fortran/vla.f90: Add pvla initialization.
483 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
485 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
487 * gdb.fortran/vla-value-sub.exp: Likewise.
489 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
491 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
493 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
495 * i386-biarch-core.exp: Define corefile using
496 standard_output_file.
498 2016-02-12 Yao Qi <yao.qi@linaro.org>
500 * gdb.arch/arm-single-step-kernel-helper.c: New.
501 * gdb.arch/arm-single-step-kernel-helper.exp: New.
503 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
505 * gdb.btrace/tailcall-only.exp: New.
506 * gdb.btrace/tailcall-only.c: New.
507 * gdb.btrace/x86_64-tailcall-only.S: New.
508 * gdb.btrace/i686-tailcall-only.S: New.
510 2016-02-11 Pedro Alves <palves@redhat.com>
512 * README (Parallel testing): Add missing double quotes.
514 2016-02-11 Pedro Alves <palves@redhat.com>
516 * README (Parallel testing): New section.
517 (GDB_PARALLEL): Rewrite.
518 (FORCE_PARALLEL): Document.
520 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
522 * gdb.trace/tfile-avx.c: New test.
523 * gdb.trace/tfile-avx.exp: New test.
525 2016-02-09 Keith Seitz <keiths@redhat.com>
528 * gdb.base/infcall-exec.c: New file.
529 * gdb.base/infcall-exec2.c: New file.
530 * gdb.base/infcall-exec.exp: New file.
532 2016-02-09 Keith Seitz <keiths@redhat.com>
534 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
535 (toplevel): Call test_bkpt_address.
537 2016-02-09 Keith Seitz <keiths@redhat.com>
540 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
541 (toplevel): Call test_bkpt_address.
543 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
545 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
547 * configure: Regenerate.
549 2016-02-09 Pedro Alves <palves@redhat.com>
552 * gdb.base/execl-update-breakpoints.c (some_function): New
555 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
556 Tighten expected GDB output.
558 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
560 * Makefile.in (ALL_SUBDIRS): Remove.
561 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
562 (distclean maintainer-clean realclean): Likewise.
563 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
564 * configure: Regenerate.
565 * gdb.ada/Makefile.in: Delete.
566 * gdb.arch/Makefile.in: Likewise.
567 * gdb.asm/Makefile.in: Likewise.
568 * gdb.base/Makefile.in: Likewise.
569 * gdb.btrace/Makefile.in: Likewise.
570 * gdb.cell/Makefile.in: Likewise.
571 * gdb.compile/Makefile.in: Likewise.
572 * gdb.cp/Makefile.in: Likewise.
573 * gdb.disasm/Makefile.in: Likewise.
574 * gdb.dlang/Makefile.in: Likewise.
575 * gdb.dwarf2/Makefile.in: Likewise.
576 * gdb.fortran/Makefile.in: Likewise.
577 * gdb.gdb/Makefile.in: Likewise.
578 * gdb.go/Makefile.in: Likewise.
579 * gdb.guile/Makefile.in: Likewise.
580 * gdb.java/Makefile.in: Likewise.
581 * gdb.linespec/Makefile.in: Likewise.
582 * gdb.mi/Makefile.in: Likewise.
583 * gdb.modula2/Makefile.in: Likewise.
584 * gdb.multi/Makefile.in: Likewise.
585 * gdb.objc/Makefile.in: Likewise.
586 * gdb.opencl/Makefile.in: Likewise.
587 * gdb.opt/Makefile.in: Likewise.
588 * gdb.pascal/Makefile.in: Likewise.
589 * gdb.perf/Makefile.in: Likewise.
590 * gdb.python/Makefile.in: Likewise.
591 * gdb.reverse/Makefile.in: Likewise.
592 * gdb.server/Makefile.in: Likewise.
593 * gdb.stabs/Makefile.in: Likewise.
594 * gdb.threads/Makefile.in: Likewise.
595 * gdb.trace/Makefile.in: Likewise.
596 * gdb.xml/Makefile.in: Likewise.
597 * lib/gdb.exp (make_gdb_parallel_path): Add check for
599 (standard_output_file): Remove check for GDB_PARALLEL, always
600 return path in outputs/$subdir/$testname.
602 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
604 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
605 (site.exp): Assign abs_srcdir to tcl's srcdir.
607 2016-02-04 Yao Qi <yao.qi@linaro.org>
609 * gdb.base/foll-exec-mode.c: Include limits.h.
610 (main): Add parameters argc and argv. Get directory from
612 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
614 * gdb.base/foll-exec.c: Include limits.h.
615 (main): Add parameters argc and argv.
616 Get directory from argv[0].
617 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
618 Adjust tests on the number of lines as source code changed.
619 * gdb.base/foll-vfork-exit.c: Include limits.h.
620 (main): Add one line of statement before vfork.
621 * gdb.base/foll-vfork.c: Include limits.h and string.h.
622 (main): Add parameters argc and argv. Get directory from
624 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
625 (setup_gdb): Set tbreak to skip some source lines.
626 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
627 (main): Add parameters argc and argv. Get directory from
629 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
631 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
632 (main): Add parameters argc and argv. Get directory from
634 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
637 2016-02-01 Doug Evans <dje@google.com>
639 * gdb.base/skip.exp: Clean up multiple references to same test name.
641 2016-02-01 Pedro Alves <palves@redhat.com>
644 * gdb.threads/forking-threads-plus-breakpoint.exp
645 (displaced_stepping_supported): New global.
646 (probe_displaced_stepping_support): New procedure.
647 (do_test): Add 'displaced' parameter, and use it.
648 (top level): Check for displaced stepping support. Add displaced
649 stepping on/off testing axis.
651 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
653 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
654 pointer. Don't perform further tests on the unassociated pointer
655 if the first test fails.
657 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
659 * gdb.base/max-value-size.c: New file.
660 * gdb.base/max-value-size.exp: New file.
661 * gdb.base/huge.exp: Disable max-value-size for this test.
663 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
665 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
667 2016-01-28 Yao Qi <yao.qi@linaro.org>
669 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
671 2016-01-25 Pedro Alves <palves@redhat.com>
674 * gdb.base/fork-running-state.c: New file.
675 * gdb.base/fork-running-state.exp: New file.
677 2016-01-25 Pedro Alves <palves@redhat.com>
680 * gdb.base/catch-fork-kill.c: New file.
681 * gdb.base/catch-fork-kill.exp: New file.
683 2016-01-25 Pedro Alves <palves@redhat.com>
685 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
686 Delete, moved to lib/gdb.exp.
687 * gdb.threads/forking-threads-plus-breakpoint.exp
688 (foreach_with_prefix): Likewise.
689 * gdb.threads/process-dies-while-handling-bp.exp
690 (foreach_with_prefix): Likewise.
691 * lib/gdb.exp (foreach_with_prefix): New procedure.
693 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
695 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
696 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
698 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
700 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
703 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
704 Pedro Alves <palves@redhat.com>
706 Fix testsuite compatibility with Guile.
707 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
710 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
712 Fix testsuite compatibility with Guile.
713 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
714 (thread 1): New test for backtrace through signal handler.
716 2016-01-22 Yao Qi <yao.qi@linaro.org>
719 * gdb.base/multi-forks.c: Include
720 ../lib/unbuffer_output.c
721 (main): Call gdb_unbuffer_output.
723 2016-01-21 Doug Evans <dje@google.com>
725 * lib/ada.exp (gdb_compile_ada): Fix typo.
727 2016-01-21 Joel Brobecker <brobecker@adacore.com>
729 * gdb.base/break-fun-addr.exp: New file.
730 * gdb.base/break-fun-addr1.c: New file.
731 * gdb.base/break-fun-addr2.c: New file.
733 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
735 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
736 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
739 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
741 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
742 when GDB can not set the vector return value. Add more comments
745 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
747 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
750 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
752 * Makefile.in (DO_RUNTEST): Add --status and update usages.
754 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
756 * Makefile.in (check-single): Pass --status to runtest.
757 (check/%.exp): Likewise.
759 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
761 * Makefile.in (check-parallel): Propagate return code from make
764 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
766 * gdb.trace/ftrace.exp: Fix expected message on continue.
767 * gdb.trace/pending.exp: Fix expected message on continue.
768 * gdb.trace/trace-break.exp: Fix expected message on continue.
770 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
772 * lib/gdb.exp (gdb_test): Remove unused global references.
774 2016-01-18 Pedro Alves <palves@redhat.com>
776 * gdb.base/async-shell.exp: Adjust expected output.
777 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
778 * gdb.base/siginfo-thread.exp: Adjust expected output.
779 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
780 * gdb.java/jnpe.exp: Adjust expected output.
781 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
782 * gdb.threads/continue-pending-status.exp: Adjust expected output.
783 * gdb.threads/leader-exit.exp: Adjust expected output.
784 * gdb.threads/manythreads.exp: Adjust expected output.
785 * gdb.threads/pthreads.exp: Adjust expected output.
786 * gdb.threads/schedlock.exp: Adjust expected output.
787 * gdb.threads/siginfo-threads.exp: Adjust expected output.
788 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
790 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
792 * gdb.threads/sigthread.exp: Adjust expected output.
793 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
795 2016-01-18 Yao Qi <yao.qi@linaro.org>
797 * gdb.guile/scm-section-script.c: Replace @progbits with
799 * gdb.python/py-section-script.c: Likewise.
801 2016-01-15 Pedro Alves <palves@redhat.com>
803 * gdb.multi/tids.exp: Test star wildcard ranges.
805 2016-01-15 Pedro Alves <palves@redhat.com>
807 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
808 command from "thread apply" invocation.
809 (thr_apply_info_thr_invalid): Default the expected output to the
811 (top level): Add tests that use convenience variables. Add tests
812 for "thread apply" with a valid TID list, but missing the command.
814 2016-01-13 Pedro Alves <palves@redhat.com>
816 * gdb.base/default.exp: Expect $_gthread as well.
817 * gdb.multi/tids.exp: Test $_gthread.
818 * gdb.threads/thread-specific.exp: Test $_gthread.
820 2016-01-13 Pedro Alves <palves@redhat.com>
822 * gdb.multi/tids.exp: Test "info threads -gid".
824 2016-01-13 Pedro Alves <palves@redhat.com>
826 * gdb.multi/tids.exp: Test InferiorThread.global_num and
828 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
830 2016-01-07 Pedro Alves <palves@redhat.com>
832 * gdb.base/break.exp: Adjust to output changes.
833 * gdb.base/hbreak2.exp: Likewise.
834 * gdb.base/sepdebug.exp: Likewise.
835 * gdb.base/watch_thread_num.exp: Likewise.
836 * gdb.linespec/keywords.exp: Likewise.
837 * gdb.multi/info-threads.exp: Likewise.
838 * gdb.threads/thread-find.exp: Likewise.
839 * gdb.multi/tids.c: New file.
840 * gdb.multi/tids.exp: New file.
842 2016-01-13 Pedro Alves <palves@redhat.com>
844 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
846 2016-01-13 Pedro Alves <palves@redhat.com>
848 * gdb.base/default.exp: Expect $_inferior as well.
849 * gdb.multi/base.exp: Test $_inferior.
851 2016-01-13 Pedro Alves <palves@redhat.com>
854 * gdb.base/catch-signal-siginfo-cond.c: New file.
855 * gdb.base/catch-signal-siginfo-cond.exp: New file.
857 2016-01-12 Josh Stone <jistone@redhat.com>
858 Philippe Waroquiers <philippe.waroquiers@skynet.be>
860 * gdb.base/catch-syscall.c (do_execve): New variable.
861 (main): Conditionally trigger an execve.
862 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
863 (test_catch_syscall_execve): New, check entry/return across execve.
864 (do_syscall_tests): Call test_catch_syscall_execve.
866 2016-01-12 Pedro Alves <palves@redhat.com>
868 * gdb.base/random-signal.exp (do_test): New procedure, with body
869 of testcase moved in.
871 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
872 Pedro Alves <palves@redhat.com>
874 * gdb.base/funcargs.exp (finish from indirectly called function):
875 Reintroduce the case for 'First'.
877 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
878 Pedro Alves <palves@redhat.com>
880 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
881 (tcatch_vfork_then_child_follow_exec)
882 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
885 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
887 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
888 and repeats to unlimited.
889 * gdb.python/py-value.exp: Likewise.
890 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
891 and repeats to unlimited.
893 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
895 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
896 and reordering the functions.
897 * gdb.multi/hangout.c: Likewise.
898 * gdb.multi/hello.c: Likewise.
900 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
902 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
904 (SingleStatisticTestResult.report): Use dict.keys instead of
907 2016-01-06 Pedro Alves <palves@redhat.com>
909 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
911 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
913 * gdb.btrace/dlopen.exp: New.
914 * gdb.btrace/dlopen.c: New.
915 * gdb.btrace/dlopen-dso.c: New.
917 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
919 * lib/gdb.exp (gdb_test): Update comments to clarify that the
920 PATTERN argument is optional.
922 2015-12-24 Joel Brobecker <brobecker@adacore.com>
924 * lib/ada.exp (target_compile_ada_from_dir): New function.
925 (gdb_compile_ada): Reimplement avoiding the use of project files.
926 * gdb.ada/gnat_ada.gpr: Delete.
927 * gdb.ada/cond_lang.exp: Adjust test to make path before
929 * gdb.ada/small_reg_param.exp: Likewise.
931 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
933 * gdb.base/foll-vork.exp: Remove HP-UX special case.
935 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
937 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
940 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
942 * gdb.base/break.exp: Remove dead code.
943 * gdb.base/sepdebug.exp: Likewise.
945 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
947 * gdb.asm/asm-source.exp: Remove HP-UX references.
948 * gdb.base/annota1.exp: Likewise.
949 * gdb.base/annota3.exp: Likewise.
950 * gdb.base/attach.exp: Likewise.
951 * gdb.base/bigcore.exp: Likewise.
952 * gdb.base/break.exp: Likewise.
953 * gdb.base/call-ar-st.exp: Likewise.
954 * gdb.base/callfuncs.exp: Likewise.
955 * gdb.base/catch-fork-static.exp: Likewise.
956 * gdb.base/display.exp: Likewise.
957 * gdb.base/foll-exec-mode.exp: Likewise.
958 * gdb.base/foll-exec.exp: Likewise.
959 * gdb.base/foll-fork.exp: Likewise.
960 * gdb.base/foll-vfork.exp: Likewise.
961 * gdb.base/funcargs.exp: Likewise.
962 * gdb.base/hbreak2.exp: Likewise.
963 * gdb.base/inferior-died.exp: Likewise.
964 * gdb.base/interrupt.exp: Likewise.
965 * gdb.base/multi-forks.exp: Likewise.
966 * gdb.base/nodebug.exp: Likewise.
967 * gdb.base/sepdebug.exp: Likewise.
968 * gdb.base/solib1.c: Likewise.
969 * gdb.base/step-test.exp: Likewise.
970 * gdb.mi/non-stop.c: Likewise.
971 * gdb.mi/pthreads.c: Likewise.
972 * gdb.multi/bkpt-multi-exec.ex: Likewise.
973 * gdb.threads/pthreads.c: Likewise.
974 * gdb.threads/staticthreads.exp: Likewise.
975 * lib/future.exp: Likewise.
976 * lib/gdb.exp: Likewise.
977 * gdb.base/so-indr-cl.c: Remove.
978 * gdb.base/so-indr-cl.exp: Likewise.
979 * gdb.base/solib.c: Likewise.
980 * gdb.base/solib.exp: Likewise.
981 * gdb.base/solib2.c: Likewise.
983 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
985 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
986 * gdb.base/call-ar-st.exp: Likewise.
987 * gdb.base/callfuncs.exp: Likewise.
988 * gdb.base/condbreak.exp: Likewise.
989 * gdb.base/constvars.exp: Likewise.
990 * gdb.base/hbreak2.exp: Likewise.
991 * gdb.base/langs.exp: Likewise.
992 * gdb.base/list.exp: Likewise.
993 * gdb.base/long_long.exp: Likewise.
994 * gdb.base/ptype.exp: Likewise.
995 * gdb.base/scope.exp: Likewise.
996 * gdb.base/signals.exp: Likewise.
997 * gdb.base/so-impl-ld.exp: Likewise.
998 * gdb.base/varargs.exp: Likewise.
999 * gdb.base/volatile.exp: Likewise.
1000 * gdb.base/whatis.exp: Likewise.
1001 * gdb.cp/cplusfuncs.exp: Likewise.
1002 * gdb.cp/inherit.exp: Likewise.
1003 * gdb.cp/local.exp: Likewise.
1004 * gdb.cp/member-ptr.exp: Likewise.
1005 * gdb.cp/method.exp: Likewise.
1006 * gdb.cp/overload.exp: Likewise.
1007 * gdb.cp/templates.exp: Likewise.
1008 * gdb.stabs/weird.exp: Likewise.
1009 * lib/compiler.c: Likewise.
1010 * lib/compiler.cc: Likewise.
1011 * lib/cp-support.exp: Likewise.
1012 * lib/gdb.exp: Likewise.
1014 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1016 * configure.ac: Remove HP-UX case.
1017 * configure: Regenerate.
1019 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1021 * lib/gdb.exp (gdb_compile): Add function doc.
1023 2015-12-17 Pedro Alves <palves@redhat.com>
1026 * gdb.multi/info-threads.exp: New file.
1028 2015-12-15 Yao Qi <yao.qi@linaro.org>
1030 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1033 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1035 * gdb.base/history-duplicates.exp: Skip if no readline support.
1037 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1039 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1041 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1043 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1045 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1047 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1048 ctrl-C if nointerrupts target property is set.
1049 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1050 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1051 * gdb.base/paginate-bg-execution.exp: Likewise.
1052 * gdb.base/paginate-execution-startup.exp: Likewise.
1053 * gdb.base/random-signal.exp: Likewise.
1054 * gdb.base/range-stepping.exp: Likewise.
1055 * gdb.cp/annota2.exp: Likewise.
1056 * gdb.cp/annota3.exp: Likewise.
1057 * gdb.gdb/selftest.exp: Likewise.
1058 * gdb.threads/continue-pending-status.exp: Likewise.
1059 * gdb.threads/leader-exit.exp: Likewise.
1060 * gdb.threads/manythreads.exp: Likewise.
1061 * gdb.threads/pthreads.exp: Likewise.
1062 * gdb.threads/schedlock.exp: Likewise.
1063 * gdb.threads/sigthread.exp: Likewise.
1065 2015-12-11 Don Breazeal <donb@codesourcery.com>
1067 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1069 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1070 * gdb.base/foll-exec.exp (main): Enable for target remote.
1071 * gdb.base/foll-fork.exp (main): Likewise.
1072 * gdb.base/foll-vfork.exp (main): Likewise.
1073 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1074 (proc continue_to_exit_bp_loc): Use clean_restart.
1075 * gdb.base/pie-execl.exp (main): Disable for target remote.
1076 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1077 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1078 * gdb.threads/execl.exp (main): Likewise.
1079 * gdb.threads/fork-child-threads.exp (main): Likewise.
1080 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1082 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1084 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1085 pid.tid style ptids, instead of just tid.
1086 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1087 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1088 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1089 ptids, instead of just tid.
1091 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1093 * gdb.base/list.exp (test_list_forward): Add end of file error
1095 (test_repeat_list_command): Add end of file error test.
1096 (test_list_backwards): Add beginning of file error test.
1098 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1100 * gdb.base/list.exp (test_list_invalid_args): New function,
1101 defined, and called.
1103 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1105 * gdb.base/list.exp (test_list): Make test names unique.
1107 2015-12-11 Yao Qi <yao.qi@linaro.org>
1109 * gdb.base/coremaker2.c: Remove.
1111 2015-12-10 Pedro Alves <palves@redhat.com>
1113 * gdb.multi/base.exp: Remove stale "spaces" references.
1115 2015-12-10 Pedro Alves <palves@redhat.com>
1117 * gdb.multi/base.exp: Don't use nowarnings.
1118 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1119 * gdb.multi/hangout.c: Include stdio.h.
1120 * gdb.multi/hello.c: Include stdlib.h.
1121 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1122 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1123 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1125 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1127 * gdb.dwarf2/dw2-ranges-base.c: New file.
1128 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1129 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1130 support additional line table, and debug ranges generation.
1131 (Dwarf::ranges): New function, generate .debug_ranges.
1132 (Dwarf::lines): Support generating simple line table programs.
1133 (Dwarf::assemble): Initialise new namespace variables.
1135 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1137 * gdb.base/async.exp (proc test_background): Add case for
1138 asynchronous execution not supported.
1140 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1142 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1143 format and change test names to make them unique.
1145 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1146 Pedro Alves <pedro@redhat.com>
1149 Add checking of floatformats setup on x86_64 hosts.
1150 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1151 (smallval, bigval): New labels/constants.
1152 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1153 float" after loading bigval and smallval.
1155 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1157 * gdb.ada/fun_overload_menu.exp: New testcase.
1158 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1160 2015-12-04 Josh Stone <jistone@redhat.com>
1162 * gdb.base/catch-fork-static.exp: New.
1164 2015-12-03 Yao Qi <yao.qi@linaro.org>
1166 * gdb.base/sizeof.c: Don't include stdio.h and
1167 ../lib/unbuffer_output.c.
1168 (main): New variable 'size' and 'value'. Remove printf and
1169 gdb_unbuffer_output. Assign return value to size and value.
1170 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1172 (check_sizeof): Check the result by printing variable 'size'.
1173 (check_valueof): Check the result by printing variable 'value'.
1175 2015-12-01 Yao Qi <yao.qi@linaro.org>
1177 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1178 for aarch64*-*-linux* target.
1180 2015-11-30 Pedro Alves <palves@redhat.com>
1182 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1184 2015-11-30 Pedro Alves <palves@redhat.com>
1186 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1187 Handle non-stop mode vCont replies.
1189 2015-11-30 Pedro Alves <palves@redhat.com>
1191 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1192 prepare_for_testing. Start gdb with "set non-stop on" appended to
1193 GDBFLAGS. Lax expected stop output.
1195 2015-11-27 Yao Qi <yao.qi@linaro.org>
1197 * gdb.arch/arm-neon.exp: New.
1198 * gdb.arch/arm-neon.c: New.
1200 2015-11-27 Yao Qi <yao.qi@linaro.org>
1202 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1204 2015-11-27 Yao Qi <yao.qi@linaro.org>
1206 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1207 frames-invalid annotation.
1209 2015-11-27 Yao Qi <yao.qi@linaro.org>
1211 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1213 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1215 * gdb.threads/names.exp: New file.
1216 * gdb.threads/names.c: New file.
1217 * README: Mention gdb,no_thread_names.
1219 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1222 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1225 2015-11-24 Pedro Alves <palves@redhat.com>
1228 * gdb.base/display.exp: Expect displays to be sorted in ascending
1229 order. Use multi_line.
1230 * gdb.base/solib-display.exp: Likewise.
1232 2015-11-24 Pedro Alves <palves@redhat.com>
1235 * gdb.base/display.exp: Expect displays to be sorted in ascending
1236 order. Use multi_line.
1237 * gdb.base/solib-display.exp: Likewise.
1239 2015-11-24 Pedro Alves <palves@redhat.com>
1242 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1243 threads in ascending order.
1244 * gdb.base/foll-fork.exp: Likewise.
1245 * gdb.base/foll-vfork.exp: Likewise.
1246 * gdb.base/multi-forks.exp: Likewise.
1247 * gdb.mi/mi-nonstop.exp: Likewise.
1248 * gdb.mi/mi-nsintrall.exp: Likewise.
1249 * gdb.multi/base.exp: Likewise.
1250 * gdb.multi/multi-arch.exp: Likewise.
1251 * gdb.python/py-inferior.exp: Likewise.
1252 * gdb.threads/break-while-running.exp: Likewise.
1253 * gdb.threads/execl.exp: Likewise.
1254 * gdb.threads/gcore-thread.exp: Likewise.
1255 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1256 * gdb.threads/kill.exp: Likewise.
1257 * gdb.threads/linux-dp.exp: Likewise.
1258 * gdb.threads/multiple-step-overs.exp: Likewise.
1259 * gdb.threads/next-bp-other-thread.exp: Likewise.
1260 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1261 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1262 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1263 * gdb.threads/thread-find.exp: Likewise.
1264 * gdb.threads/tls.exp: Likewise.
1265 * lib/mi-support.exp (mi_reverse_list): Delete.
1266 (mi_check_thread_states): No longer reverse list.
1268 2015-11-24 Pedro Alves <palves@redhat.com>
1270 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1273 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1275 * gdb.trace/actions.c: Include trace-common.h.
1276 (main): Add a location for a fast tracepoint.
1277 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1278 the normal tracepoints.
1279 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1281 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1283 * save-trace.exp: Factor out code to these...
1284 (gdb_save_tracepoints): New.
1285 (gdb_load_tracepoints): New.
1286 (do_save_load_test): New.
1288 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1290 * gdb.base/asmlabel.exp: New test.
1291 * gdb.base/asmlabel.c: New test case.
1293 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1295 * gdb.base/wrong_frame_bt_full-main.c: New file.
1296 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1297 * gdb.base/wrong_frame_bt_full.exp: New file.
1299 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1301 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1303 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1305 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1306 pstate register when comparing registers values in
1307 sparc64-*-linux-gnu targets to avoid spurious differences.
1309 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1311 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1313 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1315 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1316 as type argument to gdb_compile.
1317 * gdb.base/nested-subp2.exp: Likewise.
1318 * gdb.base/nested-subp3.exp: Likewise.
1320 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1322 * lib/dwarf.exp (_note): Fix left shift of negative value.
1323 * gdb.trace/trace-condition.exp: Likewise.
1325 2015-11-13 Yao Qi <yao.qi@linaro.org>
1327 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1328 comments about d10v.
1329 (test_scalar_returns): Likewise.
1330 * gdb.base/d10v.ld: Remove.
1331 * gdb.base/overlays.exp: Remove the target triplet checking for
1333 * gdb.base/structs.exp (test_struct_returns): Remove the
1334 comments about d10v.
1335 (test_struct_calls): Likewise.
1337 2015-11-13 Yao Qi <yao.qi@linaro.org>
1339 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1340 * gdb.base/gnu_vector.c: Don't include stdio.h.
1341 (main): Don't print res and call add_some_intvecs.
1343 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1345 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1348 (func4): Use FAST_TRACEPOINT_LABEL.
1349 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1352 (thread_function): Use FAST_TRACEPOINT_LABEL.
1353 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1355 (marker): Use FAST_TRACEPOINT_LABEL.
1356 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1357 (pendfunc1): Remove.
1358 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1359 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1361 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1362 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1365 (marker): Use FAST_TRACEPOINT_LABEL.
1366 * gdb.trace/trace-common.h: New header.
1367 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1370 (marker): Use FAST_TRACEPOINT_LABEL.
1371 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1373 (thread_function): Use FAST_TRACEPOINT_LABEL.
1375 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1377 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1379 * gdb.trace/change-loc.exp: Use global pcreg definition.
1380 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1381 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1383 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1384 * gdb.trace/pending.exp: Likewise.
1385 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1386 * gdb.trace/trace-break.exp: Likewise.
1387 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1389 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1390 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1392 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1394 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1396 * gdb.ada/fin_fun_out: New testcase.
1398 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1400 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1401 value associated with DW_AT_byte_size.
1402 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1403 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1406 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1408 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1409 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1411 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1412 gdb.dwarf2/dw2-canonicalize-type.exp,
1413 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1414 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1415 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1416 provided by gdb_target_symbol_prefix_flags_asm.
1417 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1418 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1419 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1420 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1421 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1422 macros where needed). Use this macro for symbols which require
1423 the prefix provided by SYMBOL_PREFIX.
1425 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1427 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1429 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1430 representing expressions, of more than one list element.
1431 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1432 to prepend linker symbol prefix to f.
1433 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1434 table_1 and table_2.
1435 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1436 Likewise, for f and g.
1437 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1439 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1441 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1442 table_1_ptr and table_2_ptr.
1444 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1445 Joel Brobecker <brobecker@adacore.com>
1447 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1449 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1451 * gdb.reverse/s390-mvcle.c: New test.
1452 * gdb.reverse/s390-mvcle.exp: New file.
1453 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1455 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1457 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1459 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1461 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1463 * gdb.reverse/getresuid-reverse.exp: Likewise.
1464 * gdb.reverse/pipe-reverse.exp: Likewise.
1465 * gdb.reverse/readv-reverse.exp: Likewise.
1466 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1467 * gdb.reverse/time-reverse.exp: Likewise.
1468 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1470 2015-10-30 Yao Qi <yao.qi@linaro.org>
1472 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1473 (empty_cycle): Remove.
1474 (main): Don't call empty_cycle. Don't use watch_count_done.
1475 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1476 empty_cycle. Rewrite the code counting HW watchpoints.
1478 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1480 * gdb.reverse/fstatat-reverse.c: New test.
1481 * gdb.reverse/fstatat-reverse.exp: New file.
1482 * gdb.reverse/getresuid-reverse.c: New test.
1483 * gdb.reverse/getresuid-reverse.exp: New file.
1484 * gdb.reverse/pipe-reverse.c: New test.
1485 * gdb.reverse/pipe-reverse.exp: New file.
1486 * gdb.reverse/readv-reverse.c: New test.
1487 * gdb.reverse/readv-reverse.exp: New file.
1488 * gdb.reverse/recvmsg-reverse.c: New test.
1489 * gdb.reverse/recvmsg-reverse.exp: New file.
1490 * gdb.reverse/time-reverse.c: New test.
1491 * gdb.reverse/time-reverse.exp: New file.
1492 * gdb.reverse/waitpid-reverse.c: New test.
1493 * gdb.reverse/waitpid-reverse.exp: New file.
1495 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1497 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1499 2015-10-26 Doug Evans <dje@google.com>
1502 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1503 * gdb.dwarf2/bad-regnum.c: New file.
1504 * gdb.dwarf2/bad-regnum.exp: New file.
1506 2015-10-26 Doug Evans <dje@google.com>
1509 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1512 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1514 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1515 for a change by "Mention language in compile error message".
1517 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1520 * gdb.python/py-type.c (C::a_method): New.
1521 (C::a_const_method): New.
1522 (C::a_static_method): New.
1524 * gdb.python/py-type.exp (test_fields): Test getting fields
1525 from function and method.
1527 2015-10-21 Keven Boell <keven.boell@intel.com>
1529 * gdb.fortran/vla-alloc-assoc.exp: New file.
1530 * gdb.fortran/vla-datatypes.exp: New file.
1531 * gdb.fortran/vla-datatypes.f90: New file.
1532 * gdb.fortran/vla-history.exp: New file.
1533 * gdb.fortran/vla-ptype-sub.exp: New file.
1534 * gdb.fortran/vla-ptype.exp: New file.
1535 * gdb.fortran/vla-sizeof.exp: New file.
1536 * gdb.fortran/vla-sub.f90: New file.
1537 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1538 * gdb.fortran/vla-value-sub-finish.exp: New file.
1539 * gdb.fortran/vla-value-sub.exp: New file.
1540 * gdb.fortran/vla-value.exp: New file.
1541 * gdb.fortran/vla-ptr-info.exp: New file.
1542 * gdb.mi/mi-vla-fortran.exp: New file.
1543 * gdb.mi/vla.f90: New file.
1545 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1547 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1548 of hardwired timeout value.
1550 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1551 Pedro Alves <palves@redhat.com>
1553 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1554 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1556 2015-10-19 Josh Stone <jistone@redhat.com>
1558 * gdb.base/catch-syscall.c: Include <sched.h>.
1559 (unknown_syscall): New variable.
1560 (main): Trigger a vfork and an unknown syscall.
1561 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1562 (unknown_syscall_number): Likewise.
1563 (check_call_to_syscall): Accept an optional syscall pattern.
1564 (check_return_from_syscall): Likewise.
1565 (check_continue): Likewise.
1566 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1567 (test_catch_syscall_skipping_return): New test toggling off 'catch
1568 syscall' to step over the syscall return, then toggling back on.
1569 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1570 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1571 (do_syscall_tests): Call test_catch_syscall_without_args and
1572 test_catch_syscall_mid_vfork.
1573 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1574 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1576 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1578 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1579 print g_vE): Add new pass patterns.
1580 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1581 print various symbol names for vptr fields.
1583 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1585 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1588 2015-10-12 Yao Qi <yao.qi@linaro.org>
1590 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1592 2015-10-12 Yao Qi <yao.qi@linaro.org>
1594 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1595 is aarch64*-*-linux*.
1597 2015-10-12 Yao Qi <yao.qi@linaro.org>
1599 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1600 (can_relocate_bcond_true): ... it.
1601 (can_relocate_bcond_false): New function.
1603 (can_relocate_bl): Likewise.
1604 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1607 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1609 * gdb.base/nested-addr.c: New file.
1610 * gdb.base/nested-addr.exp: New testcase.
1612 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1614 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1615 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1616 its output. Ignore the output of "record goto begin" and instead
1617 check that GDB is replaying.
1619 2015-10-09 Pedro Alves <palves@redhat.com>
1621 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1622 (top level): Use it in the run with no args test.
1624 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1626 * gdb.dlang/properties.exp: New file.
1628 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1630 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1631 whether or not address 0x1000 is mapped on the target.
1633 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1635 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1638 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1640 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1641 instruction-history test.
1643 2015-09-28 Doug Evans <dje@google.com>
1645 * gdb.base/gcore.c (array_func): Add reference to static_array.
1647 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1649 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1652 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1654 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1655 short or char as base type.
1657 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1659 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1660 to allow any size enum.
1662 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1664 * gdb.ada/array_ptr_renaming.exp: New testcase.
1665 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1666 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1668 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1670 * gdb.trace/ftrace-lock.c: New file.
1671 * gdb.trace/ftrace-lock.exp: New file.
1673 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1675 * gdb.arch/insn-reloc.c: New file.
1676 * gdb.arch/ftrace-insn-reloc.exp: New file.
1678 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1680 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1682 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1683 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1684 * gdb.trace/range-stepping.c: Likewise.
1685 * gdb.trace/trace-break.c: Likewise.
1686 * gdb.trace/trace-mt.c (thread_function): Likewise.
1687 * gdb.trace/ftrace.c (marker): Likewise.
1688 * gdb.trace/trace-condition.c (marker): Likewise.
1689 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1690 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1693 2015-09-18 Doug Evans <xdje42@gmail.com>
1695 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1696 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1698 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1700 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1703 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1705 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1706 the pending breakpoint. Remove timeout override for "Run till
1707 MI pending breakpoint on pendfunc3 on thread 2" test.
1709 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1711 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1714 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1716 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1717 in breakpoint filename pattern.
1719 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1721 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1723 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1725 * gdb.linespec/explicit.exp: Check for readline support for
1726 tab-completion tests. Fix obvious typo.
1728 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1730 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1733 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1735 * gdb.btrace/non-stop.c: New.
1736 * gdb.btrace/non-stop.exp: New.
1738 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1739 Yao Qi <yao.qi@linaro.org>
1741 * gdb.trace/trace-condition.c: New file.
1742 * gdb.trace/trace-condition.exp: New file.
1744 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1746 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1747 for testing bytecode compilation.
1749 2015-09-16 Pedro Alves <palves@redhat.com>
1750 Sandra Loosemore <sandra@codesourcery.com>
1752 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1753 (SECONDS): Redefine.
1754 (main): Call pthread_kill and alarm early.
1755 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1757 (test): If the target can't hardware step and doesn't support
1758 displaced stepping, increase the timeout.
1760 2015-09-16 Pedro Alves <palves@redhat.com>
1762 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1763 (enable_debug): New procedures.
1764 (test): Use them. Bail out if waiting for threads fails.
1765 (top level): Bail out if a test fails.
1767 2015-09-16 Yao Qi <yao.qi@linaro.org>
1769 * gdb.asm/asm-source.exp: Set asm-arch for
1770 aarch64*-*-* target.
1771 * gdb.asm/aarch64.inc: New file.
1773 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1775 * gdb.ada/array_of_variable_length.exp: New testcase.
1776 * gdb.ada/array_of_variable_length/foo.adb: New file.
1777 * gdb.ada/array_of_variable_length/pck.adb: New file.
1778 * gdb.ada/array_of_variable_length/pck.ads: New file.
1780 2015-09-15 Doug Evans <dje@google.com>
1782 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1783 of function static local variable.
1785 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1787 * gdb.threads/tls-so_extern.exp: New test file.
1788 * gdb.threads/tls-so_extern.c: New test file.
1789 * gdb.threads/tls-so_extern_main.c: New test file.
1791 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1793 * gdb.opt/solib-intra-step-lib.c: New file.
1794 * gdb.opt/solib-intra-step-main.c: New file.
1795 * gdb.opt/solib-intra-step.exp: New file.
1797 2015-09-15 Pedro Alves <palves@redhat.com>
1799 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1800 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1802 2015-09-14 Pedro Alves <palves@redhat.com>
1804 * gdb.base/hook-stop-continue.c: Delete.
1805 * gdb.base/hook-stop-continue.exp: Delete.
1806 * gdb.base/hook-stop-frame.c: Delete.
1807 * gdb.base/hook-stop-frame.exp: Delete.
1808 * gdb.base/hook-stop.c: New file.
1809 * gdb.base/hook-stop.exp: New file.
1811 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1813 * gdb.ada/access_to_packed_array.exp: New testcase.
1814 * gdb.ada/access_to_packed_array/foo.adb: New file.
1815 * gdb.ada/access_to_packed_array/pack.adb: New file.
1816 * gdb.ada/access_to_packed_array/pack.ads: New file.
1818 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1820 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1823 2015-09-11 Don Breazeal <donb@codesourcery.com>
1825 * gdb.base/foll-exec.c: Add copyright header. Fix
1827 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1828 (do_exec_tests): Use clean_restart in place of zap_session,
1829 and for test initialization. Fix formatting issues. Use
1830 fail in place of perror.
1831 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1832 an expect statement to match an expression with output from
1833 the program under debug.
1834 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1835 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1836 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1837 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1838 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1840 2015-09-09 Doug Evans <dje@google.com>
1842 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1844 2015-09-09 Doug Evans <dje@google.com>
1846 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1848 2015-09-09 Doug Evans <dje@google.com>
1850 * gdb.base/savedregs.exp: Fix typo.
1852 2015-09-09 Pedro Alves <palves@redhat.com>
1854 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1856 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1858 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1859 command actually switches threads. Give up on remaining
1860 tests if target fails to stop at breakpoint.
1862 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1864 * gdb.ada/funcall_char.exp: New testcase.
1865 * gdb.ada/funcall_char/foo.adb: New file.
1867 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1869 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1870 expected outputs. Add two testcases for completing ambiguous
1872 * gdb.ada/complete/aux_pck.adb: New file.
1873 * gdb.ada/complete/aux_pck.ads: New file.
1874 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1875 Ambiguous_Func functions.
1876 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1877 * gdb.ada/complete/pck.adb: Likewise.
1879 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1881 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1882 failures to run the test program under GDB.
1884 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1886 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1889 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1891 * gdb.base/run-after-attach.exp: New test file.
1892 * gdb.base/run-after-attach.c: New test file.
1894 2015-08-26 Don Breazeal <donb@codesourcery.com>
1896 * gdb.base/foll-exec-2.c: New test program.
1897 * gdb.base/foll-exec-2.exp: New test.
1899 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1901 * gdb.base/nested-subp1.exp: New file.
1902 * gdb.base/nested-subp1.c: New file.
1903 * gdb.base/nested-subp2.exp: New file.
1904 * gdb.base/nested-subp2.c: New file.
1905 * gdb.base/nested-subp3.exp: New file.
1906 * gdb.base/nested-subp3.c: New file.
1908 2015-08-24 Pedro Alves <palves@redhat.com>
1910 * gdb.server/connect-without-multi-process.c: New file.
1911 * gdb.server/connect-without-multi-process.exp: New file.
1913 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1915 * gdb.opt/inline-markers.c: Make z int.
1917 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1919 * gdb.opt/inline-markers.c: Make z volatile.
1921 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1923 * gdb.opt/inline-bt.c: New volatile global z.
1924 * gdb.opt/inline-cmds.c: Likewise.
1925 * gdb.opt/inline-locals.c: Likewise.
1926 * gdb.opt/inline-markers.c: New extern global z.
1928 (inline_fn): Likewise.
1930 2015-08-24 Pedro Alves <palves@redhat.com>
1932 * config/m32r-stub.exp: Remove file.
1933 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
1934 * gdb.base/call-rt-st.exp: Likewise.
1935 * gdb.base/call-strs.exp: Likewise.
1936 * gdb.base/default.exp: Remove references to h8300-*-hms and
1938 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
1940 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
1942 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
1943 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
1944 and "return" use KFAIL when GDB can not read/write the vector
1947 2015-08-21 Gary Benson <gbenson@redhat.com>
1949 * gdb.trace/pending.exp: Cope with remote transfer warnings.
1951 2015-08-20 Pedro Alves <palves@redhat.com>
1953 * gdb.server/solib-list.exp: No longer expect an interior stop in
1956 2015-08-20 Pedro Alves <palves@redhat.com>
1958 * gdb.server/connect-stopped-target.c: New file.
1959 * gdb.server/connect-stopped-target.exp: New file.
1961 2015-08-20 Pedro Alves <palves@redhat.com>
1963 * gdb.dwarf2/comp-unit-lang.exp: New file.
1964 * gdb.dwarf2/comp-unit-lang.c: New file.
1966 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
1968 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
1969 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
1971 2015-08-19 Kevin Buettner <kevinb@redhat.com>
1973 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
1974 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
1976 2015-08-18 Doug Evans <dje@google.com>
1977 Adrian Sendroiu <adrian.sendroiu@freescale.com>
1979 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
1980 skip_python_tests. New arg prompt_regexp.
1981 (skip_python_tests): New function.
1982 * lib/mi-support.exp (mi_skip_python_tests): New function.
1983 * gdb.python/py-mi-objfile-gdb.py: New file.
1984 * gdb.python/py-mi-objfile.c: New file.
1985 * gdb.python/py-mi-objfile.exp: New file.
1987 2015-08-17 Keith Seitz <keiths@redhat.com>
1989 * gdb.linespec/explicit.exp: Move strace test from here ...
1990 * gdb.trace/strace.exp: ... to here.
1992 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
1994 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
1995 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
1997 2015-08-14 Doug Evans <xdje42@gmail.com>
1999 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2000 inferior before selecting a new file.
2002 2015-08-14 Doug Evans <xdje42@gmail.com>
2004 * gdb.mi/mi-disassemble.exp: Update.
2005 * gdb.base/disasm-optim.S: New file.
2006 * gdb.base/disasm-optim.c: New file.
2007 * gdb.base/disasm-optim.h: New file.
2008 * gdb.base/disasm-optim.exp: New file.
2010 2015-08-14 Keith Seitz <keiths@redhat.com>
2012 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2015 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2017 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2019 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2021 * gdb.ada/fun_renaming.exp: New testcase.
2022 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2023 * gdb.ada/fun_renaming/pack.adb: New file.
2024 * gdb.ada/fun_renaming/pack.ads: New file.
2026 2015-08-12 Keith Seitz <keiths@redhat.com>
2028 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2029 gdb_get_line_number.
2031 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2033 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2034 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2035 gdb.base/dso2dso.exp: New files.
2037 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2038 Pedro Alves <palves@redhat.com>
2039 Keith Seitz <keiths@redhat.com>
2041 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2044 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2046 * gdb.base/gdbhistsize-history.exp
2047 (test_histsize_history_setting): Use save_vars.
2048 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2050 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2051 * gdb.base/readline.exp: Use save_vars.
2053 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2055 * lib/gdb.exp (save_vars): New proc.
2057 2015-08-11 Keith Seitz <keiths@redhat.com>
2059 * gdb.base/help.exp: Update help_breakpoint_text.
2061 2015-08-11 Keith Seitz <keiths@redhat.com>
2063 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2064 (at toplevel): Call test_explicit_breakpoints.
2065 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2067 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2068 breakpoint conditions, "-cond".
2070 2015-08-11 Keith Seitz <keiths@redhat.com>
2072 * gdb.linespec/3explicit.c: New file.
2073 * gdb.linespec/cpexplicit.cc: New file.
2074 * gdb.linespec/cpexplicit.exp: New file.
2075 * gdb.linespec/explicit.c: New file.
2076 * gdb.linespec/explicit.exp: New file.
2077 * gdb.linespec/explicit2.c: New file.
2078 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2079 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2080 before using in the matching pattern.
2081 Clarify that `prefix' is a regular expression.
2083 2015-08-11 Keith Seitz <keiths@redhat.com>
2085 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2087 Add tests for missing ",FMT" and ",".
2089 2015-08-10 Doug Evans <dje@google.com>
2090 Keith Seitz <keiths@redhat.com>
2093 * gdb.base/completion.exp: Add location completer tests.
2095 2015-08-07 Pedro Alves <palves@redhat.com>
2097 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2099 (top level): Run do_test with and without displaced stepping.
2101 2015-08-07 Pedro Alves <palves@redhat.com>
2103 * gdb.base/valgrind-disp-step.c: New file.
2104 * gdb.base/valgrind-disp-step.exp: New file.
2106 2015-08-07 Pedro Alves <palves@redhat.com>
2108 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2110 (main): Add alarm. Run an infinite loop instead of calling
2112 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2114 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2116 (main): Add alarm. Run an infinite loop instead of calling
2118 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2121 2015-08-07 Pedro Alves <palves@redhat.com>
2123 * gdb.base/checkpoint-ns.exp: New file.
2124 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2127 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2129 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2130 * gdb.btrace/instruction_history.exp: Update.
2131 * gdb.btrace/tsx.exp: New.
2132 * gdb.btrace/tsx.c: New.
2134 2015-08-06 Pedro Alves <palves@redhat.com>
2136 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2138 * gdb.reverse/until-precsave.exp: Bump timeouts.
2140 2015-08-06 Pedro Alves <palves@redhat.com>
2142 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2144 2015-08-06 Pedro Alves <palves@redhat.com>
2147 * gdb.threads/process-dies-while-handling-bp.c: New file.
2148 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2150 2015-08-06 Pedro Alves <palves@redhat.com>
2152 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2153 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2155 2015-08-05 Pedro Alves <palves@redhat.com>
2157 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2158 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2160 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2162 * gdb.base/bp-permanent.exp: Report test as unsupported if
2163 the target cannot stop at the permanent breakpoint.
2165 2015-08-03 Doug Evans <dje@google.com>
2167 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2170 2015-08-03 Doug Evans <dje@google.com>
2172 * Makefile.in (workers/%.worker, build-perf): New rule.
2173 (GDB_PERFTEST_MODE): New variable.
2174 (check-perf): Use it.
2175 (clean): Clean up gdb.perf parallel build subdirs.
2176 * lib/build-piece.exp: New file.
2177 * lib/gdb.exp (make_gdb_parallel_path): New function
2178 (standard_output_file, standard_temp_file): Call it.
2179 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2181 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2183 2015-08-03 Doug Evans <dje@google.com>
2185 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2186 (LOG_FILE_NAME): New global.
2187 (TextReporter.__init__): Initialize self.txt_sum.
2188 (TextReporter.report): Add support for multiple data-points.
2189 Move report to perftest.sum, put raw data in perftest.log.
2190 (TextReporter.start): Open sum and log files.
2191 (TextReporter.end): Close sum and log files.
2192 * gdb.perf/lib/perftest/testresult.py
2193 (SingleStatisticTestResult.record): Handle multiple data-points.
2195 2015-07-31 Pedro Alves <palves@redhat.com>
2197 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2198 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2199 kill_wait_spawned_process instead of explicit "kill -9".
2200 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2201 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2202 kill_wait_spawned_process.
2203 * gdb.base/attach-twice.exp: Likewise.
2204 * gdb.base/attach.exp: Likewise.
2205 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2207 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2208 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2209 kill_wait_spawned_process.
2210 * gdb.base/valgrind-infcall.exp: Likewise.
2211 * gdb.multi/multi-attach.exp: Likewise.
2212 * gdb.python/py-prompt.exp: Likewise.
2213 * gdb.python/py-sync-interp.exp: Likewise.
2214 * gdb.server/ext-attach.exp: Likewise.
2215 * gdb.threads/attach-into-signal.exp (corefunc): Use
2216 spawn_wait_for_attach, spawn_id_get_pid and
2217 kill_wait_spawned_process.
2218 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2219 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2220 spawn_id_get_pid and kill_wait_spawned_process.
2221 * gdb.threads/attach-stopped.exp (corefunc): Use
2222 spawn_wait_for_attach, spawn_id_get_pid and
2223 kill_wait_spawned_process.
2224 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2225 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2226 kill_wait_spawned_process instead of explicit "kill -9".
2227 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2228 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2229 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2230 processes. Don't map cygwin/windows pids here. Now returns a
2233 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2235 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2236 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2239 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2241 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2243 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2246 2014-05-21 Mark Wielaard <mjw@redhat.com>
2248 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2250 2015-07-30 Pedro Alves <palves@redhat.com>
2252 * linux-low.c (handle_extended_wait): Set the child's last
2253 reported status to TARGET_WAITKIND_STOPPED.
2255 2015-07-30 Pedro Alves <palves@redhat.com>
2258 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2259 only shows inferior 1.
2261 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2262 Pedro Alves <palves@redhat.com>
2265 * gdb.threads/fork-plus-threads.c: New file.
2266 * gdb.threads/fork-plus-threads.exp: New file.
2268 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2270 * gdb.base/batch-preserve-term-settings.exp
2271 (test_terminal_settings_preserved_after_cli_exit): Use
2274 2015-07-29 Pedro Alves <palves@redhat.com>
2275 Don Breazeal <donb@codesourcery.com>
2277 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2278 output from both inferior_spawn_id and gdb_spawn_id.
2280 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2282 * gdb.threads/attach-into-signal.exp (corefunc): Use
2283 with_test_prefix on nested loops, uniquefying the test messages.
2285 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2287 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2290 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2292 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2294 (test_terminal_settings_preserved_after_sigterm): New test.
2296 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2298 * gdb.base/batch-preserve-term-settings.exp
2299 (test_terminal_settings_preserved_after_cli_exit): New test.
2301 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2303 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2304 manipulation of saved_gdbflags.
2305 (test_terminal_settings_preserved): Remove global declaration of
2306 the unused variable pagination_prompt. Remove manipulation of
2307 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2310 2015-07-29 Pedro Alves <palves@redhat.com>
2312 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2314 2015-07-29 Pedro Alves <palves@redhat.com>
2316 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2319 2015-07-29 Pedro Alves <palves@redhat.com>
2321 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2322 (main): Call gdb_unbuffer_output.
2323 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2324 (main): Call gdb_unbuffer_output.
2325 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2326 (main): Call gdb_unbuffer_output.
2327 * gdb.base/call-strs.exp: Adjust to step over the
2328 gdb_unbuffer_output call.
2329 * gdb.base/catch-gdb-caused-signals.c: Include
2330 "../lib/unbuffer_output.c".
2331 (main): Call gdb_unbuffer_output.
2332 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2333 (main): Call gdb_unbuffer_output.
2334 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2335 (main): Call gdb_unbuffer_output.
2336 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2337 (main): Call gdb_unbuffer_output.
2338 * gdb.base/shlib-call.exp: Adjust to step over the
2339 gdb_unbuffer_output call.
2340 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2341 (main): Call gdb_unbuffer_output.
2342 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2343 (main): Call gdb_unbuffer_output.
2344 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2345 (main): Rename to ...
2347 (main): Reimplement.
2348 * gdb.base/varargs.exp: Run to test instead of to main.
2349 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2350 (main): Call gdb_unbuffer_output.
2352 2015-07-29 Pedro Alves <palves@redhat.com>
2354 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2355 factore out from mi_continue_dprintf. For call-style dprintfs,
2356 expect dprintf output out of $inferior_spawn_id.
2357 (mi_continue_dprintf): Use mi_expect_dprintf.
2358 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2359 (main): Call gdb_unbuffer_output.
2361 2015-07-29 Pedro Alves <palves@redhat.com>
2363 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2364 (default_mi_gdb_start): Set inferior_spawn_id instead of
2365 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2367 (mi_gdb_test): Always expect inferior output from both
2368 $inferior_spawn_id and $gdb_spawn_id.
2370 2015-07-29 Pedro Alves <palves@redhat.com>
2372 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2373 send_inferior and $inferior_spawn_id.
2375 2015-07-29 Pedro Alves <palves@redhat.com>
2377 * gdb.gdb/complaints.exp (test_initial_complaints)
2378 (test_serial_complaints, test_short_complaints): Use
2380 (test_empty_complaint): Handle $inferior_spawn_id !=
2383 2015-07-29 Pedro Alves <palves@redhat.com>
2385 * gdb.base/varargs.exp: Use gdb_test_stdio.
2387 2015-07-29 Pedro Alves <palves@redhat.com>
2389 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2391 2015-07-29 Pedro Alves <palves@redhat.com>
2393 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2395 2015-07-29 Pedro Alves <palves@redhat.com>
2397 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2398 parameter into two new parameters, "inf_result" and "gdb_result".
2399 Expect inferior output and gdb output from $inferior_spawn_id and
2400 $gdb_spawn_id, respectively. Adjust all callers.
2402 2015-07-29 Pedro Alves <palves@redhat.com>
2404 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2405 of gdb_test_sequence.
2407 2015-07-29 Pedro Alves <palves@redhat.com>
2409 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2410 (saw_spurious_output): Expect inferior output from
2411 $inferior_spawn_id. Use gdb_test_stdio.
2413 2015-07-29 Pedro Alves <palves@redhat.com>
2415 * gdb.base/dprintf.exp: Use standard_testfile. Change
2416 prepare_for_testing call.
2417 (srcfile): Don't set.
2418 (restart): New procedure.
2419 (test_dprintf): New procecure, use to continue over dprintfs.
2420 (test_call, test_agent): New procedures, tests moved here.
2421 Restart gdb and recreate dprintfs. Adjust expected output.
2423 2015-07-29 Pedro Alves <palves@redhat.com>
2425 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2427 2015-07-29 Pedro Alves <palves@redhat.com>
2429 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2431 2015-07-29 Pedro Alves <palves@redhat.com>
2433 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2436 2015-07-29 Pedro Alves <palves@redhat.com>
2438 * lib/gdb.exp (gdb_test_stdio): New procedure.
2440 2015-07-29 Pedro Alves <palves@redhat.com>
2442 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2444 2015-07-29 Pedro Alves <palves@redhat.com>
2446 * gdb.base/call-signal-resume.exp: Remove check for
2447 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2448 * gdb.base/unwindonsignal.exp: Likewise.
2449 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2450 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2452 2015-07-29 Pedro Alves <palves@redhat.com>
2454 * gdb.base/siginfo-addr.c (pass): New function.
2455 (handler): Call it iff si_addr is correct.
2456 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2457 Set a breakpoint at "pass" and continue to it.
2459 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2461 * gdb.python/py-objfile.exp: Make some tests have unique names.
2462 * gdb.python/py-pp-registration.exp: Likewise.
2464 2015-07-28 Pedro Alves <palves@redhat.com>
2466 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2468 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2470 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2472 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2474 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2476 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2478 * gdb.base/gdb-sigterm-2.exp: New test.
2480 2015-07-25 Doug Evans <xdje42@gmail.com>
2483 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2484 (workers/%.worker, build-perf): New rule.
2485 (GDB_PERFTEST_MODE): New variable.
2486 (check-perf): Use it.
2487 (clean): Clean up gdb.perf parallel build subdirs.
2488 * lib/build-piece.exp: New file.
2489 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2490 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2492 (standard_temp_file): Ditto.
2493 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2496 2015-07-24 Doug Evans <dje@google.com>
2498 * gdb.perf/lib/perftest/utils.py: New file.
2499 * gdb.perf/gm-hello.cc: New file.
2500 * gdb.perf/gm-pervasive-typedef.cc: New file.
2501 * gdb.perf/gm-pervasive-typedef.h: New file.
2502 * gdb.perf/gm-std.cc: New file.
2503 * gdb.perf/gm-std.h: New file.
2504 * gdb.perf/gm-use-cerr.cc: New file.
2505 * gdb.perf/gm-utils.h: New file.
2506 * gdb.perf/gmonster-null-lookup.py: New file.
2507 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2508 * gdb.perf/gmonster-print-cerr.py: New file.
2509 * gdb.perf/gmonster-ptype-string.py: New file.
2510 * gdb.perf/gmonster-runto-main.py: New file.
2511 * gdb.perf/gmonster-select-file.py: New file.
2512 * gdb.perf/gmonster1-null-lookup.exp: New file.
2513 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2514 * gdb.perf/gmonster1-print-cerr.exp: New file.
2515 * gdb.perf/gmonster1-ptype-string.exp: New file.
2516 * gdb.perf/gmonster1-runto-main.exp: New file.
2517 * gdb.perf/gmonster1-select-file.exp: New file.
2518 * gdb.perf/gmonster1.cc: New file.
2519 * gdb.perf/gmonster1.exp: New file.
2520 * gdb.perf/gmonster2-null-lookup.exp: New file.
2521 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2522 * gdb.perf/gmonster2-print-cerr.exp: New file.
2523 * gdb.perf/gmonster2-ptype-string.exp: New file.
2524 * gdb.perf/gmonster2-runto-main.exp: New file.
2525 * gdb.perf/gmonster2-select-file.exp: New file.
2526 * gdb.perf/gmonster2.cc: New file.
2527 * gdb.perf/gmonster2.exp: New file.
2529 2015-07-24 Doug Evans <dje@google.com>
2531 * gdb.perf/README: New file.
2532 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2533 * lib/gen-perf-test.exp: New file.
2535 2015-07-24 Doug Evans <dje@google.com>
2537 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2538 (PerfTest::startup): New function.
2539 (PerfTest::run): Return result of calling body.
2540 (PerfTest::assemble): Rewrite.
2541 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2542 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2543 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2544 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2545 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2547 2015-07-24 Doug Evans <dje@google.com>
2549 * lib/gdb.exp (clean_restart): Make executable optional.
2551 2015-07-24 Doug Evans <dje@google.com>
2553 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2554 compiler_info references.
2555 * gdb.cp/temargs.exp: Ditto.
2556 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2557 (get_compiler_info): Early exit if already computed. Set compiler_info
2558 to "unknown" if there was a problem.
2559 (test_compiler_info): Add function comment. Call get_compiler_info.
2561 2015-07-24 Doug Evans <dje@google.com>
2563 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2564 (workers/%.worker, build-perf): New rule.
2565 (GDB_PERFTEST_MODE): New variable.
2566 (check-perf): Use it.
2567 (clean): Clean up gdb.perf parallel build subdirs.
2568 * lib/build-piece.exp: New file.
2569 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2570 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2572 (standard_temp_file): Ditto.
2573 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2576 2015-07-24 Doug Evans <dje@google.com>
2578 * lib/future.exp (gdb_default_target_compile): New option
2580 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2583 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2585 * gdb.base/catch-syscall.exp: Call gdb_exit before
2588 2015-07-24 Pedro Alves <palves@redhat.com>
2590 * gdb.python/py-events.exp: Accept output between the stop event
2592 * gdb.python/py-evsignal.exp: Likewise.
2593 * gdb.python/py-evthreads.exp: Likewise.
2595 2015-07-24 Pedro Alves <palves@redhat.com>
2598 * gdb.threads/non-ldr-exit.c: New file.
2599 * gdb.threads/non-ldr-exit.exp: New file.
2601 2015-07-24 Yao Qi <yao.qi@linaro.org>
2603 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2606 2015-07-24 Yao Qi <yao.qi@linaro.org>
2608 * gdb.server/ext-restart.exp: New file.
2610 2015-07-24 Yao Qi <yao.qi@linaro.org>
2612 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2614 * gdb.server/ext-wrapper.exp: New file.
2616 2015-07-23 Doug Evans <dje@google.com>
2618 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2619 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2621 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2623 * gdb.ada/var_arr_typedef.exp: New testcase.
2624 * gdb.ada/var_arr_typedef/pack.adb: New file.
2625 * gdb.ada/var_arr_typedef/pack.ads: New file.
2626 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2628 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2630 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2632 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2634 * gdb.arch/i386-biarch-core.exp: Replace istarget
2635 by "complete set gnutarget". Remove expectation for the "core-file"
2638 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2640 Revert the previous commit:
2641 Tests for validate symbol file using build-id.
2643 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2645 Tests for validate symbol file using build-id.
2646 * gdb.base/solib-mismatch-lib.c: New file.
2647 * gdb.base/solib-mismatch-libmod.c: New file.
2648 * gdb.base/solib-mismatch.c: New file.
2649 * gdb.base/solib-mismatch.exp: New file.
2651 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2653 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2655 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2656 * gdb.base/siginfo.exp: Likewise.
2657 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2659 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2661 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2663 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2665 * gdb.trace/range-stepping.exp: Check that the target supports
2668 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2670 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2672 2015-07-14 Pedro Alves <palves@redhat.com>
2674 * gdb.base/killed-outside.exp: New file.
2675 * gdb.base/killed-outside.c: New file.
2677 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2679 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2681 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2683 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2685 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2686 infcall tests instead of setting up for KFAIL.
2688 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2690 * gdb.btrace/record_goto-step.exp: New.
2692 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2695 * gdb.compile/compile.c (struct struct_type): Add volatile to
2697 * gdb.compile/compile.exp
2698 (compile code struct_object.selffield = &struct_object): Skip further
2699 struct_object tests if this one xfails.
2701 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2704 * gdb.trace/ax.exp: Add test.
2706 2015-07-07 Yao Qi <yao.qi@linaro.org>
2708 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2709 instead of istarget "aarch64*-*-*".
2710 * gdb.arch/aarch64-fp.exp: Likewise.
2711 * gdb.base/float.exp: Likewise.
2712 * gdb.reverse/aarch64.exp: Likewise.
2713 * lib/gdb.exp (is_aarch64_target): New proc.
2715 2015-07-07 Yao Qi <yao.qi@linaro.org>
2717 * lib/gdb.exp (is_aarch32_target): New proc.
2718 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2719 instead of "istarget "arm*-*-*"".
2720 * gdb.arch/arm-disp-step.exp: Likewise.
2721 * gdb.arch/thumb-bx-pc.exp: Likewise.
2722 * gdb.arch/thumb-prologue.exp: Likewise.
2723 * gdb.arch/thumb-singlestep.exp: Likewise.
2724 * gdb.base/disp-step-syscall.exp: Likewise.
2725 * gdb.base/float.exp: Likewise.
2727 2015-07-07 Yao Qi <yao.qi@linaro.org>
2729 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2730 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2732 2015-07-07 Yao Qi <yao.qi@linaro.org>
2734 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2735 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2737 * gdb.multi/multi-arch.exp: Likewise.
2739 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2741 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2744 2015-07-07 Yao Qi <yao.qi@linaro.org>
2746 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2748 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2750 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2751 '[' and ']' characters.
2753 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2755 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2757 2015-06-29 Pedro Alves <palves@redhat.com>
2760 * gdb.threads/hand-call-new-thread.c: New file.
2761 * gdb.threads/hand-call-new-thread.c: New file.
2763 2015-06-26 Keith Seitz <keiths@redhat.com>
2764 Doug Evans <dje@google.com>
2767 * gdb.cp/var-tag-2.cc: New file.
2768 * gdb.cp/var-tag-3.cc: New file.
2769 * gdb.cp/var-tag-4.cc: New file.
2770 * gdb.cp/var-tag.cc: New file.
2771 * gdb.cp/var-tag.exp: New file.
2773 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2775 * gdb.base/history-duplicates.exp: New test.
2777 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2779 * gdb.base/completion.exp: Test the completion of the "focus"
2782 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2784 * gdb.arch/amd64-prologue-skip.S: New file.
2785 * gdb.arch/amd64-prologue-skip.exp: New file.
2787 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2789 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2790 is_address_zero_readable check.
2792 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2794 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2795 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2797 2015-06-24 Yao Qi <yao.qi@linaro.org>
2799 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2802 2015-06-24 Yao Qi <yao.qi@linaro.org>
2804 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2805 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2806 * gdb.base/siginfo-thread.exp: Likewise.
2808 2015-06-22 Yao Qi <yao.qi@linaro.org>
2810 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2812 2015-06-22 Yao Qi <yao.qi@linaro.org>
2814 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2816 (skip_hw_watchpoint_tests): Likewise.
2818 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2820 * gdb.base/gdbinit-history.exp: Test the interaction between
2821 setting GDBHISTSIZE and setting the history size via .gdbinit.
2823 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2826 * gdb.base/gdbhistsize-history.exp: New test.
2828 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2830 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2832 * gdb.base/readline.exp: Likewise.
2834 2015-06-17 Yao Qi <yao.qi@linaro.org>
2836 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2839 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2841 * gdb.base/gdbinit-history.exp: Add test case to check that
2842 an unlimited history file does not get truncated on exit.
2844 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2846 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2847 (VECTOR): New macro. Use it...
2848 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2849 ...for these typedefs.
2850 (int8, char1, int1, double1): New typedefs.
2851 (struct just_int2, struct two_int2): New structures.
2852 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2853 (add_structvecs, add_singlevecs): New functions.
2854 (main): Call add_some_intvecs twice.
2855 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2856 the compile and exit upon failure. Try compiling for the "native"
2857 architecture. Test inferior function calls with vector arguments
2858 and vector return value handling with "finish" and "return".
2860 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2862 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2863 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2865 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2867 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2869 PR breakpoints/16465
2870 * gdb.mi/mi-dprintf-pending.c: New file.
2871 * gdb.mi/mi-dprintf-pending.exp: New test.
2872 * gdb.mi/mi-dprintf-pendshr.c: New file.
2874 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2875 Mircea Gherzan <mircea.gherzan@intel.com>
2877 * gdb.arch/i386-mpx-map.c: New file.
2878 * gdb.arch/i386-mpx-map.exp: New File.
2880 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2882 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2883 * gdb.arch/i386-mpx.exp: Indentation fixed.
2885 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2887 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2888 function and improved indentation.
2889 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2890 gdb_test_multiple. Added additional tests to skip the test.
2892 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2894 * gdb.arch/i386-avx512.c: Change path in include file.
2895 * gdb.arch/i386-avx512.exp: Change include dir path
2897 * gdb.arch/i386-mpx.c: Change path in include file.
2898 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2901 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2903 * gdb.compile/compile-print.exp (compile print *vararray@3)
2904 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2906 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2908 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2909 (do not keep jit in memory): ... this.
2910 (expect 5): Change it to ...
2911 (expect no 5): ... this.
2913 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2916 * gdb.mi/mi-detach.exp: New file.
2918 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2921 * gdb.arch/amd64-tailcall-self.S: New file.
2922 * gdb.arch/amd64-tailcall-self.c: New file.
2923 * gdb.arch/amd64-tailcall-self.exp: New file.
2925 2015-05-28 Don Breazeal <donb@codesourcery.com>
2927 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
2928 tests for remote targets by checking is_target_gdbserver.
2930 2015-05-27 Doug Evans <dje@google.com>
2932 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
2933 * gdb.dwarf2/opaque-type-lookup.c: New file.
2934 * gdb.dwarf2/opaque-type-lookup.exp: New file.
2936 2015-05-26 Doug Evans <dje@google.com>
2938 * gdb.cp/iostream.cc: New file.
2939 * gdb.cp/iostream.exp: New file.
2941 2015-05-26 Doug Evans <dje@google.com>
2943 * gdb.dwarf2/dw2-op-call.exp: Update.
2944 * gdb.dwarf2/dw4-sig-types.exp: Update.
2945 * gdb.dwarf2/implptr.exp: Update.
2946 * gdb.mi/mi-cmd-param-changed.exp: Update.
2948 2015-05-26 Doug Evans <dje@google.com>
2950 * gdb.python/py-lazy-string.c: New file.
2951 * gdb.python/py-lazy-string.exp: New file.
2952 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
2953 (main): Update. Add estring3.
2954 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
2955 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
2957 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2958 Yao Qi <yao.qi@linaro.org>
2960 * gdb.reverse/aarch64.c: New.
2961 * gdb.reverse/aarch64.exp: New.
2963 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
2965 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
2966 (supports_reverse): Likewise.
2968 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
2970 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2971 Use with_test_prefix.
2973 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
2975 * gdb.base/completion.exp: Add test for completion of layout
2978 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
2980 * lib/gdb.exp (skip_tui_tests): New proc.
2981 * gdb.base/tui-layout.exp: Check skip_tui_tests.
2983 2015-05-19 Pedro Alves <palves@redhat.com>
2985 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2986 Save the whole env array instead of just HOME. Unset HISTSIZE in
2987 the environment while testing. Restore whole environment
2990 2015-05-16 Doug Evans <xdje42@gmail.com>
2992 * gdb.guile/scm-ports.c: New file.
2993 * gdb.guile/scm-ports.exp: Add memory port tests.
2995 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2997 * gdb.compile/compile-print.c: New file.
2998 * gdb.compile/compile-print.exp: New file.
3000 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3002 * gdb.compile/compile-ops.exp: Cast param to void.
3003 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3004 (compile code struct_object.selffield = &struct_object): Add xfail.
3006 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3008 * gdb.ada/arr_enum_with_gap: New testcase.
3010 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3012 * gdb.ada/byte_packed_arr: New testcase.
3014 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3016 * gdb.ada/pckd_neg: New testcase.
3018 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3021 * gdb.base/gdbinit-history.exp: New test.
3022 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3023 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3025 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3027 * gdb.python/py-xmethods.cc: Enhance test case.
3028 * gdb.python/py-xmethods.exp: New tests.
3029 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3031 (B_indexoper): Likewise.
3032 (global_dm_list) : Add new xmethod worker functions.
3034 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3036 * gdb.base/coredump-filter.exp: Correctly unset
3037 "coredump_var_addr" array.
3039 2015-05-08 Pedro Alves <palves@redhat.com>
3041 * gdb.server/non-existing-program.exp: Unset spawn_id.
3043 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3046 * gdb.python/py-xmethods.exp: Add tests.
3048 2015-05-08 Yao Qi <yao.qi@linaro.org>
3051 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3052 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3053 function set_coredump_filter, and remove remote_exec call.
3054 Remove argument ipid. Callers update.
3055 (top level): Don't get inferior's PID.
3057 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3059 * gdb.base/watch_thread_num.exp: Skip test on targets without
3062 2015-05-06 Pedro Alves <palves@redhat.com>
3065 * gdb.server/non-existing-program.exp: New file.
3067 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3069 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3071 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3073 * gdb.ada/out_of_line_in_inlined: New testcase.
3075 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3077 * gdb.ada/var_rec_arr: New testcase.
3079 2015-04-30 Yao Qi <yao.qi@linaro.org>
3081 * gdb.base/break-idempotent.exp: If
3082 skip_hw_watchpoint_multi_tests returns true, skip the tests
3083 on "rwatch" and "awatch".
3085 2015-04-30 Yao Qi <yao.qi@linaro.org>
3087 * gdb.base/relativedebug.exp: Invoke gdb command
3088 "info sharedlibrary", and if libc.so doesn't have debug info,
3091 2015-04-29 Doug Evans <dje@google.com>
3093 * gdb.python/py-xmethods.exp: Add ptype tests.
3094 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3095 get_result_type method.
3097 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3099 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3100 the target does not support hardware watchpoints.
3102 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3104 * gdb.base/break-always.exp: Abort testing if writing to memory
3107 2015-04-28 Doug Evans <dje@google.com>
3109 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3110 * gdb.python/py-pp-registration.exp: ... here. New file.
3111 * gdb.python/py-pp-registration.c: New file.
3112 * gdb.python/py-pp-registration.py: New file.
3114 2015-04-28 Doug Evans <dje@google.com>
3116 * gdb.python/py-bad-printers.c: New file.
3117 * gdb.python/py-bad-printers.py: New file.
3118 * gdb.python/py-bad-printers.exp: New file.
3120 2015-04-28 Sasha Smundak <asmundak@google.com>
3122 * gdb.python/py-type.exp: New test.
3124 2015-04-28 Andy Wingo <wingo@igalia.com>
3126 * gdb.python/py-parameter.exp:
3127 * gdb.guile/scm-parameter.exp: Escape the path that we are
3128 matching against, as it might contain characters that are special
3129 to regular expressions.
3131 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3133 * gdb.ada/rec_comp: New testcase.
3135 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3137 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3140 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3142 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3143 new tests for verilog output.
3145 2015-04-24 Yao Qi <yao.qi@linaro.org>
3147 * boards/remote-gdbserver-on-localhost.exp: New file.
3149 2015-04-23 Pedro Alves <palves@redhat.com>
3151 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3152 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3153 "end of file", remove $inferior_spawn_id from the indirect list.
3155 2015-04-23 Pedro Alves <palves@redhat.com>
3157 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3159 2015-04-23 Pedro Alves <palves@redhat.com>
3161 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3162 on $any_spawn_id instead of only on $gdb_spawn_id.
3164 2015-04-21 Pierre Muller <muller@sourceware.org>
3167 * lib/pascal.exp (gpc_compile): Add new option "class".
3168 (fpc_compile): Likewise.
3169 * gdb.pascal/case-insensitive-symbols.pas: New file.
3170 * gdb.pascal/case-insensitive-symbols.exp: New file.
3172 2015-04-20 Gary Benson <gbenson@redhat.com>
3174 * gdb.base/attach.exp: Fix three extended remote failures.
3176 2015-04-17 Gary Benson <gbenson@redhat.com>
3178 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3179 the main executable over the remote protocol.
3181 2015-04-16 Pedro Alves <palves@redhat.com>
3183 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3184 a new gdbserver if gdbserver_reconnect_p is set.
3186 2015-04-16 Pedro Alves <palves@redhat.com>
3188 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3189 is set, don't exit gdbserver.
3191 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3193 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3194 appropriate .insn, such that an older assembler can be used.
3195 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3196 the z/Architecture instruction set on 31-bit targets as well.
3198 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3200 * gdb.go/handcall.exp: Remove all logic related to the first
3201 breakpoint and rely on go_runto_main instead.
3202 * gdb.go/strings.exp: Likewise.
3203 * gdb.go/unsafe.exp: Likewise.
3204 * gdb.go/hello.exp: Likewise. Also rename the remaining
3205 breakpoint marker to "breakpoint 1".
3206 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3207 * gdb.go/strings.go: Likewise.
3208 * gdb.go/unsafe.go: Likewise.
3209 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3210 "set breakpoint 2 here" and rename the remaining breakpoint marker
3213 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3215 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3216 if itertools.imap is not present.
3217 * gdb.python/py-objfile.exp: Add parentheses.
3218 * gdb.python/py-type.exp: Same.
3219 * gdb.python/py-unwind-maint.py: Same.
3221 2015-04-15 Yao Qi <yao.qi@linaro.org>
3223 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3224 of ":$ptr_size" and set its form explicitly.
3226 2015-04-15 Pedro Alves <palves@redhat.com>
3227 Yao Qi <yao.qi@linaro.org>
3229 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3230 timeout by factor of 4.
3231 (test_regular_watch): Likewise.
3232 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3233 * gdb.reverse/sigall-reverse.exp: Likewise.
3234 * gdb.reverse/until-precsave.exp: Likewise.
3235 * lib/gdb.exp (with_timeout_factor): New proc.
3236 (gdb_expect): Move some code to ...
3237 (get_largest_timeout): ... here. New procedure.
3239 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3241 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3243 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3245 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3246 to write to the .text section.
3248 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3250 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3251 Handle the case of targets that do not provide PID information.
3253 2015-04-13 Yao Qi <yao.qi@linaro.org>
3255 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3256 and use expect instead of gdb_expect.
3258 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3260 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3261 "coredump_var_addr" to avoid naming conflict with other testcases.
3263 2015-04-10 Pedro Alves <palves@redhat.com>
3265 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3266 gdb_test_sequence and gdb_assert.
3268 2015-04-10 Pedro Alves <palves@redhat.com>
3270 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3271 test messages that don't include the breakpoint address.
3273 2015-04-10 Yao Qi <yao.qi@linaro.org>
3275 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3276 false for some offset and width combinations which aren't
3277 supported by linux kernel.
3279 2015-04-10 Pedro Alves <palves@redhat.com>
3281 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3282 procedure, factored out from ...
3283 (top level): ... here. Add "set displaced-stepping" testing axis.
3284 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3285 parameter "displaced". Use it.
3286 (top level): Use foreach and add "set displaced-stepping" testing
3289 2015-04-10 Pedro Alves <palves@redhat.com>
3291 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3293 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3294 both the address of the instruction that triggers the watchpoint
3295 and the address of the instruction immediately after, and use
3296 those addresses for the test. Fix comment.
3298 2015-04-10 Pedro Alves <palves@redhat.com>
3300 * gdb.base/sigstep.exp (breakpoint_to_handler)
3301 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3302 Test "backtrace" in handler.
3303 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3304 (top level): Add new "displaced" test axis to
3305 breakpoint_to_handler, breakpoint_to_handler_entry and
3306 breakpoint_over_handler.
3308 2015-04-10 Pedro Alves <palves@redhat.com>
3311 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3313 2015-04-10 Yao Qi <yao.qi@linaro.org>
3315 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3316 (test_add_rn_pc): New function.
3317 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3318 (top level): Invoke test_add_rn_pc.
3320 2015-04-10 Pedro Alves <palves@redhat.com>
3323 * gdb.base/step-over-no-symbols.exp: New file.
3325 2015-04-09 Andy Wingo <wingo@igalia.com>
3327 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3328 after the Python tests.
3330 2015-04-08 Keith Seitz <keiths@redhat.com>
3333 * gdb.python/py-completion.exp: New tests for completion.
3334 * gdb.python/py-completion.py (CompleteLimit1): New class.
3335 (CompleteLimit2): Likewise.
3336 (CompleteLimit3): Likewise.
3337 (CompleteLimit4): Likewise.
3338 (CompleteLimit5): Likewise.
3339 (CompleteLimit6): Likewise.
3340 (CompleteLimit7): Likewise.
3342 2015-04-08 Pedro Alves <palves@redhat.com>
3346 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3348 (main): Install it as SIGUSR1 handler.
3349 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3350 parameter. Always use "setup" as prefix. Toggle "set
3351 displaced-stepping" off/on depending on global. Don't switch to
3353 (top level): Add displaced stepping "off/on" test axis. Update
3354 "setup" calls. Wrap each subtest with with_test_prefix. Test
3355 continuing with a queued signal in each thread.
3357 2015-04-08 Pedro Alves <palves@redhat.com>
3359 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3360 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3361 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3362 Return early if running to main fails.
3363 * gdb.trace/while-stepping.exp: Likewise.
3365 2015-04-07 Pedro Alves <palves@redhat.com>
3367 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3368 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3369 interact with inferior program.
3371 2015-04-07 Pedro Alves <palves@redhat.com>
3373 * lib/gdb.exp (inferior_spawn_id): New global.
3374 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3375 spawn id after processing the user code.
3376 (default_gdb_start): Set inferior_spawn_id.
3377 (send_inferior): New procedure.
3378 * lib/gdbserver-support.exp (gdbserver_start): Set
3380 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3382 2015-04-07 Pedro Alves <palves@redhat.com>
3384 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3385 * lib/gdbserver-support.exp (gdbserver_start): Make
3386 $server_spawn_id global.
3387 (gdbserver_start): Don't wait for gdbserver's spawn id with
3389 (close_gdbserver): New procedure.
3390 (gdb_exit): Rename the default version and reimplement.
3392 2015-04-07 Pedro Alves <palves@redhat.com>
3394 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3395 append the substituted item, not the original item.
3397 2015-04-07 Pedro Alves <palves@redhat.com>
3399 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3402 2015-04-07 Pedro Alves <palves@redhat.com>
3404 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3405 output appearing once only.
3407 2015-04-07 Pedro Alves <palves@redhat.com>
3409 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3410 that doesn't expect anything. Return early if running to main
3413 2015-04-07 Yao Qi <yao.qi@linaro.org>
3415 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3416 (child_function): Call alarm.
3417 (main): Move call to alarm into the loop.
3418 * gdb.threads/non-stop-fair-events.exp: Build program with
3421 2015-04-06 Doug Evans <xdje42@gmail.com>
3423 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3424 Fix dest parameter to board_info.
3425 (fpc_compile): Ditto.
3426 (gdb_compile_pascal): Rename dest arg to destfile.
3428 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3430 * gdb.ada/funcall_ref.exp: New file.
3431 * gdb.ada/funcall_ref/foo.adb: New file.
3433 2015-04-02 Yao Qi <yao.qi@linaro.org>
3435 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3438 2015-04-02 Gary Benson <gbenson@redhat.com>
3440 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3442 2015-04-01 Sasha Smundak <asmundak@google.com>
3444 * gdb.python/py-unwind-maint.c: New file.
3445 * gdb.python/py-unwind-maint.exp: New test.
3446 * gdb.python/py-unwind-maint.py: New file.
3447 * gdb.python/py-unwind.c: New file.
3448 * gdb.python/py-unwind.exp: New test.
3449 * gdb.python/py-unwind.py: New test.
3451 2015-04-01 Pedro Alves <palves@redhat.com>
3453 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3454 to fail instead of non-existent $test.
3456 2015-04-01 Pedro Alves <palves@redhat.com>
3458 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3459 GDBFLAGS if not empty.
3461 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3463 * gdb.ada/complete.exp: Remove "multi_line".
3464 * gdb.ada/info_exc.exp: Remove "multi_line".
3465 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3466 * gdb.ada/ptype_field.exp: Remove "multi_line".
3467 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3468 * gdb.ada/tagged.exp: Remove "multi_line".
3469 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3471 * gdb.btrace/delta.exp: Likewise.
3472 * gdb.btrace/exception.exp: Likewise.
3473 * gdb.btrace/function_call_history.exp: Likewise.
3474 * gdb.btrace/instruction_history.exp: Likewise.
3475 * gdb.btrace/nohist.exp: Likewise.
3476 * gdb.btrace/record_goto.exp: Likewise.
3477 * gdb.btrace/segv.exp: Likewise.
3478 * gdb.btrace/stepi.exp: Likewise.
3479 * gdb.btrace/tailcall.exp: Likewise.
3480 * gdb.btrace/unknown_functions.exp: Likewise.
3481 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3482 * lib/gdb.exp: Add the "multi_line" helper.
3484 2015-04-01 Pedro Alves <palves@redhat.com>
3486 * gdb.threads/tid-reuse.c: New file.
3487 * gdb.threads/tid-reuse.exp: New file.
3489 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3492 * gdb.base/coredump-filter.c: New file.
3493 * gdb.base/coredump-filter.exp: Likewise.
3495 2015-03-27 Petr Machata <pmachata@redhat.com>
3497 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3498 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3499 (Dwarf::assemble): Initialize them.
3500 (Dwarf::lines): New function.
3502 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3504 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3505 SYMBOL_PREFIX for x86_64-*-cygwin.
3507 2015-03-26 Andy Wingo <wingo@igalia.com>
3510 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3511 const_value but not a location.
3512 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3513 location defined in non-main CUs are visible.
3515 2015-03-26 Yao Qi <yao.qi@linaro.org>
3518 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3519 Add a line number entry for the same line.
3520 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3521 Add a line number entry for the same line.
3523 2015-03-26 Yao Qi <yao.qi@linaro.org>
3525 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3527 (func): Likewise. Add .Lfunc_1 label.
3529 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3534 2015-03-26 Yao Qi <yao.qi@linaro.org>
3536 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3537 Call gdb_compile instead to compile each .s files without debug
3540 2015-03-26 Yao Qi <yao.qi@linaro.org>
3542 * gdb.base/savedregs.exp (process_saved_regs): Make
3543 "Saved registers:" optional in the pattern.
3545 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3547 * gdb.btrace/next.exp: Merged into step.exp.
3548 * gdb.btrace/finish.exp: Merged into step.exp.
3549 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3550 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3551 "record goto" and checking the exact replay position.
3552 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3553 check for "Recording format" in "info record" output.
3554 * gdb.btrace/record_goto.exp: Choose test file based on target.
3555 * gdb.btrace/x86-record_goto.S: Renamed into ...
3556 * gdb.btrace/x86_64-record_goto.S: ... this.
3557 * gdb.btrace/i686-record_goto.S: New.
3558 * gdb.btrace/x86-tailcall.S: Renamed into ...
3559 * gdb.btrace/x86_64-tailcall.S: ... this.
3560 * gdb.btrace/i686-tailcall.S: New.
3561 * gdb.btrace/x86-tailcall.c: Renamed into ...
3562 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3563 separate statements. Update test.
3564 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3565 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3566 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3567 * gdb.btrace/tailcall.exp: Choose test file based on target.
3568 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3570 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3572 * gdb.btrace/exception.exp: Increase BTS buffer size.
3574 2015-03-24 Pedro Alves <palves@redhat.com>
3576 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3578 2015-03-24 Pedro Alves <palves@redhat.com>
3580 * gdb.threads/schedlock.exp (test_step): No longer expect that
3581 "set scheduler-locking step" with "next" over a function call runs
3584 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3586 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3588 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3590 PR breakpoints/16466
3591 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3592 * gdb.mi/mi-pending.c (thread_func): New function.
3593 (int main): Add threading support required.
3594 * gdb.mi/mi-pending.exp: Add tests for this issue.
3595 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3596 (pendfunc2): Remove stdio dependency.
3597 * gdb.mi/mi-pendshr2.c: New file.
3599 2015-03-23 Keith Seitz <keiths@redhat.com>
3601 * gdb.linespec/keywords.c: New file.
3602 * gdb.linespec/keywords.exp: New file.
3604 2015-03-23 Keith Seitz <keiths@redhat.com>
3607 * gdb.dwarf2/staticvirtual.exp: New test.
3609 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3611 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3612 * README: Remove HP-UX and gdb.hp.
3614 * configure: Regenerate.
3615 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3616 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3617 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3618 gdb.hp/gdb.defects/Makefile.
3619 * gdb.hp/Makefile.in: File deleted.
3620 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3621 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3622 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3623 * gdb.hp/gdb.aCC/run.c: File deleted.
3624 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3625 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3626 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3627 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3628 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3629 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3630 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3631 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3632 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3633 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3634 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3635 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3636 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3637 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3638 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3639 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3640 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3641 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3642 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3643 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3644 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3645 * gdb.hp/gdb.compat/average.c: File deleted.
3646 * gdb.hp/gdb.compat/sum.c: File deleted.
3647 * gdb.hp/gdb.compat/xdb.c: File deleted.
3648 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3649 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3650 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3651 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3652 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3653 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3654 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3655 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3656 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3657 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3658 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3659 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3660 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3661 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3662 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3663 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3664 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3665 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3666 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3667 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3668 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3669 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3670 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3671 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3672 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3673 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3674 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3675 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3676 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3677 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3678 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3679 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3680 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3681 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3682 * gdb.hp/tools/odump: File deleted.
3684 2015-03-19 Pedro Alves <palves@redhat.com>
3686 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3687 (saw_thread_3): New globals.
3688 (top level): Increment them when an event for the corresponding
3690 (no thread starvation): New test.
3692 2015-03-19 Pedro Alves <palves@redhat.com>
3694 * gdb.threads/continue-pending-status.c: New file.
3695 * gdb.threads/continue-pending-status.exp: New file.
3697 2015-03-18 Pedro Alves <palves@redhat.com>
3699 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3700 Use gdb_is_target_remote instead of is_remote. Use
3701 gdb_test_multiple instead of gdb_expect. Exit early if
3702 gdb_test_multiple hits its internal matches. Tighten stepi tests
3703 expected output. Fail on exit with any signal, instead of just
3706 2015-03-18 Yao Qi <yao.qi@linaro.org>
3709 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3711 * gdb.base/catch-syscall.exp: Don't skip it on
3712 aarch64*-*-linux* target. Remove elements in all_syscalls.
3713 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3715 (setup_all_syscalls): New proc.
3717 2015-03-16 Yao Qi <yao.qi@linaro.org>
3719 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3720 (top level): Skip tests if valid_addr_p returns false for
3723 2015-03-11 Andy Wingo <wingo@igalia.com>
3725 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3727 2015-03-11 Yao Qi <yao.qi@linaro.org>
3729 * gdb.base/catch-syscall.exp: Fix typo in comments.
3731 2015-03-11 Yao Qi <yao.qi@linaro.org>
3733 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3735 2015-03-09 Pedro Alves <palves@redhat.com>
3737 * dg-extract-results.py: Delete.
3739 2015-03-09 Pedro Alves <palves@redhat.com>
3741 Merge dg-extract-results.sh from GCC upstream (r218843).
3743 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3744 * dg-extract-results.sh: Use --text with grep to avoid issues with
3745 binary files. Fall back to cat -v, if that doesn't work.
3747 2015-03-05 Pedro Alves <palves@redhat.com>
3749 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3751 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3753 * lib/mi-support.exp (mi_expect_interrupt): Accept
3754 alternative event for when in all-stop mode.
3756 2015-03-04 Pedro Alves <palves@redhat.com>
3758 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3760 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3762 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3764 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3766 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3767 regexps for GDB's current line display, accept a hex address
3768 preceding the line number.
3770 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3772 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3773 the 'arch1' variable for "s390*-linux*" targets.
3775 2015-03-04 Pedro Alves <palves@redhat.com>
3777 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3778 (main): Pass missing retval argument to pthread_join call.
3780 2015-03-02 Pedro Alves <palves@redhat.com>
3782 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3783 (top level): Call do_test with non-stop as well.
3785 2015-03-02 Pedro Alves <palves@redhat.com>
3787 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3790 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3792 * gdb.arch/s390-vregs.exp: New test.
3793 * gdb.arch/s390-vregs.S: New file.
3795 2015-02-27 Pedro Alves <palves@redhat.com>
3797 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3798 call to catch_command_errors.
3799 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3800 catch_command_errors.
3802 2015-02-27 Pedro Alves <palves@redhat.com>
3804 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3805 "true" for boolean result.
3806 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3809 2015-02-27 Pedro Alves <palves@redhat.com>
3811 * lib/unbuffer_output.c: New file.
3812 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3813 (main): Call gdb_unbuffer_output.
3815 2015-02-27 Yao Qi <yao.qi@linaro.org>
3817 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3820 2015-02-26 Doug Evans <dje@google.com>
3822 * gdb.cp/class2.cc (Dbase, D): New classes.
3823 (main): New local delta.
3824 * gdb.cp/class2.exp: Test printing delta.
3825 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3826 (dynbar): New global.
3827 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3829 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3831 * gdb.compile/compile-ifunc.c: New file.
3832 * gdb.compile/compile-ifunc.exp: New file.
3834 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3836 * gdb.base/structs.exp: Check for correct struct on finish.
3838 2015-02-26 Yao Qi <yao.qi@linaro.org>
3840 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3843 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3845 * gdb.arch/cordic.ko.bz2: New file.
3846 * gdb.arch/cordic.ko.debug.bz2: New file.
3847 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3849 2015-02-25 Yao Qi <yao.qi@linaro.org>
3851 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3852 aarch64*-*-* target.
3854 2015-02-23 Pedro Alves <palves@redhat.com>
3856 * lib/gdb.exp (delete_breakpoints): Rewrite using
3859 2015-02-23 Pedro Alves <palves@redhat.com>
3861 * gdb.base/info-os.c: Include stdlib.h.
3863 2015-02-22 Doug Evans <xdje42@gmail.com>
3866 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3867 is read after symbols have been re-read.
3868 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3869 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3871 2015-02-21 Doug Evans <dje@google.com>
3873 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3875 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3878 * gdb.arch/i386-biarch-core.core.bz2: New file.
3879 * gdb.arch/i386-biarch-core.exp: New file.
3881 2015-02-21 Pedro Alves <palves@redhat.com>
3883 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3886 2015-02-20 Pedro Alves <palves@redhat.com>
3888 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3891 2015-02-20 Pedro Alves <palves@redhat.com>
3893 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3895 2015-02-20 Pedro Alves <palves@redhat.com>
3897 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3898 clean_restart before gdb_target_supports_trace.
3900 2015-02-20 Pedro Alves <palves@redhat.com>
3903 * gdb.threads/clone-thread_db.c: New file.
3904 * gdb.threads/clone-thread_db.exp: New file.
3906 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3908 PR breakpoints/16812
3909 * gdb.base/catch-gdb-caused-signals.c: New file.
3910 * gdb.base/catch-gdb-caused-signals.exp: New file.
3912 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3914 * configure: Regenerated.
3915 * configure.ac: Use GDB_AC_TRANSFORM.
3916 * aclocal.m4: sinclude ../transform.m4.
3918 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3920 * lib/dtrace.exp: New file.
3921 * gdb.base/dtrace-probe.exp: Likewise.
3922 * gdb.base/dtrace-probe.d: Likewise.
3923 * gdb.base/dtrace-probe.c: Likewise.
3924 * lib/pdtrace.in: Likewise.
3925 * configure.ac: Output variables with the transformed names of
3926 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
3927 * configure: Regenerated.
3929 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3931 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
3932 expected message when trying to access $_probe_* convenience
3933 variables while not on a probe.
3935 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
3937 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
3939 2015-02-11 Pedro Alves <pedro@codesourcery.com>
3941 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
3942 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
3944 2015-02-10 Doug Evans <xdje42@gmail.com>
3946 * lib/gdb.exp (gdb_load): Always return a result.
3948 2015-02-10 Pedro Alves <palves@redhat.com>
3950 * gdb.threads/signal-sigtrap.c: New file.
3951 * gdb.threads/signal-sigtrap.exp: New file.
3953 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
3955 * gdb.trace/no-attach-trace.c: New file.
3956 * gdb.trace/no-attach-trace.exp: New file.
3958 2015-02-09 Mark Wielaard <mjw@redhat.com>
3960 * gdb.dwarf2/atomic.c: New file.
3961 * gdb.dwarf2/atomic-type.exp: Likewise.
3963 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3965 * gdb.btrace/buffer-size.exp: Update "info record" output.
3966 * gdb.btrace/delta.exp: Update "info record" output.
3967 * gdb.btrace/enable.exp: Update "info record" output.
3968 * gdb.btrace/finish.exp: Update "info record" output.
3969 * gdb.btrace/instruction_history.exp: Update "info record" output.
3970 * gdb.btrace/next.exp: Update "info record" output.
3971 * gdb.btrace/nexti.exp: Update "info record" output.
3972 * gdb.btrace/step.exp: Update "info record" output.
3973 * gdb.btrace/stepi.exp: Update "info record" output.
3974 * gdb.btrace/nohist.exp: Update "info record" output.
3976 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3978 * gdb.btrace/buffer-size: New.
3980 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
3982 * gdb.btrace/delta.exp: Update "info record" output.
3983 * gdb.btrace/enable.exp: Update "info record" output.
3984 * gdb.btrace/finish.exp: Update "info record" output.
3985 * gdb.btrace/instruction_history.exp: Update "info record" output.
3986 * gdb.btrace/next.exp: Update "info record" output.
3987 * gdb.btrace/nexti.exp: Update "info record" output.
3988 * gdb.btrace/step.exp: Update "info record" output.
3989 * gdb.btrace/stepi.exp: Update "info record" output.
3990 * gdb.btrace/nohist.exp: Update "info record" output.
3992 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
3995 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
3997 2015-02-06 Pedro Alves <palves@redhat.com>
3999 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4001 (seconds_left, again): New globals.
4002 (main): Wait seconds_left in a 1-second sleep loop instead of
4003 sleeping 180 seconds. If 'again' is set, reset the seconds
4005 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4006 'again' in the inferior before detaching. Print the seconds left.
4007 (options): New global.
4008 (top level): Build program with -DTIMEOUT=$timeout.
4010 2015-02-06 Pedro Alves <palves@redhat.com>
4012 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4013 determine how many seconds to pass to 'alarm'.
4014 * gdb.base/gdb-sigterm.exp (top level): Build program with
4016 (do_test): Return success/failure indication. Add more verbose
4017 logging. Don't fail if 200 single steps are seen. Instead, fail
4018 when the test times out.
4019 (passes): New global.
4020 (top level): Break the testing loop if testing fails on any
4021 iteration. Use gdb_assert.
4023 2015-02-04 Don Breazeal <donb@codesourcery.com>
4025 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4026 and initialize them.
4027 (ipc_cleanup): New function.
4028 (main): Don't declare shmid, semid, and msqid. Add a call to
4029 atexit so that we call ipc_cleanup on exit.
4031 2015-02-04 Pedro Alves <palves@redhat.com>
4033 * boards/native-extended-gdbserver.exp: Remove any target variant
4034 specifications from the board name before clearing the isremote
4035 flag from board_info.
4037 2015-01-31 Doug Evans <xdje42@gmail.com>
4039 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4041 2015-01-31 Gary Benson <gbenson@redhat.com>
4043 * gdb.base/completion.exp: Disable completion limiting for
4044 existing tests. Add new tests to check completion limiting.
4045 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4047 2015-01-31 Doug Evans <xdje42@gmail.com>
4049 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4051 2015-01-31 Doug Evans <xdje42@gmail.com>
4053 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4054 entries. Duplicate file section script entries.
4055 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4056 inlined entries. Add test for safe-path rejection.
4057 * gdb.python/py-section-script.c: Add duplicate inlined section script
4058 entries. Duplicate file section script entries.
4059 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4060 inlined entries. Add test for safe-path rejection.
4062 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4064 * gdb.ada/disc_arr_bound: New testcase.
4066 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4068 * gdb.ada/mi_var_array: New testcase.
4070 2015-01-27 Doug Evans <dje@google.com>
4072 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4073 Add test for objfile.filename, objfile.username after objfile
4076 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4078 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4079 the second test to print the name attribute of value
4080 returned by the call to gdb.lookup_type, and adjust
4081 the expected output accordingly.
4083 2015-01-25 Mark Wielaard <mjw@redhat.com>
4085 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4086 * gdb.base/disp-step-fork.c: Include unistd.h.
4087 * gdb.base/siginfo-obj.c: Include stdio.h.
4088 * gdb.base/siginfo-thread.c: Likewise.
4089 * gdb.mi/non-stop.c: Include unistd.h.
4090 * gdb.mi/nsthrexec.c: Include stdio.h.
4091 * gdb.mi/pthreads.c: Include unistd.h.
4092 * gdb.modula2/unbounded1.c (main): Declare returns int.
4093 * gdb.reverse/consecutive-reverse.c: Likewise.
4094 * gdb.threads/create-fail.c: Include unistd.h.
4095 * gdb.threads/killed.c: Likewise.
4096 * gdb.threads/linux-dp.c: Likewise.
4097 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4098 * gdb.threads/non-ldr-exc-2.c: Likewise.
4099 * gdb.threads/non-ldr-exc-3.c: Likewise.
4100 * gdb.threads/non-ldr-exc-4.c: Likewise.
4101 * gdb.threads/pthreads.c: Include unistd.h.
4102 (main): Declare returns int.
4103 * gdb.threads/tls-main.c (foo): New declaration.
4104 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4106 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4108 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4109 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4111 2015-01-15 Mark Wielaard <mjw@redhat.com>
4113 * gdb.base/noreturn-return.c: New file.
4114 * gdb.base/noreturn-return.exp: New file.
4115 * gdb.base/noreturn-finish.c: New file.
4116 * gdb.base/noreturn-finish.exp: New file.
4118 2015-01-23 Pedro Alves <palves@redhat.com>
4120 * gdb.threads/continue-pending-after-query.c: New file.
4121 * gdb.threads/continue-pending-after-query.exp: New file.
4123 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4124 Simon Marchi <simon.marchi@ericsson.com>
4126 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4127 * gdb.base/valgrind-db-attach.exp: Same.
4128 * gdb.base/valgrind-infcall.exp: Same.
4129 * lib/mi-support.exp (default_mi_gdb_start): Same.
4130 * lib/prompt.exp (default_prompt_gdb_start): Same.
4131 * lib/gdb.exp (default_gdb_spawn): Same.
4132 (gdb_interact): New.
4135 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4137 * gdb.compile/compile.exp (pointer to jit function): New test.
4139 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4141 * lib/gdb.exp (supports_process_record): Return true for
4143 (supports_reverse): Likewise.
4145 2015-01-15 Don Breazeal <donb@codesourcery.com>
4147 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4148 instead of checking whether the target board is remote and
4149 use spawn_wait_for_attach instead of exec/sleep.
4150 * gdb.base/attach-twice.exp: Likewise.
4152 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4154 * gdb.ada/var_arr_attrs: New testcase.
4156 2015-01-14 Pedro Alves <palves@redhat.com>
4157 Joel Brobecker <brobecker@adacore.com>
4160 * gdb.base/bp-cmds-execution-x-script.c: New file.
4161 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4162 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4164 2015-01-14 Pedro Alves <palves@redhat.com>
4167 * gdb.base/batch-preserve-term-settings.c: New file.
4168 * gdb.base/batch-preserve-term-settings.exp: New file.
4170 2015-01-13 Doug Evans <dje@google.com>
4172 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4175 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4177 * Makefile.in (clean mostlyclean): Do not delete *.py.
4179 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4181 * gdb.python/py-lookup-type.exp: New file.
4183 2015-01-12 Pedro Alves <palves@redhat.com>
4185 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4186 restore GDBFLAGS before returning.
4188 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4190 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4191 is_amd64_regs_target and is_x86_like_target.
4193 2015-01-11 Doug Evans <xdje42@gmail.com>
4195 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4196 is given without an explicit form.
4197 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4199 * gdb.dwarf/corrupt.exp: Ditto.
4200 * gdb.dwarf2/enum-type.exp: Ditto.
4201 * gdb.trace/entry-values.exp: Ditto.
4202 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4204 2015-01-11 Doug Evans <xdje42@gmail.com>
4207 * gdb.base/maint.exp: Remove references to "maint demangle".
4208 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4209 Add tests for explicitly specifying language to demangle.
4210 * gdb.dlang/demangle.exp: Ditto.
4212 2015-01-09 Pedro Alves <palves@redhat.com>
4214 * gdb.threads/non-stop-fair-events.c: New file.
4215 * gdb.threads/non-stop-fair-events.exp: New file.
4217 2015-01-09 Pedro Alves <palves@redhat.com>
4219 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4220 the global scope. Set a breakpoint after all threads are started
4221 rather than stepping over two source lines. Expect the prompt.
4222 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4225 (main): Use threads_started_barrier to wait for all threads to
4226 start. Main thread no longer calls thread_function. Exit after
4228 (loop): New function.
4229 (thread_function): Wait on threads_started_barrier barrier. Call
4230 'loop' at each iteration.
4231 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4232 threads have started, instead of hardcoding number of "next"
4233 steps. Use an access watchpoint instead of a write watchpoint.
4235 2015-01-09 Pedro Alves <palves@redhat.com>
4237 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4238 (thread_func): Wait on barrier.
4239 (main): Wait for all threads to start before stopping GDB.
4240 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4242 (thread1_func, thread2_func): Wait on barrier.
4243 (main): Wait for all threads to start before stopping GDB.
4244 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4246 (thread1_func, thread2_func): Wait on barrier.
4247 (main): Wait for all threads to start before stopping GDB.
4249 2015-01-09 Pedro Alves <palves@redhat.com>
4251 * gdb.threads/attach-many-short-lived-threads.c: New file.
4252 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4254 2014-01-09 Pedro Alves <palves@redhat.com>
4256 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4257 instead of to thread 2.
4258 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4259 Add barrier around each pthread_create call instead of around all
4261 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4262 Set a break on thread_function and have the child threads hit it
4265 2015-01-09 Pedro Alves <palves@redhat.com>
4267 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4268 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4270 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4271 checking whether the target board is remote.
4272 * gdb.multi/multi-attach.exp: Likewise.
4273 * gdb.python/py-sync-interp.exp: Likewise.
4274 * gdb.server/ext-attach.exp: Likewise.
4275 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4276 tests that need to attach, instead of checking whether the target
4277 board is remote at the top of the file.
4279 2015-01-08 Yao Qi <yao@codesourcery.com>
4281 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4283 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4285 Fix testcase compilation.
4286 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4288 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4290 * gdb.python/py-type.exp: Add a couple test about empty
4291 array creation, and negative-length array creation.
4293 2015-01-02 Doug Evans <xdje42@gmail.com>
4295 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4297 2015-01-02 Doug Evans <dje@google.com>
4299 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4301 2014-12-29 Yao Qi <yao@codesourcery.com>
4303 * gdb.trace/entry-values.exp: Update comments. Rename variable
4304 bar_call_foo to returned_from_foo.
4306 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4309 * gdb.linespec/break-asm-file.c: New file.
4310 * gdb.linespec/break-asm-file.exp: New file.
4311 * gdb.linespec/break-asm-file0.s: New file.
4312 * gdb.linespec/break-asm-file1.s: New file.
4314 2014-12-18 Nigel Stephens <nigel@mips.com>
4315 Maciej W. Rozycki <macro@codesourcery.com>
4317 * gdb.base/float.exp: Handle the new output from "info float" on
4320 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4322 Fix MinGW compilation.
4323 * gdb.compile/compile-ops.exp: Update untested message if
4324 !skip_compile_feature_tests.
4325 * gdb.compile/compile-setjmp.exp: Likewise.
4326 * gdb.compile/compile-tls.exp: Likewise.
4327 * gdb.compile/compile.exp: Likewise.
4328 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4329 supported on this host".
4331 2014-12-16 Doug Evans <xdje42@gmail.com>
4333 * boards/stabs.exp: New file.
4335 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4337 * gdb.base/completion.exp: Adjust to format changes of "maint
4338 print user-registers".
4340 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4343 * gdb.arch/aarch64-fp.c: New file.
4344 * gdb.arch/aarch64-fp.exp: New file.
4346 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4348 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4349 r210637, r210913, r211666, r215400, r215817).
4351 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4352 * dg-extract-results.py: New file.
4353 * dg-extract-results.sh: Use it if the environment seems
4356 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4358 * dg-extract-results.py (parse_run): Handle warnings that
4359 are printed before a test harness is run.
4361 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4363 * dg-extract-results.py (Named): Remove __cmp__ method.
4364 (output_variation): Use a key to sort variation.harnesses.
4366 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4368 * dg-extract-results.py: For Python 3, force sys.stdout to
4369 handle surrogate escape sequences.
4370 (safe_open): New function.
4371 (output_segment, main): Use it.
4373 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4375 * dg-extract-results.py (Prog.result_re): Include options
4378 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4380 * dg-extract-results.py (output_variation): Always sort if
4383 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4385 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4386 as long as we get pagination notifications.
4388 2014-12-15 Jason Merrill <jason@redhat.com>
4390 * Makefile.in (check-gdb.%): Restore.
4391 * README: Mention it.
4393 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4395 * gdb.ada/str_uninit: New testcase.
4397 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4400 * gdb.base/vla-stub-define.c: New file.
4401 * gdb.base/vla-stub.c: New file.
4402 * gdb.base/vla-stub.exp: New file.
4404 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4405 Jan Kratochvil <jan.kratochvil@redhat.com>
4406 Tom Tromey <tromey@redhat.com>
4408 * configure.ac: Add gdb.compile/.
4409 * configure: Regenerate.
4410 * gdb.compile/Makefile.in: New file.
4411 * gdb.compile/compile-ops.exp: New file.
4412 * gdb.compile/compile-ops.c: New file.
4413 * gdb.compile/compile-tls.c: New file.
4414 * gdb.compile/compile-tls.exp: New file.
4415 * gdb.compile/compile-constvar.S: New file.
4416 * gdb.compile/compile-constvar.c: New file.
4417 * gdb.compile/compile-mod.c: New file.
4418 * gdb.compile/compile-nodebug.c: New file.
4419 * gdb.compile/compile-setjmp-mod.c: New file.
4420 * gdb.compile/compile-setjmp.c: New file.
4421 * gdb.compile/compile-setjmp.exp: New file.
4422 * gdb.compile/compile-shlib.c: New file.
4423 * gdb.compile/compile.c: New file.
4424 * gdb.compile/compile.exp: New file.
4425 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4427 2014-12-12 Tom Tromey <tromey@redhat.com>
4429 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4430 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4432 2014-12-12 Doug Evans <dje@google.com>
4434 * lib/gdb-python.exp (get_python_valueof): New function.
4435 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4437 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4439 * gdb.base/completion.exp: Add test for completion of "info
4442 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4444 * gdb.base/func-ptrs.c: New file.
4445 * gdb.base/func-ptrs.exp: New file.
4447 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4449 PR breakpoints/17012
4450 * gdb.base/dprintf-detach.c: New file.
4451 * gdb.base/dprintf-detach.exp: New file.
4453 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4455 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4456 * lib/gdb.exp (target_is_gdbserver): New procedure.
4458 2014-12-08 Doug Evans <dje@google.com>
4460 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4462 2014-12-05 Yao Qi <yao@codesourcery.com>
4464 * gdb.guile/scm-error.exp: Remove the third argument to
4465 gdb_remote_download.
4466 * gdb.guile/scm-frame-args.exp: Likewise.
4467 * gdb.guile/scm-section-script.exp: Likewise.
4469 2014-12-05 Yao Qi <yao@codesourcery.com>
4471 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4473 2014-12-04 Doug Evans <dje@google.com>
4475 * gdb.python/py-objfile.exp: Add tests for
4476 objfile.add_separate_debug_file.
4478 2014-12-04 Doug Evans <dje@google.com>
4480 * lib/gdb.exp (get_build_id): New function.
4481 (build_id_debug_filename_get): Rewrite to use it.
4482 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4484 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4486 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4487 `method(long)', not just 0x0.
4488 * gdb.cp/nsalias.exp: Align code labels to 4.
4489 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4490 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4491 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4492 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4493 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4494 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4496 2014-12-02 Doug Evans <dje@google.com>
4499 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4500 * gdb.cp/anon-ns2.cc: ... here. New file.
4501 * gdb.cp/anon-ns.exp: Update.
4503 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4505 * gdb.python/py-events.py (inferior_call_handler): New.
4506 (register_changed_handler, memory_changed_handler): New.
4507 (test_events.invoke): Register new handlers.
4508 * gdb.python/py-events.exp: Add tests for inferior call,
4509 memory_changed and register_changed events.
4511 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4513 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4514 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4515 if the linker doesn't understand this.
4517 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4519 * gdb.python/python.exp: Change expected reply to help().
4521 2014-12-01 Yao Qi <yao@codesourcery.com>
4523 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4524 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4525 * configure: Re-generated.
4527 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4529 * gdb.cp/chained-calls.cc: New file.
4530 * gdb.cp/chained-calls.exp: New file.
4531 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4533 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4535 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4536 * gdb.dwarf2/symtab-producer.exp: Same.
4537 * gdb.gdb/python-interrupts.exp: Same.
4538 * gdb.gdb/python-selftest.exp: Same.
4539 * gdb.python/py-linetable.exp: Same.
4540 * gdb.python/py-type.exp: Same.
4541 * gdb.python/py-value-cc.exp: Same.
4542 * gdb.python/py-value.exp: Same.
4544 2014-11-28 Yao Qi <yao@codesourcery.com>
4546 * gdb.base/break-probes.exp: Match library name prefixed with
4549 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4551 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4552 test expected output. Add parentheses for the call to print.
4553 Remove L suffix from integers.
4555 2014-11-26 Doug Evans <dje@google.com>
4557 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4559 2014-11-22 Yao Qi <yao@codesourcery.com>
4561 * gdb.trace/entry-values.c: Remove asms.
4562 (foo): Add foo_label.
4563 (bar): Add bar_label.
4564 * gdb.trace/entry-values.exp: Remove code computing foo's
4565 length and bar's length.
4566 (Dwarf::assemble): Invoke function_range for bar and use
4567 MACRO_AT_func for foo.
4569 2014-11-22 Yao Qi <yao@codesourcery.com>
4571 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4572 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4573 Use .Lgcc43_procstart instead of gcc43.
4575 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4577 * gdb.ada/n_arr_bound: New testcase.
4579 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4581 PR breakpoints/10737
4582 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4583 test_catch_syscall_multi_arch.
4584 (test_catch_syscall_multi_arch): New function.
4586 2014-11-20 Doug Evans <xdje42@gmail.com>
4588 * gdb.base/maint.exp: Update expected output.
4590 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4592 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4593 4-byte instruction on S390.
4595 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4597 * gdb.ada/arr_arr: New testcase.
4599 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4601 * gdb.ada/pkd_arr_elem: New Testcase.
4603 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4605 * gdb.reverse/break-precsave: Expect completion message for
4607 * gdb.reverse/consecutive-precsave.exp: Likewise.
4608 * gdb.reverse/finish-precsave.exp: Likewise.
4609 * gdb.reverse/i386-precsave.exp: Likewise.
4610 * gdb.reverse/machinestate-precsave.exp: Likewise.
4611 * gdb.reverse/sigall-precsave.exp: Likewise.
4612 * gdb.reverse/solib-precsave.exp: Likewise.
4613 * gdb.reverse/step-precsave.exp: Likewise.
4614 * gdb.reverse/until-precsave.exp: Likewise.
4615 * gdb.reverse/watch-precsave.exp: Likewise.
4617 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4619 * gdb.base/bp-permanent.c: Include unistd.h.
4620 * gdb.python/py-framefilter-mi.c (main): Add return type.
4621 * gdb.python/py-framefilter.c (main): Likewise.
4622 * gdb.trace/actions-changed.c (main): Likewise.
4624 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4626 * gdb.mi/until.c: Add eye-catchers.
4627 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4630 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4632 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4633 function header variants in break1.c.
4634 * gdb.base/ena-dis-br.exp: Likewise.
4635 * gdb.base/hbreak2.exp: Likewise.
4636 * gdb.reverse/until-precsave.exp: Drop references to removed
4637 non-prototype function header variants in ur1.c.
4638 * gdb.reverse/until-reverse.exp: Likewise.
4640 2014-11-17 Petr Machata <pmachata@redhat.com>
4642 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4643 ${_cu_offset_size} bytes abbrev offset.
4645 2014-11-15 Doug Evans <xdje42@gmail.com>
4648 * gdb.base/line-symtabs.exp: New file.
4649 * gdb.base/line-symtabs.c: New file.
4650 * gdb.base/line-symtabs.h: New file.
4652 2014-11-14 Yao Qi <yao@codesourcery.com>
4654 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4655 (func): Add label func_label.
4656 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4657 Replace low_pc and high_pc with MACRO_AT_range.
4658 Replace name, low_pc and high_pc with MACRO_AT_func.
4660 2014-11-14 Yao Qi <yao@codesourcery.com>
4662 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
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: Use Dwarf::assemble to
4668 produce debug information.
4669 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4671 2014-11-14 Yao Qi <yao@codesourcery.com>
4673 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4674 object and get function length.
4675 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4677 (top-level): Replace gdb_compile and clean_restart with
4678 prepare_for_testing.
4679 * gdb.dwarf2/main.c (main): Add label main_label.
4681 2014-11-14 Yao Qi <yao@codesourcery.com>
4683 * lib/dwarf.exp (function_range): New procedure.
4684 (Dwarf::_handle_macro_at_func): New procedure.
4685 (Dwarf::_handle_macro_at_range): New procedure.
4686 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4688 2014-11-14 Yao Qi <yao@codesourcery.com>
4690 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4691 (_handle_attribute): New procedure.
4693 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4695 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4696 * gdb.base/call-sc.c (zed): Likewise.
4697 * gdb.base/checkpoint.c (main): Likewise.
4698 * gdb.base/dump.c (main): Likewise.
4699 * gdb.base/gcore.c (main): Likewise.
4700 * gdb.base/huge.c (main): Likewise.
4701 * gdb.base/multi-forks.c (main): Likewise.
4702 * gdb.base/pr10179-a.c (main): Likewise.
4703 * gdb.base/savedregs.c (main): Likewise.
4704 * gdb.base/sigaltstack.c (main): Likewise.
4705 * gdb.base/siginfo.c (main): Likewise.
4706 * gdb.base/structs.c (zed): Likewise.
4707 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4708 * gdb.mi/mi-syn-frame.c (main): Likewise.
4709 * gdb.mi/until.c (foo, main): Likewise.
4710 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4711 * gdb.base/solib-weak.c (foo): Declare.
4712 * gdb.base/attach-twice.c: Include stdio.h.
4713 * gdb.base/weaklib1.c: Likewise.
4714 * gdb.base/weaklib2.c: Likewise.
4715 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4716 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4718 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4719 * gdb.mi/mi-exit-code.c: Likewise.
4720 * gdb.base/break-interp-lib.c: Include string.h.
4721 * gdb.base/coremaker.c: Likewise.
4722 * gdb.base/testenv.c: Likewise.
4723 * gdb.python/py-finish-breakpoint.c: Likewise.
4724 * gdb.base/inferior-died.c: Include sys/wait.h.
4725 * gdb.base/fileio.c: Include time.h.
4726 * gdb.base/async-shell.c: Include unistd.h.
4727 * gdb.base/dprintf-non-stop.c: Likewise.
4728 * gdb.base/info-os.c: Likewise.
4729 * gdb.mi/mi-console.c: Likewise.
4730 * gdb.mi/watch-nonstop.c: Likewise.
4731 * gdb.python/py-events.c: Likewise.
4732 * gdb.base/async.c (baz): Move up before its invocation.
4733 * gdb.base/code_elim2.c (my_global_func): Likewise.
4734 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4735 * gdb.base/advance.c (func2): Likewise.
4737 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4739 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4741 * gdb.base/annota3.c: Likewise.
4742 * gdb.base/async.c: Likewise.
4743 * gdb.base/average.c: Likewise.
4744 * gdb.base/call-ar-st.c: Likewise.
4745 * gdb.base/call-rt-st.c: Likewise.
4746 * gdb.base/call-sc.c: Likewise.
4747 * gdb.base/call-strs.c: Likewise.
4748 * gdb.base/ending-run.c: Likewise.
4749 * gdb.base/execd-prog.c: Likewise.
4750 * gdb.base/exprs.c: Likewise.
4751 * gdb.base/foll-exec.c: Likewise.
4752 * gdb.base/foll-fork.c: Likewise.
4753 * gdb.base/foll-vfork.c: Likewise.
4754 * gdb.base/funcargs.c: Likewise.
4755 * gdb.base/gcore.c: Likewise.
4756 * gdb.base/jump.c: Likewise.
4757 * gdb.base/langs0.c: Likewise.
4758 * gdb.base/langs1.c: Likewise.
4759 * gdb.base/langs2.c: Likewise.
4760 * gdb.base/mips_pro.c: Likewise.
4761 * gdb.base/nodebug.c: Likewise.
4762 * gdb.base/opaque0.c: Likewise.
4763 * gdb.base/opaque1.c: Likewise.
4764 * gdb.base/recurse.c: Likewise.
4765 * gdb.base/run.c: Likewise.
4766 * gdb.base/scope0.c: Likewise.
4767 * gdb.base/scope1.c: Likewise.
4768 * gdb.base/setshow.c: Likewise.
4769 * gdb.base/setvar.c: Likewise.
4770 * gdb.base/shmain.c: Likewise.
4771 * gdb.base/shr1.c: Likewise.
4772 * gdb.base/shr2.c: Likewise.
4773 * gdb.base/sigall.c: Likewise.
4774 * gdb.base/signals.c: Likewise.
4775 * gdb.base/so-indr-cl.c: Likewise.
4776 * gdb.base/solib2.c: Likewise.
4777 * gdb.base/structs.c: Likewise.
4778 * gdb.base/sum.c: Likewise.
4779 * gdb.base/vforked-prog.c: Likewise.
4780 * gdb.base/watchpoint.c: Likewise.
4781 * gdb.reverse/shr2.c: Likewise.
4782 * gdb.reverse/until-reverse.c: Likewise.
4783 * gdb.reverse/ur1.c: Likewise.
4784 * gdb.reverse/watch-reverse.c: Likewise.
4786 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4788 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4790 * gdb.base/sepdebug.exp: Drop references to removed code.
4792 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4794 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4795 variant. Preserve original line numbering.
4796 * gdb.base/list1.c: Likewise.
4798 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4800 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4802 * gdb.base/break1.c: Likewise.
4803 * gdb.base/break.exp: Drop references to removed code.
4805 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4807 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4810 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4812 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4814 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4816 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4817 logic into perform_all_tests() and invoke it with and without
4818 function header prototypes.
4819 (do_function_calls): Remove conditional XFAIL for PR 5318.
4820 (rerun_and_prepare): Remove duplicate code.
4821 (perform_all_tests): New. Main logic moved here.
4823 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4825 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4826 code guarded by #ifdef NO_PROTOTYPES.
4827 (t_double_many_args): Likewise.
4828 (DEF_FUNC_MANY_ARGS_1): Likewise.
4829 (DEF_FUNC_VALUES_1): Likewise.
4830 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4831 guarded by #ifdef PROTOTYPES.
4833 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4835 * gdb.mi/mi-console.c: Add eye-catcher.
4836 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4837 instead of literal line number.
4839 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4841 * gdb.base/shr2.c: Add eye-catcher.
4842 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4845 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4847 * gdb.base/jump.c: Add eye-catchers.
4848 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4851 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4853 * gdb.base/execd-prog.c: Add eye-catchers.
4854 * gdb.base/foll-exec.c: Likewise.
4855 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4858 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4860 * gdb.base/ending-run.c: Add eye-catchers.
4861 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4862 literal line numbers.
4864 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4866 * gdb.base/call-rt-st.c: Add eye-catchers.
4867 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4868 literal line numbers.
4870 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4872 * gdb.base/call-ar-st.c: Add eye-catchers.
4873 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4874 literal line numbers.
4876 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4878 * gdb.base/average.c: Add eye-catchers.
4879 * gdb.base/sum.c: Likewise.
4880 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4881 regexps dynamically.
4883 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4885 * gdb.base/solib1.c: Add eye-catchers.
4886 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4887 literal line numbers.
4889 2014-11-12 Pedro Alves <palves@redhat.com>
4891 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4894 2014-11-12 Pedro Alves <palves@redhat.com>
4896 * gdb.arch/i386-bp_permanent.c: New file.
4897 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4898 (srcfile): Set to i386-bp_permanent.c.
4899 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4900 that stepi does not execute the 'leave' instruction, instead of
4901 testing it does execute.
4902 * gdb.base/bp-permanent.c: New file.
4903 * gdb.base/bp-permanent.exp: New file.
4905 2014-11-10 Doug Evans <xdje42@gmail.com>
4908 * gdb.base/symtab-search-order.exp: New file.
4909 * gdb.base/symtab-search-order.c: New file.
4910 * gdb.base/symtab-search-order-1.c: New file.
4911 * gdb.base/symtab-search-order-shlib-1.c: New file.
4913 2014-11-07 Pedro Alves <palves@redhat.com>
4916 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4919 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4922 * gdb.cp/pr17494.cc: New file.
4923 * gdb.cp/pr17494.exp: New file.
4925 2014-11-02 Yao Qi <yao@codesourcery.com>
4927 * gdb.python/python.exp: Get working directory and match the
4928 output of "set extended-prompt \\w " with it.
4930 2014-10-30 Doug Evans <dje@google.com>
4932 * gdb.python/py-objfile.exp: Add tests for setting random attributes
4934 * gdb.python/py-progspace.exp: Add tests for setting random attributes
4937 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
4939 * gdb.base/fullpath-expand.exp: Skip for a remote host.
4940 * gdb.base/realname-expand.exp: Likewise.
4941 * gdb.linespec/macro-relative.exp: Likewise.
4943 2014-10-29 Pedro Alves <palves@redhat.com>
4946 * gdb.threads/schedlock.c (some_function): New function.
4947 (call_function): New global.
4948 (MAYBE_CALL_SOME_FUNCTION): New macro.
4949 (thread_function): Call it.
4950 * gdb.threads/schedlock.exp (get_args): Add description parameter,
4951 and use it instead of a global counter. Adjust all callers.
4952 (get_current_thread): Use "find current thread" for test message
4953 here rather than having all callers pass down the same string.
4954 (goto_loop): New procedure, factored out from ...
4955 (my_continue): ... this.
4956 (step_ten_loops): Change parameter from test message to command to
4958 (list_count): Delete global.
4959 (check_result): New procedure, factored out from duplicate top
4961 (continue tests): Wrap in with_test_prefix.
4962 (test_step): New procedure, factored out from duplicate top level
4964 (top level): Test "step" in combination with all scheduler-locking
4965 modes. Test "next" in combination with all scheduler-locking
4966 modes, and in combination with stepping over a function call or
4968 * gdb.threads/next-bp-other-thread.c: New file.
4969 * gdb.threads/next-bp-other-thread.exp: New file.
4971 2014-10-29 Pedro Alves <palves@redhat.com>
4974 * gdb.python/python.exp: Test a multi-line command that spawns
4976 * gdb.base/multi-line-starts-subshell.exp: New file.
4978 2014-10-29 Yao Qi <yao@codesourcery.com>
4980 * gdb.base/fileio.exp: Make directories on host.
4982 2014-10-29 Yao Qi <yao@codesourcery.com>
4984 * gdb.base/fileio.c (test_write): Close the file.
4986 2014-10-28 Pedro Alves <palves@redhat.com>
4989 * gdb.base/sigstep.c (no_handler): New global.
4990 (main): If 'no_handler is true, set the signal handlers to
4992 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
4993 with_sw_watch and no_handler parameters. Handle them.
4994 (top level) <stepping over handler when stopped at a breakpoint
4995 test>: Add a test axis for testing with a software watchpoint, and
4996 another for testing with the signal handler set to SIG_IGN.
4997 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
4998 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5000 2014-10-28 Pedro Alves <palves@redhat.com>
5003 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5004 * gdb.base/sigstep.exp (other_handler_location): New global.
5005 (advance): Support stepping into the signal handler, and running
5006 commands while in the handler.
5007 (in_handler_map): New global.
5008 (top level): In the advance test, add combinations for getting
5009 into the handler with stepping commands, and for running commands
5010 in the handler. Add comment descripting the advancei tests.
5012 2014-10-28 Pedro Alves <palves@redhat.com>
5014 * gdb.base/sigstep.exp: Use build_executable instead of
5015 prepare_for_testing.
5016 (top level): Move code that starts GDB, runs to main and creates a
5018 (restart): ... this new procedure.
5019 (top level): Move backtrace from signal handler test to ...
5020 (validate_backtrace): ... this new procedure.
5021 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5022 with_test_prefix. Always restart GDB.
5023 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5024 with_test_prefix. Always restart GDB. No need to delete
5025 breakpoints after the test.
5026 (test_skip_handler): Remove prefix parameter.
5027 (skip_over_handler, breakpoint_to_handler)
5028 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5029 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5030 restart GDB. No need to delete breakpoints after the test.
5031 (top level): Use foreach to call the test procedures with
5034 2014-10-28 Pedro Alves <palves@redhat.com>
5036 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5037 instead of GNATS numbers.
5038 * gdb.base/sigbpt.exp: Likewise.
5039 * gdb.base/siginfo.exp: Likewise.
5040 * gdb.base/sigstep.exp: Likewise.
5042 2014-10-27 Pedro Alves <palves@redhat.com>
5044 * gdb.base/sigstep.c (dummy): New global.
5045 (main): Issue a couple writes to the new global.
5046 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5048 (skip_over_handler): Use test_skip_handler.
5049 (top level): Call skip_over_handler for stepi and nexti too.
5050 (breakpoint_over_handler): Use test_skip_handler.
5051 (top level): Call breakpoint_over_handler for stepi and nexti too.
5053 2014-10-27 Yao Qi <yao@codesourcery.com>
5055 * gdb.trace/tfile.c (adjust_function_address)
5056 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5057 function descriptor.
5059 2014-10-24 Don Breazeal <donb@codesourcery.com>
5061 * gdb.base/foll-fork.exp (test_follow_fork,
5062 catch_fork_child_follow): Check for updated fork messages emitted
5064 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5065 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5066 vfork_and_exec_child_follow_through_step): Check for updated vfork
5067 messages emitted from infrun.c.
5069 2014-10-24 Pedro Alves <palves@redhat.com>
5071 * gdb.base/corefile.exp: Remove references to ultrix.
5072 * gdb.base/interrupt.exp: Likewise.
5073 * gdb.base/whatis.exp: Likewise.
5074 * gdb.gdb/selftest.exp: Likewise.
5075 * gdb.threads/manythreads.exp: Likewise.
5076 * gdb.threads/print-threads.exp: Likewise.
5077 * gdb.threads/pthreads.exp:: Likewise.
5078 * gdb.threads/schedlock.exp: Likewise.
5080 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5082 * gdb.cp/non-trivial-retval.cc: Add a test case.
5083 * gdb.cp/non-trivial-retval.exp: Add a test.
5085 2014-10-20 Yao Qi <yao@codesourcery.com>
5087 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5088 * gdb.python/py-objfile-script-gdb.py: New file.
5089 * gdb.python/py-objfile-script.exp: Update reference to
5090 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5091 of remote_download. Remove the dest file.
5093 2014-10-20 Yao Qi <yao@codesourcery.com>
5095 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5096 * gdb.base/step-line.exp: Likewise.
5097 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5098 * gdb.dwarf2/dw2-basic.exp: Likewise.
5099 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5100 * gdb.dwarf2/dw2-filename.exp: Likewise.
5101 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5102 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5103 * gdb.dwarf2/dw2-producer.exp: Likewise.
5104 * gdb.dwarf2/mac-fileno.exp: Likewise.
5105 * gdb.python/py-frame-args.exp: Likewise.
5106 * gdb.python/py-framefilter.exp: Likewise.
5107 * gdb.python/py-mi.exp: Likewise.
5108 * gdb.python/py-objfile-script.exp: Likewise
5109 * gdb.python/py-pp-integral.exp: Likewise.
5110 * gdb.python/py-pp-re-notag.exp: Likewise.
5111 * gdb.python/py-prettyprint.exp: Likewise.
5112 * gdb.python/py-section-script.exp: Likewise.
5113 * gdb.python/py-typeprint.exp: Likewise.
5114 * gdb.python/py-xmethods.exp: Likewise.
5115 * gdb.stabs/weird.exp: Likewise.
5116 * gdb.xml/tdesc-regs.exp: Likewise.
5118 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5120 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5121 (out_cu): Use addr_len for the size of addresses.
5122 (out_line): Likewise. Size DW_LNE_set_address instruction
5123 according to addr_len.
5124 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5125 (FUNC): Add START_INSNS to definition.
5127 2014-10-18 Yao Qi <yao@codesourcery.com>
5129 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5130 gdb_has_argv0 return true.
5131 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5132 check [target_info exists noargs], check [gdb_has_argv0]
5134 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5135 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5138 2014-10-17 Doug Evans <dje@google.com>
5140 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5142 * gdb.python/py-events.py: Add clear_objfiles event.
5144 2014-10-17 Doug Evans <dje@google.com>
5146 * gdb.python/py-objfile.exp: Test progspace attribute.
5148 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5150 * gdb.guile/scm-breakpoint.exp: Do not assume any
5151 directory separators when matching source file paths.
5152 * gdb.python/py-breakpoint.exp: Likewise.
5153 * gdb.reverse/break-precsave.exp: Likewise.
5154 * gdb.reverse/break-reverse.exp: Likewise.
5155 * gdb.reverse/consecutive-precsave.exp: Likewise.
5156 * gdb.reverse/finish-precsave.exp: Likewise.
5157 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5158 * gdb.reverse/finish-reverse.exp: Likewise.
5159 * gdb.reverse/i386-precsave.exp: Likewise.
5160 * gdb.reverse/i387-env-reverse.exp: Likewise.
5161 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5162 * gdb.reverse/machinestate-precsave.exp: Likewise.
5163 * gdb.reverse/machinestate.exp: Likewise.
5164 * gdb.reverse/sigall-precsave.exp: Likewise.
5165 * gdb.reverse/solib-precsave.exp: Likewise.
5166 * gdb.reverse/step-precsave.exp: Likewise.
5167 * gdb.reverse/until-precsave.exp: Likewise.
5168 * gdb.reverse/watch-precsave.exp: Likewise.
5169 * gdb.reverse/watch-reverse.exp: Likewise.
5171 2014-10-17 Yao Qi <yao@codesourcery.com>
5173 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5174 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5176 2014-10-17 Pedro Alves <palves@redhat.com>
5179 * gdb.base/bg-execution-repeat.c: New file.
5180 * gdb.base/bg-execution-repeat.exp: New file.
5182 2014-10-17 Pedro Alves <palves@redhat.com>
5185 * gdb.base/continue-all-already-running.c: New file.
5186 * gdb.base/continue-all-already-running.exp: New file.
5188 2014-10-17 Pedro Alves <palves@redhat.com>
5191 * gdb.base/annota-input-while-running.c: New file.
5192 * gdb.base/annota-input-while-running.exp: New file.
5194 2014-10-17 Pedro Alves <palves@redhat.com>
5196 * gdb.base/callfuncs.exp: emove references to osf.
5197 * gdb.base/sigall.exp: Likewise.
5198 * gdb.gdb/selftest.exp: Likewise.
5199 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5200 * gdb.mi/non-stop.c: Likewise.
5201 * gdb.mi/pthreads.c: Likewise.
5202 * gdb.reverse/sigall-precsave.exp: Likewise.
5203 * gdb.reverse/sigall-reverse.exp: Likewise.
5204 * gdb.threads/pthreads.c: Likewise.
5205 * gdb.threads/pthreads.exp: Likewise.
5207 2014-10-17 Yao Qi <yao@codesourcery.com>
5209 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5210 check 'target_info exists noargs'.
5211 (test_command_prompt_position): Likewise.
5212 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5214 (progvar_simple_while_test): Likewise.
5215 (progvar_complex_if_while_test): Likewise.
5216 (if_while_breakpoint_command_test): Likewise.
5217 (infrun_breakpoint_command_test): Likewise.
5218 (breakpoint_command_test): Likewise.
5219 (watchpoint_command_test): Likewise.
5220 (bp_deleted_in_command_test): Likewise.
5221 (temporary_breakpoint_commands): Likewise.
5223 2014-10-16 Yao Qi <yao@codesourcery.com>
5225 * gdb.base/remotetimeout.exp: Remove noargs checking.
5227 2014-10-15 Pedro Alves <palves@redhat.com>
5230 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5231 * gdb.base/breakpoint-in-ro-region.exp
5232 (probe_target_hardware_step): New procedure.
5233 (top level): Probe hardware stepping and hardware breakpoint
5234 support. Test stepping through a read-only region, with both
5235 "breakpoint auto-hw" on and off and both "always-inserted" on and
5238 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5240 * gdb.dlang/demangle.exp: Update for demangling changes.
5242 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5244 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5245 * gdb.cp/non-trivial-retval.exp: Add new tests.
5247 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5251 * gdb.cp/non-trivial-retval.cc: New file.
5252 * gdb.cp/non-trivial-retval.exp: New file.
5254 2014-10-15 Yao Qi <yao@codesourcery.com>
5256 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5259 2014-10-15 Yao Qi <yao@codesourcery.com>
5261 * gdb.python/py-symbol.exp: Match file base name if host is
5262 remote, otherwise match file name with dir name.
5263 * gdb.python/py-symtab.exp: Likewise.
5264 * gdb.python/python.exp: Likewise.
5266 2014-10-15 Yao Qi <yao@codesourcery.com>
5268 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5270 * gdb.python/py-symtab.exp: Likewise.
5271 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5274 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5276 * gdb.ada/addr_arith: New testcase.
5278 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5280 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5281 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5282 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5283 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5285 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5287 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5288 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5289 * gdb.arch/stap-eval-lang-ada.exp: New file.
5291 2014-10-14 Yao Qi <yao@codesourcery.com>
5293 * gdb.mi/mi-var-child.c (nothing1): New function.
5294 (nothing2): New function.
5295 (do_children_tests): Set function pointers by nothing1 and
5297 * gdb.mi/mi-var-child.exp: Step over new added statements.
5298 Update test to match the new output.
5299 * gdb.mi/var-cmd.c (nothing1): New function.
5300 (nothing2): New function.
5301 (do_children_tests): Set function pointers by nothing1 and
5303 * gdb.mi/mi-var-display.exp: Update test to match output.
5304 Step to the line specified by $line_dct_nothing.
5305 Increase the number of lines to step.
5307 2014-10-14 Yao Qi <yao@codesourcery.com>
5309 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5311 * gdb.mi/mi2-var-child.exp: Likewise.
5313 2014-10-13 Doug Evans <dje@google.com>
5315 * gdb.python/py-objfile.exp: Change name of file name test.
5317 2014-10-13 Doug Evans <dje@google.com>
5319 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5320 from the start of the CU.
5322 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5323 Yao Qi <yao@codesourcery.com>
5325 Fix "save breakpoints" for "catch" command.
5326 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5327 Remove -nonewline. Match also the added "main" line.
5329 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5331 Fix "save breakpoints" for "disable $bpnum" command.
5332 * gdb.base/save-bp.c (main): Add label.
5333 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5335 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5337 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5339 2014-10-11 Yao Qi <yao@codesourcery.com>
5341 * gdb.server/server-kill.exp: Execute command
5342 "set remote trace-status-packet on" before "tstatus".
5344 2014-10-11 Yao Qi <yao@codesourcery.com>
5346 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5347 (main): Call getppid.
5348 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5349 and continue to it. Read variable "server_pid".
5351 2014-10-11 Yao Qi <yao@codesourcery.com>
5353 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5355 2014-10-11 Yao Qi <yao@codesourcery.com>
5357 * gdb.threads/thread-find.exp: Don't execute command
5359 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5360 * gdb.threads/linux-dp.exp: Don't check the condition
5361 $threads_created equals to zero.
5363 2014-10-10 Pedro Alves <palves@redhat.com>
5365 * gdb.base/bigcore.exp: Remove references to IRIX.
5366 * gdb.base/funcargs.exp: Likewise.
5367 * gdb.base/interrupt.exp: Likewise.
5368 * gdb.base/mips_pro.exp: Likewise.
5369 * gdb.base/nodebug.exp: Likewise.
5370 * gdb.base/setvar.exp: Likewise.
5371 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5373 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5374 Pedro Alves <palves@redhat.com>
5377 * gdb.base/vdso-warning.c: New file.
5378 * gdb.base/vdso-warning.exp: New file.
5380 2014-10-02 Doug Evans <dje@google.com>
5382 * gdb.base/structs.c (main): Don't run forever.
5384 2014-10-02 Pedro Alves <palves@redhat.com>
5386 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5387 (top level) <stop threads 1, stop threads 2>: Use it.
5389 2014-10-02 Pedro Alves <palves@redhat.com>
5391 * gdb.threads/break-while-running.exp (test): Add new
5392 'update_thread_list' argument. Skip "info threads" if false.
5393 (top level): Add new 'update_thread_list' axis.
5395 2014-10-02 Pedro Alves <palves@redhat.com>
5397 PR breakpoints/17431
5398 * gdb.base/execl-update-breakpoints.c: New file.
5399 * gdb.base/execl-update-breakpoints.exp: New file.
5401 2014-10-01 Pedro Alves <palves@redhat.com>
5403 * gdb.base/breakpoint-in-ro-region.c: New file.
5404 * gdb.base/breakpoint-in-ro-region.exp: New file.
5406 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5408 * gdb.mi/mi-exit-code.exp: New file.
5409 * gdb.mi/mi-exit-code.c: New file.
5411 2014-09-30 Yao Qi <yao@codesourcery.com>
5413 * lib/prelink-support.exp (build_executable_own_libs): Error if
5414 the target isn't native.
5416 2014-09-30 Yao Qi <yao@codesourcery.com>
5418 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5421 2014-09-22 Pedro Alves <palves@redhat.com>
5423 * gdb.threads/break-while-running.exp: New file.
5424 * gdb.threads/break-while-running.c: New file.
5426 2014-09-19 Yao Qi <yao@codesourcery.com>
5428 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5429 Invoke test. Restart GDB with --readnow and invoke test again.
5431 2014-09-19 Yao Qi <yao@codesourcery.com>
5433 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5434 proc set_breakpoint_on_gcd_function. Invoke
5435 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5436 invoke set_breakpoint_on_gcd_function again.
5438 2014-09-18 Doug Evans <dje@google.com>
5440 * gdb.dwarf2/symtab-producer.exp: New file.
5442 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5444 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5445 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5446 * gdb.base/global-var-nested-by-dso.c: Likewise.
5447 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5449 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5450 Pedro Alves <palves@redhat.com>
5452 * gdb.base/watch-bitfields.exp: Pass string other than test file
5453 name to prepare_for_testing.
5454 (watch): New procedure.
5455 (expect_watchpoint): Use with_test_prefix.
5456 (top level): Factor out tests to ...
5457 (test_watch_location, test_regular_watch): ... these new
5458 procedures, and use with_test_prefix and gdb_continue_to_end.
5460 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5462 PR breakpoints/12526
5463 * gdb.base/watch-bitfields.exp: New file.
5464 * gdb.base/watch-bitfields.c: New file.
5466 2014-09-16 Pedro Alves <palves@redhat.com>
5468 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5469 software and hardware addresses, not software address against
5472 2014-09-16 Pedro Alves <palves@redhat.com>
5474 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5475 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5477 2014-09-16 Pedro Alves <palves@redhat.com>
5479 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5481 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5482 "*-*-vxworks*" throughout.
5483 * gdb.base/break.exp: Likewise.
5484 * gdb.base/default.exp: Likewise.
5485 * gdb.base/scope.exp: Likewise.
5486 * gdb.base/sepdebug.exp: Likewise.
5487 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5489 * gdb.base/run.c: Likewise.
5490 * gdb.base/sepdebug.c: Likewise.
5491 * gdb.hp/gdb.aCC/run.c: Likewise.
5492 * gdb.reverse/until-reverse.c: Likewise.
5493 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5495 2014-09-16 Yao Qi <yao@codesourcery.com>
5497 * boards/local-remote-host-native.exp: New file.
5499 2014-09-14 Doug Evans <xdje42@gmail.com>
5501 * gdb.threads/queue-signal.c (thread_count): New variable.
5502 (thread_count_mutex, thread_count_condvar): New variables.
5503 (incr_thread_count, wait_all_threads_running): New functions.
5504 (main): Wait for all threads to be in their thread functions.
5506 2014-09-13 Doug Evans <xdje42@gmail.com>
5508 * gdb.threads/queue-signal.c: New file.
5509 * gdb.threads/queue-signal.exp: New file.
5511 2014-09-13 Doug Evans <xdje42@gmail.com>
5513 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5514 be consistent with what default_gdb_init uses.
5515 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5516 the plain text of the prompt. Add some logging printfs.
5517 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5519 2014-09-12 Pedro Alves <palves@redhat.com>
5521 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5522 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5523 * gdb.arch/i386-size-overlap.exp: Likewise.
5524 * gdb.arch/i386-size.exp: Likewise.
5525 * gdb.arch/i386-unwind.exp: Likewise.
5526 * gdb.base/a2-run.exp: Likewise.
5527 * gdb.base/break.exp: Likewise.
5528 * gdb.base/charset.exp: Likewise.
5529 * gdb.base/chng-syms.exp: Likewise.
5530 * gdb.base/commands.exp: Likewise.
5531 * gdb.base/dbx.exp: Likewise.
5532 * gdb.base/find.exp: Likewise.
5533 * gdb.base/funcargs.exp: Likewise.
5534 * gdb.base/jit-simple.exp: Likewise.
5535 * gdb.base/reread.exp: Likewise.
5536 * gdb.base/sepdebug.exp: Likewise.
5537 * gdb.base/step-bt.exp: Likewise.
5538 * gdb.cp/mb-inline.exp: Likewise.
5539 * gdb.cp/mb-templates.exp: Likewise.
5540 * gdb.objc/basicclass.exp: Likewise.
5541 * gdb.threads/killed.exp: Likewise.
5543 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5546 * gdb.arch/powerpc-stackless.S: New file.
5547 * gdb.arch/powerpc-stackless.exp: New file.
5549 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5551 * gdb.base/attach.c: Include unistd.h.
5552 (main): Call alarm. Add label postloop.
5553 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5554 gdb_breakpoint, gdb_continue_to_breakpoint.
5555 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5557 2014-09-11 Pedro Alves <palves@redhat.com>
5560 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5561 * gdb.base/attach.exp (test_command_line_attach_run): New
5563 (top level): Call it.
5565 2014-09-11 Pedro Alves <palves@redhat.com>
5567 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5568 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5569 (do_command_attach_tests): Use spawn_wait_for_attach.
5570 * gdb.base/solib-overlap.exp: Likewise.
5571 * gdb.multi/multi-attach.exp: Likewise.
5572 * gdb.python/py-prompt.exp: Likewise.
5573 * gdb.python/py-sync-interp.exp: Likewise.
5574 * gdb.server/ext-attach.exp: Likewise.
5576 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5578 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5579 command in testcase. Simplify testcase.
5581 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5583 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5585 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5587 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5589 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5591 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5593 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5595 * gdb.dwarf2/dynarr-ptr.c: New file.
5596 * gdb.dwarf2/dynarr-ptr.exp: New file.
5598 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5600 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5601 of 30 rather than hardcoding 120 for a slow test case. Take the
5602 `gdb,timeout' target setting into account for this calculation.
5603 Don't extend the timeout for the test cases that don't need it.
5605 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5607 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5608 a factor of 2 for a slow test case. Take the `gdb,timeout'
5609 target setting into account for this calculation.
5610 * gdb.reverse/until-precsave.exp: Increase the timeout by
5611 a factor of 15 and 3 respectively rather than adding 120
5612 for a pair of slow test cases. Take the `gdb,timeout'
5613 target setting into account for this calculation.
5615 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5617 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5618 timeout, don't pass one down to gdb_expect.
5619 (gdb_expect): Rework timeout selection.
5621 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5623 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5624 exception on timeout.
5625 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5626 (gdbserver_start_extended): Catch any `gdbserver_start' error
5628 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5629 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5630 `gdbserver_gdb_load' error exceptions.
5632 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5634 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5635 120 on waiting for the TCP socket to open.
5637 2014-09-09 Doug Evans <xdje42@gmail.com>
5639 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5640 _caller_matches, _any_caller_is, _any_caller_matches.
5642 2014-09-09 Doug Evans <xdje42@gmail.com>
5644 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5646 2014-09-09 Yao Qi <yao@codesourcery.com>
5648 * gdb.mi/mi-var-display.exp: Set print symbol off.
5650 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5653 * gdb.base/commands.exp: Add tests to verify user-defined
5654 commands with empty bodies.
5655 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5656 python commands in `show user command`.
5657 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5658 scheme commands in `show user command`.
5660 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5663 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5664 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5665 * gdb.python/py-framefilter-invalidarg.exp: New file.
5666 * gdb.python/py-framefilter-invalidarg.py: New file.
5668 2014-09-06 Doug Evans <xdje42@gmail.com>
5671 * gdb.python/py-caller-is.c: New file.
5672 * gdb.python/py-caller-is.exp: New file.
5674 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5677 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5678 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5680 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5683 * gdb.fortran/print-formatted.exp: New file.
5684 * gdb.fortran/print-formatted.f90: Likewise.
5686 2014-09-03 Sasha Smundak <asmundak@google.com>
5688 * gdb.python/py-frame.exp: Test Frame.read_register.
5690 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5693 * gdb.python/py-completion.exp: New file.
5694 * gdb.python/py-completion.py: Likewise.
5696 2014-08-28 Doug Evans <dje@google.com>
5698 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5699 eax,etc. are live with values set by gdb and thus the compiler can't
5701 * gdb.arch/i386-pseudo.c (main): Ditto.
5703 2014-08-27 Doug Evans <dje@google.com>
5705 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5707 2014-08-25 Doug Evans <dje@google.com>
5709 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5712 2014-08-25 Doug Evans <dje@google.com>
5714 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5716 2014-08-24 Yao Qi <yao@codesourcery.com>
5718 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5720 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5722 2014-08-22 Doug Evans <dje@google.com>
5725 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5726 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5727 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5729 2014-08-22 Yao Qi <yao@codesourcery.com>
5731 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5732 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5733 * gdb.python/python.exp: Likewise. Use .py file on the host
5734 instead of the build.
5736 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5738 * gdb.threads/gcore-stale-thread.c: New file.
5739 * gdb.threads/gcore-stale-thread.exp: New file.
5741 2014-08-21 Pedro Alves <palves@redhat.com>
5743 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5744 * gdb.base/gcore-relro-pie.exp: Likewise.
5745 * gdb.base/gcore-relro.exp: Likewise.
5746 * gdb.base/gcore.exp: Likewise.
5747 * gdb.base/print-symbol-loading.exp: Likewise.
5748 * gdb.threads/gcore-thread.exp: Likewise.
5749 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5751 2014-08-20 Pedro Alves <palves@redhat.com>
5752 Jan Kratochvil <jan.kratochvil@redhat.com>
5754 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5756 (EXPECT): Handle READ1 being set.
5757 (all): Depend on EXTRA_RULES.
5758 (check-read1, expect-read1, read1.so, read1): New rules.
5759 * README (Testsuite Parameters): Document the READ1 make variable.
5760 (Race detection): New section.
5761 * configure: Regenerate.
5762 * configure.ac: If build==host==target, and running under a
5763 GNU/glibc system, add read1 to the extra Makefile rules.
5764 (EXTRA_RULES): AC_SUBST it.
5765 * lib/read1.c: New file.
5767 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5769 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5770 the handling of variables declared as a typedef to an array
5771 which a DW_AT_data_location attribute.
5773 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5774 Pedro Alves <palves@redhat.com>
5778 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5781 2014-08-19 Pedro Alves <palves@redhat.com>
5783 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5785 2014-08-19 Yao Qi <yao@codesourcery.com>
5787 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5790 2014-08-18 David Blaikie <dblaikie@gmail.com>
5792 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5794 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5796 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5797 attribute in array range.
5799 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5801 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5803 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5806 * gdb.cp/pr17132.cc: New file.
5807 * gdb.cp/pr17132.exp: New file.
5809 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5811 * gdb.python/py-xmethods.py (A_getarrayind)
5812 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5813 Use 'print' with function call syntax.
5814 (E_method_matcher.match): Fix tab vs space indentation mixup.
5816 2014-08-15 Yao Qi <yao@codesourcery.com>
5818 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5821 2014-08-15 Yao Qi <yao@codesourcery.com>
5823 * gdb.cp/casts.exp: Set print symbol off.
5824 * gdb.cp/class2.exp: Likewise.
5825 * gdb.cp/overload.exp: Likewise.
5826 * gdb.cp/templates.exp: Likewise.
5828 2014-08-11 Doug Evans <dje@google.com>
5830 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5831 (test_load_shlib): Update.
5833 2014-08-09 Yao Qi <yao@codesourcery.com>
5835 * gdb.base/display.exp: Invoke is_address_zero_readable.
5836 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5837 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5838 * gdb.base/hbreak-unmapped.exp: Return if
5839 is_address_zero_readable returns true.
5840 * gdb.base/signest.exp: Likewise.
5841 * gdb.base/signull.exp: Likewise.
5842 * gdb.base/sigbpt.exp: Likewise.
5843 * gdb.guile/scm-disasm.exp: Do the test if
5844 is_address_zero_readable returns false.
5845 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5846 * gdb.python/py-arch.exp: Likewise.
5847 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5848 * lib/gdb.exp (is_address_zero_readable): New proc.
5850 2014-08-09 Yao Qi <yao@codesourcery.com>
5853 * gdb.mi/mi-var-display.exp: Make test messages unique.
5855 2014-08-04 Tom Tromey <tromey@redhat.com>
5857 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5860 2014-08-04 Tom Tromey <tromey@redhat.com>
5862 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5865 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5867 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5868 inner_vla_struct_object_size.
5869 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5872 2014-07-30 Pedro Alves <palves@redhat.com>
5874 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5877 2014-07-29 Yao Qi <yao@codesourcery.com>
5880 * gdb.base/until-nodebug.exp: New.
5882 2014-07-28 Doug Evans <xdje42@gmail.com>
5885 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5886 previously existing parameter, and previously ambiguously spelled
5889 2014-07-28 Will Newton <will.newton@linaro.org>
5891 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5893 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5894 Doug Evans <xdje42@gmail.com>
5897 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5899 2014-07-25 Pedro Alves <palves@redhat.com>
5901 * gdb.threads/signal-command-handle-nopass.c: New file.
5902 * gdb.threads/signal-command-handle-nopass.exp: New file.
5903 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5904 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5905 * gdb.threads/signal-delivered-right-thread.c: New file.
5906 * gdb.threads/signal-delivered-right-thread.exp: New file.
5908 2014-07-25 Pedro Alves <palves@redhat.com>
5910 * gdb.base/double-prompt-target-event-error.exp
5911 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5913 (cancel_pagination_in_target_event): Rework double prompt
5915 * gdb.base/paginate-after-ctrl-c-running.exp
5916 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5918 * gdb.base/paginate-bg-execution.exp
5919 (test_bg_execution_pagination_return)
5920 (test_bg_execution_pagination_cancel): Remove '-notransfer
5922 * gdb.base/paginate-execution-startup.exp
5923 (test_fg_execution_pagination_return)
5924 (test_fg_execution_pagination_cancel): Remove '-notransfer
5926 * gdb.base/paginate-inferior-exit.exp
5927 (test_paginate_inferior_exited): Remove '-notransfer <return>'
5929 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
5930 * lib/gdb.exp (pagination_prompt): Run text through
5932 (gdb_test_multiple): Match $pagination_prompt instead of
5934 (string_to_regexp): Move to lib/gdb-utils.exp.
5936 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
5938 * gdb.arch/amd64-entry-value-paramref.S: New file.
5939 * gdb.arch/amd64-entry-value-paramref.cc: New file.
5940 * gdb.arch/amd64-entry-value-paramref.exp: New file.
5941 * gdb.arch/amd64-optimout-repeat.S: New file.
5942 * gdb.arch/amd64-optimout-repeat.c: New file.
5943 * gdb.arch/amd64-optimout-repeat.exp: New file.
5945 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
5948 * gdb.base/statistics.exp: New file.
5950 2014-07-17 Doug Evans <dje@google.com>
5953 * gdb.base/maint.exp: Update testing of per-command stats.
5955 2014-07-16 Pedro Alves <palves@redhat.com>
5957 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
5958 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
5959 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
5960 (tfile_write_buf): New functions.
5961 (add_memory_block): Rewrite using the above.
5962 (adjust_function_address): New function.
5963 (FUNCTION_ADDRESS): New macro.
5964 (write_basic_trace_file): Remove short_x local, and use
5965 tfile_write_16. Change type of func_addr local to unsigned long
5966 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
5967 here. Cast argument of add_memory_block to char pointer.
5968 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
5969 (main): Remove parameters.
5970 * gdb.trace/tfile.exp: Remove nowarnings.
5972 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
5974 * gdb.base/debug-expr.exp: Test string evaluation with
5975 "debug expression" on.
5977 2014-07-15 Pedro Alves <palves@redhat.com>
5979 * gdb.base/reread.exp: Use clean_restart.
5981 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
5983 * gdb.arch/avr-flash-qualifer.c: New.
5984 * gdb.arch/avr-flash-qualifer.exp: New.
5986 2014-07-14 Pedro Alves <palves@redhat.com>
5988 * gdb.base/paginate-after-ctrl-c-running.c: New file.
5989 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
5991 2014-07-14 Pedro Alves <palves@redhat.com>
5993 * gdb.base/double-prompt-target-event-error.c: New file.
5994 * gdb.base/double-prompt-target-event-error.exp: New file.
5996 2014-07-14 Pedro Alves <palves@redhat.com>
5999 * gdb.base/paginate-inferior-exit.c: New file.
6000 * gdb.base/paginate-inferior-exit.exp: New file.
6002 2014-07-14 Pedro Alves <palves@redhat.com>
6005 * gdb.base/paginate-bg-execution.c: New file.
6006 * gdb.base/paginate-bg-execution.exp: New file.
6008 2014-07-14 Pedro Alves <palves@redhat.com>
6011 * gdb.base/paginate-execution-startup.c: New file.
6012 * gdb.base/paginate-execution-startup.exp: New file.
6013 * lib/gdb.exp (pagination_prompt): New global.
6014 (default_gdb_spawn): New procedure, factored out from
6016 (default_gdb_start): Adjust to call default_gdb_spawn.
6017 (gdb_spawn): New procedure.
6019 2014-07-14 Pedro Alves <palves@redhat.com>
6021 * lib/gdb.exp (gdb_assert): New procedure.
6022 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6024 2014-07-14 Pedro Alves <palves@redhat.com>
6026 * gdb.base/execution-termios.c: New file.
6027 * gdb.base/execution-termios.exp: New file.
6029 2014-07-14 Tom Tromey <tromey@redhat.com>
6031 * gdb.cp/vla-cxx.cc: New file.
6032 * gdb.cp/vla-cxx.exp: New file.
6034 2014-07-14 Tom Tromey <tromey@redhat.com>
6036 * gdb.reverse/rerun-prec.c: New file.
6037 * gdb.reverse/rerun-prec.exp: New file.
6039 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6040 Maciej W. Rozycki <macro@codesourcery.com>
6042 * lib/gdb-utils.exp: New file.
6043 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6044 inline `gdb_init_command' processing.
6045 (gdb_start_cmd): Likewise.
6046 * lib/mi-support.exp (mi_run_cmd): Likewise.
6047 * README: Document `gdb_init_command' and `gdb_init_commands'.
6049 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6051 Fix false FAIL running under a very long directory name.
6052 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6053 and "set print elements 10000". Twice.
6055 2014-07-11 Yao Qi <yao@codesourcery.com>
6057 * gdb.base/exprs.exp: "set print symbol off".
6059 2014-07-11 Pedro Alves <palves@redhat.com>
6061 * gdb.threads/kill.c: New file.
6062 * gdb.threads/kill.exp: New file.
6064 2014-07-10 Yao Qi <yao@codesourcery.com>
6066 * gdb.trace/tfile.c (write_basic_trace_file)
6067 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6068 address written to trace file.
6070 2014-07-09 Pedro Alves <palves@redhat.com>
6072 * gdb.base/attach-wait-input.exp: New file.
6073 * gdb.base/attach-wait-input.c: New file.
6075 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6077 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6078 setting up test structures.
6079 (main): Call new test function.
6080 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6081 test function, continue into test function and walk test
6084 2014-07-02 Yao Qi <yao@codesourcery.com>
6086 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6087 'bar_start' at the beginning of functions 'foo' and 'bar'
6089 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6090 instead of 'foo' and 'bar'.
6092 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6094 * gdb.btrace/segv.exp: New.
6095 * gdb.btrace/segv.c: New.
6097 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6099 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6102 2014-06-30 Mark Wielaard <mjw@redhat.com>
6104 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6105 vulture, vilify, villar): New volatile array constants.
6106 (vindictive, vegetation): New const volatile array constants.
6107 * gdb.base/volatile.exp: Test volatile and const volatile array
6110 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6112 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6113 target lacks support for awatch, rwatch, or hbreak.
6115 2014-06-27 Yao Qi <yao@codesourcery.com>
6117 * gdb.multi/dummy-frame-restore.exp: New.
6118 * gdb.multi/dummy-frame-restore.c: New.
6120 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6122 * gdb.btrace/gcore.exp: New.
6124 2014-06-23 Pedro Alves <palves@redhat.com>
6126 * gdb.base/watchpoint-reuse-slot.c: New file.
6127 * gdb.base/watchpoint-reuse-slot.exp: New file.
6129 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6131 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6132 progspace's filename in 'info', 'enable' and 'disable' command
6135 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6137 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6138 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6139 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6141 2014-06-20 Gary Benson <gbenson@redhat.com>
6143 * gdb.arch/i386-avx.exp: Fix include file location.
6144 * gdb.arch/i386-sse.exp: Likewise.
6146 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6148 * gdb.dlang/expression.exp: New file.
6150 2014-06-19 Pedro Alves <palves@redhat.com>
6152 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6154 (top level): ... here. Iterate running tests under different
6155 scheduler-locking settings.
6157 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6159 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6160 to DW_FORM_addr and use non-zero addresses.
6162 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6165 * gdb.python/py-xmethods.cc: Add global function call counters and
6166 increment them in their respective functions. Remove "cout"
6168 * gdb.python/py-xmethods.exp: Make tests check the global function
6169 call counters instead of depending on inferior IO.
6171 2014-06-18 Don Breazeal <donb@codesourcery.com>
6173 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6175 (explicit_fork_parent_follow): Deleted procedure.
6176 (explicit_fork_child_follow): Deleted procedure.
6177 (test_follow_fork): New procedure.
6178 (do_fork_tests): Replace calls to deleted procedures with
6179 calls to test_follow_fork and reset GDB for subsequent
6182 2014-06-17 Yao Qi <yao@codesourcery.com>
6184 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6187 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6189 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6190 Initialize ptr and S explicitly.
6191 (skip_type_update_when_not_use_rtti_test): Likewise.
6193 2014-06-16 Keith Seitz <keiths@redhat.com>
6196 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6197 the inferior is started.
6199 2014-06-16 Pedro Alves <palves@redhat.com>
6201 * gdb.base/break-main-file-remove-fail.c: New file.
6202 * gdb.base/break-main-file-remove-fail.exp: New file.
6203 * gdb.base/break-unload-file.exp: Use build_executable instead of
6204 prepare_for_testing.
6205 (test_break): New parameter "initial_load". Handle it.
6206 (top level): Add initial_load cmdline/file axis.
6208 2014-06-12 Tom Tromey <tromey@redhat.com>
6210 * gdb.base/completion.exp: Don't use directory name in test.
6212 2014-06-09 Gary Benson <gbenson@redhat.com>
6214 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6215 separate the always-available ANSI-standard signals from the
6216 signals that require checking.
6218 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6222 2014-06-07 Keith Seitz <keiths@redhat.com>
6226 * gdb.cp/var-tag.cc: New file.
6227 * gdb.cp/var-tag.exp: New file.
6228 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6229 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6230 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6231 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6233 2014-06-06 Doug Evans <xdje42@gmail.com>
6235 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6237 2014-06-06 Pedro Alves <palves@redhat.com>
6239 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6240 in target debug output instead of looking at RSP packets,
6241 disabling the test on any target that uses hardware stepping.
6244 2014-06-06 Pedro Alves <palves@redhat.com>
6246 * gdb.base/break-unload-file.exp: Fix typo.
6248 2014-06-06 Yao Qi <yao@codesourcery.com>
6250 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6251 from "jit_function" to "^jit_function".
6253 2014-06-06 Yao Qi <yao@codesourcery.com>
6255 * gdb.base/async.c (foo): Add one statement.
6256 * gdb.base/async.exp: Get the next instruction address and
6257 match the output of "nexti" by instruction address. Match
6258 the hex address in the output of "finish".
6260 2014-06-06 Gary Benson <gbenson@redhat.com>
6262 * gdb.base/call-signals.c: Remove preprocessor conditionals
6263 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6264 SIGSEGV and SIGTERM.
6265 * gdb.base/sigall.c: Likewise.
6266 * gdb.base/unwindonsignal.c: Likewise.
6267 * gdb.reverse/sigall-reverse.c: Likewise.
6269 2014-06-06 Yao Qi <yao@codesourcery.com>
6271 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6272 readable, skip the test.
6274 2014-06-06 Yao Qi <yao@codesourcery.com>
6276 * gdb.threads/staticthreads.c (thread_function): Move the line
6277 setting breakpoint on forward.
6278 * gdb.threads/staticthreads.exp: Update comments.
6280 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6282 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6283 "history-append! type error".
6285 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6287 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6288 erroneous dprintf expected input.
6290 2014-06-04 Doug Evans <xdje42@gmail.com>
6292 * gdb.guile/scm-generics.exp: Delete.
6294 2014-06-04 Doug Evans <xdje42@gmail.com>
6296 * gdb.guile/scm-breakpoint.exp: Update.
6297 Add tests for breakpoint registration.
6299 2014-06-04 Tom Tromey <tromey@redhat.com>
6301 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6303 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6304 inner_vla_struct, vla_union types. Initialize objects of those
6305 types and compute their sizes.
6307 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6308 Hui Zhu <hui@codesourcery.com>
6310 * gdb.base/fileio.exp: Add test for shell not available as well as
6312 * gdb.base/fileio.c (test_system): Check for shell twice.
6314 2014-06-04 Yao Qi <yao@codesourcery.com>
6316 * gdb.base/auto-connect-native-target.exp: Remove redundant
6317 space from the regexp pattern.
6319 2014-06-04 Yao Qi <yao@codesourcery.com>
6321 * gdb.base/default.exp: Replace "child" with "native" in
6324 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6326 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6327 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6328 * gdb.python/py-xmethods.py: Python script supporting the
6329 new testcase and tests.
6331 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6332 Pedro Alves <palves@redhat.com>
6334 PR breakpoints/17000
6335 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6336 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6338 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6340 * gdb.base/subst.exp: Add tests to verify partial path matching
6343 2014-06-03 Pedro Alves <palves@redhat.com>
6345 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6346 target that doesn't use software single-stepping.
6348 2014-06-03 Pedro Alves <palves@redhat.com>
6350 PR breakpoints/17000
6351 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6352 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6354 2014-06-02 Doug Evans <xdje42@gmail.com>
6356 * gdb.guile/scm-parameter.exp: New file.
6358 2014-06-02 Doug Evans <xdje42@gmail.com>
6360 * gdb.guile/scm-cmd.c: New file.
6361 * gdb.guile/scm-cmd.exp: New file.
6363 2014-06-02 Doug Evans <xdje42@gmail.com>
6365 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6366 pretty-printer lookup.
6367 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6368 (make-pp_s-printer): Call it.
6369 (make-pretty-printer-from-dict): New function.
6370 (lookup-pretty-printer-maker-from-dict): New function.
6371 (*pretty-printer*): Simplify.
6372 (make-objfile-pp_s-printer): New function.
6373 (install-objfile-pretty-printers!): New function.
6374 (make-progspace-pp_s-printer): New function.
6375 (install-progspace-pretty-printers!): New function.
6376 * gdb.guile/scm-progspace.c: New file.
6377 * gdb.guile/scm-progspace.exp: New file.
6379 2014-06-02 Pedro Alves <palves@redhat.com>
6381 * gdb.base/dprintf-bp-same-addr.c: New file.
6382 * gdb.base/dprintf-bp-same-addr.exp: New file.
6384 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6386 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6387 * gdb.arch/powerpc-power.s: Likewise.
6389 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6391 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6393 2014-06-01 Yao Qi <yao@codesourcery.com>
6395 * gdb.base/watchpoint.exp (test_watch_location): Check null
6396 pointer can be dereferenced. If not, do the test, otherwise
6399 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6401 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6403 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6405 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6407 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6408 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6409 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6410 * gdb.arch/amd64-invalid-stack-top.c: New file.
6411 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6413 2014-05-30 Pedro Alves <palves@redhat.com>
6415 PR breakpoints/17000
6416 * gdb.base/sss-bp-on-user-bp.c: New file.
6417 * gdb.base/sss-bp-on-user-bp.exp: New file.
6419 2014-05-30 David Blaikie <dblaikie@gmail.com>
6421 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6422 gnu_inline semantics via attribute.
6423 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6424 source explicitly specifies the required semantics.
6426 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6428 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6430 2014-05-29 Pedro Alves <palves@redhat.com>
6431 Tom Tromey <tromey@redhat.com>
6433 * gdb.base/async-shell.exp: Don't enable target-async.
6434 * gdb.base/async.exp
6435 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6437 (top level): Don't test with "target-async".
6438 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6439 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6440 * gdb.base/inferior-died.exp: Don't enable target-async.
6441 * gdb.base/interrupt-noterm.exp: Likewise.
6442 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6443 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6444 * gdb.mi/mi-nonstop.exp: Likewise.
6445 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6446 * gdb.mi/mi-nsintrall.exp: Likewise.
6447 * gdb.mi/mi-nsmoribund.exp: Likewise.
6448 * gdb.mi/mi-nsthrexec.exp: Likewise.
6449 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6450 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6451 * gdb.python/py-evsignal.exp: Don't enable target-async.
6452 * gdb.python/py-evthreads.exp: Likewise.
6453 * gdb.python/py-prompt.exp: Likewise.
6454 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6455 * gdb.server/solib-list.exp: Don't enable target-async.
6456 * gdb.threads/thread-specific-bp.exp: Likewise.
6457 * lib/mi-support.exp: Adjust to use mi-async.
6459 2014-05-29 Pedro Alves <palves@redhat.com>
6462 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6463 reason, even in sync mode.
6465 2014-05-29 Pedro Alves <palves@redhat.com>
6466 Hui Zhu <hui@codesourcery.com>
6469 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6470 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6471 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6472 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6474 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6476 * config/monitor.exp (gdb_target_monitor): Replace use of
6477 "set remotebaud" by "set serial baud".
6479 2014-05-26 Andy Wingo <wingo@igalia.com>
6481 * gdb.guile/scm-breakpoint.exp:
6482 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6483 properties instead of gdb-object-properties.
6485 2014-05-26 Yao Qi <yao@codesourcery.com>
6487 * gdb.server/no-thread-db.exp: Specify source file name
6488 explicitly when setting a breakpoint.
6490 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6492 * gdb.btrace/vdso.c: New.
6493 * gdb.btrace/vdso.exp: New.
6495 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6497 * gdb.base/gcore.exp (capture_command_output): Move ...
6498 * lib/gdb.exp (capture_command_output): ... here.
6500 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6502 * gdb.btrace/data.exp: Test memory access during btrace replay.
6504 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6506 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6508 2014-05-21 Pedro Alves <palves@redhat.com>
6511 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6512 (top level): Test that output related to execution commands is
6513 sent to the console with CLI commands, but not with MI commands.
6514 Test that breakpoint events are always mirrored to the console.
6515 Also expect the new source line to be output after a "next" in
6516 async mode too. Make it a pass/fail test.
6517 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6519 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6521 2014-05-21 Pedro Alves <palves@redhat.com>
6523 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6524 Use them to test variations of "list" after reaching a breakpoint.
6525 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6526 Test "list" with listsize 10 after reaching a breakpoint.
6527 * gdb.python/python.exp (decode_line current location line
6528 number): Adjust expected line number.
6530 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6532 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6533 behavior for $args, pass it directly to "run".
6535 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6537 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6540 2014-05-21 Pedro Alves <palves@redhat.com>
6542 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6543 auto-connect-native-target off".
6544 * gdb.base/auto-connect-native-target.c: New file.
6545 * gdb.base/auto-connect-native-target.exp: New file.
6547 2014-05-21 Pedro Alves <palves@redhat.com>
6549 * gdb.base/default.exp: Test "target native" instead of "target
6552 2014-05-21 Mark Wielaard <mjw@redhat.com>
6554 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6556 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6558 Fix TLS access for -static -pthread.
6559 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6560 <HAVE_TLS> (thread_function, main): Initialize it.
6561 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6563 <$have_tls != "">: Check TLSVAR.
6565 2014-05-21 Pedro Alves <palves@redhat.com>
6567 * gdb.base/dcache-line-read-error.c: New.
6568 * gdb.base/dcache-line-read-error.exp: New.
6570 2014-05-20 Pedro Alves <palves@redhat.com>
6572 * gdb.base/compare-sections.c: New file.
6573 * gdb.base/compare-sections.exp: New file.
6575 2014-05-20 Pedro Alves <palves@redhat.com>
6577 * gdb.base/break-idempotent.c: New file.
6578 * gdb.base/break-idempotent.exp: New file.
6580 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6582 * gdb.btrace/nohist.exp: New.
6584 2014-05-20 Yao Qi <yao@codesourcery.com>
6586 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6587 gdb.reverse directory and gdb_reverse_timeout exists in board
6589 * README: Document gdb_reverse_timeout.
6591 2014-05-20 Yao Qi <yao@codesourcery.com>
6593 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6594 'test_file_name'. Treat args as a string instead of a list.
6595 (gdb_init): Rename argument 'args' by 'test_file_name'.
6597 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6599 * gdb.arch/powerpc-power.exp: New file.
6600 * gdb.arch/powerpc-power.s: New file.
6602 2014-05-16 Doug Evans <dje@google.com>
6604 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6605 * gdb.base/completion.exp: Check that all expected files exist
6606 before doing file completion.
6608 2014-05-16 Doug Evans <dje@google.com>
6610 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6612 (do_syscall_tests_without_xml): Update.
6614 2014-05-16 Pedro Alves <palves@redhat.com>
6616 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6617 instead of "unknown output after running".
6619 2014-05-16 Yao Qi <yao@codesourcery.com>
6621 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6622 file1.txt from host at the end.
6623 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6625 2014-05-15 Doug Evans <dje@google.com>
6627 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6628 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6629 loading file. Add test for TU lookup.
6631 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6633 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6634 calling "-exec-arguments" or "set args" before running the
6637 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6639 * lib/mi-support.exp (mi_expect_stop): Expect message for
6640 inferiors that exit with non-zero exit code.
6642 2014-05-14 Yao Qi <yao@codesourcery.com>
6644 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6645 match absolute path on remote host.
6646 (test_file_list_exec_source_files): Remove "/" from the
6649 2014-05-14 Yao Qi <yao@codesourcery.com>
6651 * boards/local-remote-host-notty.exp (${board}_file): New
6654 2014-05-07 Kyle McMartin <kyle@redhat.com>
6656 Pushed by Joel Brobecker <brobecker@adacore.com>.
6657 * gdb.arch/aarch64-atomic-inst.c: New file.
6658 * gdb.arch/aarch64-atomic-inst.exp: New file.
6660 2014-05-07 Yao Qi <yao@codesourcery.com>
6662 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6663 in current context" too.
6665 2014-05-05 Keith Seitz <keiths@redhat.com>
6667 * gdb.linespec/ls-dollar.exp: Add test for linespec
6668 file:convenience_variable.
6670 2014-05-05 Yao Qi <yao@codesourcery.com>
6672 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6673 traceframes into tfile and ctf trace files. Read data from
6674 trace file and test collected data.
6675 (gdb_collect_locals_test): Likewise.
6676 (gdb_unavailable_registers_test): Likewise.
6677 (gdb_unavailable_floats): Likewise.
6678 (gdb_collect_globals_test): Likewise.
6679 (top-level): Append "ctf" to trace_file_targets if GDB
6682 2014-05-05 Yao Qi <yao@codesourcery.com>
6684 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6686 (gdb_collect_args_test_1): ... it. New proc.
6687 (gdb_collect_locals_test): Move some code to ...
6688 (gdb_collect_locals_test_1): ... it. New proc.
6689 (gdb_unavailable_registers_test): Move some code to ...
6690 (gdb_unavailable_registers_test_1): ... it. New proc.
6691 (gdb_unavailable_floats): Move some code to ...
6692 (gdb_unavailable_floats_1): ... it. New proc.
6694 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6696 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6697 probes to test for bitness recognition.
6698 * gdb.arch/amd64-stap-optional-prefix.exp
6699 (test_probe_value_without_reg): New procedure.
6700 Add code to test for different kinds of bitness.
6702 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6704 PR breakpoints/16889
6705 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6706 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6708 2014-05-01 Pedro Alves <palves@redhat.com>
6710 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6711 gdb_file_cmd if no file is specified.
6712 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6713 last_loaded_file to set the remote exec-file.
6715 2014-05-01 Pedro Alves <palves@redhat.com>
6717 * boards/local-remote-host.exp: New file.
6719 2014-05-01 Pedro Alves <palves@redhat.com>
6721 * boards/local-remote-host.exp: Rename to ...
6722 * boards/local-remote-host-notty.exp: ... this.
6724 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6726 * gdb.ada/dyn_arrayidx: New testcase.
6728 2014-04-26 Yao Qi <yao@codesourcery.com>
6730 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6731 and compute the length of function main. Save it in
6733 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6734 (top-level): Use gdb_compile to compile objects into
6735 executable and restart GDB. Remove invocation to
6736 prepare_for_testing.
6738 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6739 Pedro Alves <palves@redhat.com>
6742 * gdb.multi/multi-attach.c: New file.
6743 * gdb.multi/multi-attach.exp: New file.
6745 2014-04-25 Pedro Alves <palves@redhat.com>
6747 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6749 (top level): Test that "set remote conditional-breakpoints-packet
6750 off" works as intended.
6751 * gdb.base/dprintf.exp: Test that "set remote
6752 breakpoint-commands-packet off" works as intended.
6753 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6755 (top level): Call it.
6756 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6757 remote fast-tracepoints-packet off" works as intended.
6758 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6759 * lib/gdb.exp (gdb_is_target_remote): ... here.
6761 2014-04-24 David Blaikie <dblaikie@gmail.com>
6763 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6764 ensure clang would not discard them.
6765 * gdb.base/gdbvars.c: Ditto.
6766 * gdb.base/memattr.c: Ditto.
6767 * gdb.base/whatis.c: Ditto.
6768 * gdb.python/py-prettyprint.c: Ditto.
6769 * gdb.trace/actions.c: Ditto.
6770 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6771 ensure clang would not discard it.
6773 2014-04-24 David Blaikie <dblaikie@gmail.com>
6775 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6776 clang to emit the full definition of type required by the test
6777 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6779 2014-04-24 David Blaikie <dblaikie@gmail.com>
6781 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6782 coax Clang into emitting the definition of the type.
6783 * gdb.cp/pr10728-x.h (y): Ditto.
6784 * gdb.cp/pr10728-y.cc (y): Ditto.
6786 2014-04-24 David Blaikie <dblaikie@gmail.com>
6788 * gdb.base/label.exp: XFAIL label related tests under Clang.
6789 * gdb.cp/cplabel.exp: Ditto.
6790 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6791 under Clang those using labels.
6793 2014-04-25 Yao Qi <yao@codesourcery.com>
6795 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6797 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6798 partial_label and double_label.
6800 2014-04-24 David Blaikie <dblaikie@gmail.com>
6802 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6804 2014-04-24 David Blaikie <dblaikie@gmail.com>
6806 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6807 of the function to work across GCC and Clang.
6808 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6809 pointer types (const void ** const V void **).
6811 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6812 Walfred Tedeschi <walfred.tedeschi@intel.com>
6814 * Makefile.in (EXECUTABLES): Added i386-avx512.
6815 * gdb.arch/i386-avx512.c: New file.
6816 * gdb.arch/i386-avx512.exp: Likewise.
6818 2014-04-23 Keith Seitz <keiths@redhat.com>
6820 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6821 (mi_make_breakpoint_table): New procedure.
6822 (mi_create_breakpoint): Use mi_make_breakpoint
6823 and return the result.
6824 (mi_make_breakpoint): New procedure.
6825 (mi_build_kv_pairs): New procedure.
6827 * gdb.mi/mi-break.exp: Remove unused globals,
6828 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6829 All callers updated.
6830 * gdb.mi/mi-dprintf.exp: Use variable to track command
6832 Update all callers of mi_create_breakpoint and use
6833 mi_make_breakpoint_table.
6834 Remove any unused global variables.
6835 * gdb.mi/mi-nonstop.exp: Likewise.
6836 * gdb.mi/mi-nsintrall.exp: Likewise.
6837 * gdb.mi/mi-nsmoribund.exp: Likewise.
6838 * gdb.mi/mi-nsthrexec.exp: Likewise.
6839 * gdb.mi/mi-reverse.exp: Likewise.
6840 * gdb.mi/mi-simplerun.exp: Likewise.
6841 * gdb.mi/mi-stepn.exp: Likewise.
6842 * gdb.mi/mi-syn-frame.exp: Likewise.
6843 * gdb.mi/mi-until.exp: Likewise.
6844 * gdb.mi/mi-var-cp.exp: Likewise.
6845 * gdb.mi/mi-var-display.exp: Likewise.
6846 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6847 * gdb.mi/mi2-var-child.exp: Likewise.
6848 * gdb.mi/mi-vla-c99.exp: Likewise.
6849 * lib/mi-support.exp: Likewise.
6851 From Ian Lance Taylor <iant@cygnus.com>:
6852 * lib/gdb.exp (parse_args): New procedure.
6854 2014-04-23 Pedro Alves <palves@redhat.com>
6856 * gdb.base/break-unload-file.c: New file.
6857 * gdb.base/break-unload-file.exp: New file.
6858 * gdb.base/sym-file-lib.c (baz): New function.
6859 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6861 (load): Store the segment's mapped size.
6862 (unload): New function.
6863 (unload_shlib): New function.
6864 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6865 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6866 set a breakpoint at baz, and call it.
6867 * gdb.base/sym-file.exp: New tests for stale breakpoint
6870 2014-04-23 Pedro Alves <palves@redhat.com>
6872 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6873 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6874 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6875 * gdb.base/hbreak-unmapped.c: New file.
6876 * gdb.base/hbreak-unmapped.exp: New file.
6877 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6878 * lib/gdb.exp (gdb_is_target_remote): ... here.
6880 2014-04-22 Pedro Alves <palves@redhat.com>
6882 * gdb.base/consecutive-step-over.c: New file.
6883 * gdb.base/consecutive-step-over.exp: New file.
6885 2014-04-22 Pedro Alves <palves@redhat.com>
6887 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6888 instead of send_gdb/gdb_expect.
6890 2014-04-22 Yao Qi <yao@codesourcery.com>
6892 * lib/trace-support.exp (generate_tracefile): New procedure.
6893 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6895 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6896 if generate_tracefile returns 1.
6898 2014-04-18 Tom Tromey <palves@redhat.com>
6899 Pedro alves <tromey@redhat.com>
6902 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6903 with a backtrace limit.
6904 * gdb.python/py-frame-inline.exp: Test running to an inline
6905 function with a backtrace limit, and printing the newest frame.
6906 * gdb.python/py-frame-inline.c (main): Call f.
6908 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6910 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6912 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6914 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6915 Drop prefix from unsupported source file path.
6917 2014-04-17 Yao Qi <yao@codesourcery.com>
6919 * lib/gdb.exp (with_target_charset): New proc.
6920 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6921 with_target_charset.
6922 (test_print_strings): Likewise.
6923 (test_repeat_bytes): Likewise.
6924 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
6927 2014-04-16 Keith Seitz <keiths@redhat.com>
6930 * gdb.dwarf2/corrupt.c: New file.
6931 * gdb.dwarf2/corrupt.exp: New file.
6933 2014-04-16 Keith Seitz <keiths@redhat.com>
6936 * gdb.cp/namelessclass.cc: New file.
6937 * gdb.cp/namelessclass.exp: New file.
6938 * gdb.cp/namelessclass.S: New file.
6940 2014-04-16 Doug Evans <dje@google.com>
6942 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
6944 (gdbserver_default_get_comm_port): New function.
6945 (gdbserver_start): Check if board file provided
6946 "gdbserver,get_comm_port" and use it if so.
6947 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
6948 (gdb,socketport): Set to "stdio".
6949 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
6950 (stdio_gdbserver_template): Delete.
6951 (${board}_get_remote_address): Update.
6952 (${board}_build_remote_cmd): Delete.
6953 (${board}_get_comm_port): New function.
6954 (${board}_spawn): Update.
6955 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
6957 (${board}_get_remote_address): Update.
6958 (${board}_get_comm_port): New function.
6960 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
6962 * gdb.base/memattr.exp: Improve regexps to handle memory regions
6963 appearing in any order.
6965 2014-04-15 Doug Evans <dje@google.com>
6967 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
6968 uninitialized value of "description".
6970 2014-04-15 Keith Seitz <keiths@redhat.com>
6972 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
6973 Remove unused globals.
6974 (test_running_the_program): Likewise.
6975 (test_controlled_execution): Likewise.
6976 (test_controlling_breakpoints): Likewise.
6977 (test_program_termination): Likewise.
6979 2014-04-15 Keith Seitz <keiths@redhat.com>
6981 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
6983 (test_rbreak_creation_and_listing): Likewise.
6984 (test_ignore_count): Likewise.
6985 (test_error): Likewise.
6987 2014-04-15 Pedro Alves <palves@redhat.com>
6989 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
6990 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
6992 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
6993 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
6994 to sym-file-loader.c.
6995 (struct library): Forward declare.
6996 (load_shlib, lookup_function): Change prototypes.
6997 (find_shstrtab, find_strtab, find_shdr, find_symtab)
6998 (translate_offset): Remove declarations.
6999 (get_text_addr): New declaration.
7000 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7001 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7003 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7004 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7005 here from sym-file-loader.h.
7006 (struct library): New structure.
7007 (load_shlib, lookup_function): Change prototypes and adjust to
7008 work with a struct library.
7009 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7010 (translate_offset): Make static.
7011 (get_text_addr): New function.
7012 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7014 2014-04-15 Pedro Alves <palves@redhat.com>
7016 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7018 2014-04-15 Pedro Alves <palves@redhat.com>
7020 * gdb.base/sym-file-loader.c: Include <limits.h>.
7021 (SELF_LINK): New define.
7022 (get_origin): New function.
7023 (load_shlib): Use it.
7024 * gdb.base/sym-file.exp: Don't early return if the target is
7025 remote. Use runto_main, and issue fail is that fails. Use
7027 (shlib_name): Delete.
7028 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7030 2014-04-15 Pedro Alves <palves@redhat.com>
7032 * gdb.base/sym-file.exp: Remove regex characters from test
7033 message. Don't refer to breakpoint numbers in test messages.
7035 2014-04-14 Keith Seitz <keiths@redhat.com>
7038 * gdb.cp/var-tag.cc: New file.
7039 * gdb.cp/var-tag.exp: New file.
7040 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7041 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7042 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7043 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7045 2014-04-14 Tom Tromey <tromey@redhat.com>
7047 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7048 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7050 * gdb.cp/enum-class.exp: New file.
7051 * gdb.cp/enum-class.cc: New file.
7053 2014-04-14 Tom Tromey <tromey@redhat.com>
7055 * gdb.dwarf2/enum-type.exp: New file.
7057 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7059 * gdb.mi/mi-vla-c99.exp: New file.
7060 * gdb.mi/vla.c: New file.
7062 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7064 * gdb.base/vla-datatypes.c: New file.
7065 * gdb.base/vla-datatypes.exp: New file.
7067 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7069 * gdb.base/vla-ptr.c: New file.
7070 * gdb.base/vla-ptr.exp: New file.
7072 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7074 * gdb.dwarf2/count.exp: New file.
7076 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7078 * gdb.base/vla-sideeffect.c: New file.
7079 * gdb.base/vla-sideeffect.exp: New file.
7081 2014-04-14 David Blaikie <dblaikie@gmail.com>
7083 * gdb.mi/non-stop.c: Add return value for non-void function return
7085 * gdb.threads/staticthreads.c: Ditto.
7087 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7088 Doug Evans <xdje42@gmail.com>
7090 * gdb.guile/scm-value.c: Improve test case.
7091 * gdb.guile/scm-value.exp: Add new test.
7093 2014-04-11 David Blaikie <dblaikie@gmail.com>
7095 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7096 override Clang's default.
7098 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7100 Revert the following changes (regressions):
7102 * gdb.base/vla-sideeffect.c: New file.
7103 * gdb.base/vla-sideeffect.exp: New file.
7105 * gdb.dwarf2/count.exp: New file.
7107 * gdb.base/vla-multi.c: New file.
7108 * gdb.base/vla-multi.exp: New file.
7110 * gdb.base/vla-ptr.c: New file.
7111 * gdb.base/vla-ptr.exp: New file.
7113 * gdb.base/vla-datatypes.c: New file.
7114 * gdb.base/vla-datatypes.exp: New file.
7116 * gdb.mi/mi-vla-c99.exp: New file.
7117 * gdb.mi/vla.c: New file.
7119 2014-04-11 Keith Seitz <keiths@redhat.com>
7122 * gdb.cp/cpsizeof.exp: New file.
7123 * gdb.cp/cpsizeof.cc: New file.
7125 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7127 * gdb.mi/mi-vla-c99.exp: New file.
7128 * gdb.mi/vla.c: New file.
7130 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7132 * gdb.base/vla-datatypes.c: New file.
7133 * gdb.base/vla-datatypes.exp: New file.
7135 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7137 * gdb.base/vla-ptr.c: New file.
7138 * gdb.base/vla-ptr.exp: New file.
7140 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7142 * gdb.base/vla-multi.c: New file.
7143 * gdb.base/vla-multi.exp: New file.
7145 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7147 * gdb.dwarf2/count.exp: New file.
7149 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7151 * gdb.base/vla-sideeffect.c: New file.
7152 * gdb.base/vla-sideeffect.exp: New file.
7154 2014-04-11 Yao Qi <yao@codesourcery.com>
7156 * gdb.base/completion.exp: Check file exists before running tests
7159 2014-04-10 Pedro Alves <palves@redhat.com>
7161 * gdb.base/cond-eval-mode.c: New file.
7162 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7163 prepare_for_testing to build the new file. Check result of
7165 (test_break, test_watch): New procedures.
7166 (top level): Use them.
7168 2014-04-08 Pierre Muller <muller@sourceware.org>
7170 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7171 Ctrl-V use for mingw hosts.
7173 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7175 * gdb.python/py-value.c: Improve test case.
7176 * gdb.python/py-value.exp: Add new test.
7178 2014-04-07 David Blaikie <dblaikie@gmail.com>
7180 * lib/compiler.c: Identify the clang compiler.
7181 * lib/compiler.cc: Ditto.
7183 2014-04-03 Yao Qi <yao@codesourcery.com>
7185 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7187 2014-04-01 Anton Blanchard <anton@samba.org>
7189 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7192 2014-04-01 Anton Blanchard <anton@samba.org>
7194 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7195 prepare_for_testing.
7197 2014-04-01 Anton Blanchard <anton@samba.org>
7199 * gdb.arch/ppc64-atomic-inst.c: Remove.
7200 * gdb.arch/ppc64-atomic-inst.S: New file.
7201 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7203 2014-03-31 Doug Evans <dje@google.com>
7205 * gdb.base/print-symbol-loading-lib.c: New file.
7206 * gdb.base/print-symbol-loading-main.c: New file.
7207 * gdb.base/print-symbol-loading.exp: New file.
7209 2014-03-31 Yao Qi <yao@codesourcery.com>
7211 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7213 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7215 * gdb.ada/mi_dyn_arr: New testcase.
7217 2014-03-27 Doug Evans <dje@google.com>
7219 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7221 2014-03-27 Yao Qi <yao@codesourcery.com>
7223 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7224 if target is nios2-*-*.
7226 2014-03-26 Yao Qi <yao@codesourcery.com>
7228 * lib/gdb.exp (readline_is_used): New proc.
7229 * gdb.base/completion.exp: Move tests on command complete up.
7230 Skip the rest of tests if readline is not used.
7231 * gdb.ada/complete.exp: Skp the test if readline is not
7233 * gdb.base/filesym.exp: Likewise.
7234 * gdb.base/macscp.exp: Likewise.
7235 * gdb.base/readline-ask.exp: Likewise.
7236 * gdb.base/readline.exp: Likewise.
7237 * gdb.python/py-cmd.exp: Likewise.
7238 * gdb.trace/tfile.exp: Likewise.
7240 2014-03-26 Yao Qi <yao@codesourcery.com>
7242 * gdb.base/macscp.exp: Fix code format issues.
7244 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7246 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7247 * gdb.asm/powerpc64le.inc: New file.
7249 2014-03-25 Pedro Alves <palves@redhat.com>
7250 Doug Evans <dje@google.com>
7252 * gdb.base/source-execution.c: New file.
7253 * gdb.base/source-execution.exp: New file.
7254 * gdb.base/source-execution.gdb: New file.
7256 2014-03-24 Doug Evans <dje@google.com>
7258 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7261 2014-03-24 Hui Zhu <hui@codesourcery.com>
7262 Pedro Alves <palves@redhat.com>
7264 PR breakpoints/16101
7265 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7266 test pass/fail messages. Detect missing support for dprintf when
7267 breakpoints are actually inserted.
7268 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7269 breakpoints are actually inserted.
7270 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7273 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7275 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7277 2014-03-22 Doug Evans <xdje42@gmail.com>
7279 * gdb.python/python.exp (python not supported): Verify multi-line
7280 python command issues an error.
7281 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7282 guile command issues an error.
7284 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7286 * gdb.threads/thread-specific.exp: Handle the lack of usable
7287 $this_breakpoint and $this_thread.
7289 2014-03-21 Hui Zhu <hui@codesourcery.com>
7291 * gdb.base/attach.exp (do_command_attach_tests): New.
7293 2014-03-20 Tom Tromey <tromey@redhat.com>
7294 Pedro Alves <palves@redhat.com>
7297 * gdb.base/condbreak-call-false.c: New file.
7298 * gdb.base/condbreak-call-false.exp: New file.
7300 2014-03-20 Pedro Alves <palves@redhat.com>
7302 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7304 (block_signals, unblock_signals): Delete.
7305 (child_function_2, main): Remove references to deleted variable
7308 2014-03-20 Pedro Alves <palves@redhat.com>
7310 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7311 Use pthread_kill to signal thread 2.
7312 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7313 Adjust to make the test send itself a signal rather than using the
7314 host's "kill" command.
7316 2014-03-20 Pedro Alves <palves@redhat.com>
7318 * gdb.threads/multiple-step-overs.c: New file.
7319 * gdb.threads/multiple-step-overs.exp: New file.
7320 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7321 Adjust expected infrun debug output.
7323 2014-03-20 Pedro Alves <palves@redhat.com>
7325 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7326 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7328 2014-03-20 Pedro Alves <palves@redhat.com>
7331 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7332 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7333 of gdb_test_multiple.
7334 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7335 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7337 2014-03-20 Pedro Alves <palves@redhat.com>
7339 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7340 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7342 2014-03-19 Pedro Alves <palves@redhat.com>
7344 * gdb.base/async.exp: Remove early return.
7346 2014-03-19 Pedro Alves <palves@redhat.com>
7348 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7350 2014-03-19 Pedro Alves <palves@redhat.com>
7352 * gdb.base/async.exp (test_background): Expect \r\n after
7353 "completed." in the fail pattern.
7355 2014-03-19 Pedro Alves <palves@redhat.com>
7357 * gdb.base/async.exp (test_background): New procedure.
7358 Use it for all background execution command tests.
7360 2014-03-19 Pedro Alves <palves@redhat.com>
7362 * gdb.base/async.exp: Use prepare_for_testing.
7364 2014-03-19 Pedro Alves <palves@redhat.com>
7366 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7369 2014-03-19 Pedro Alves <palves@redhat.com>
7371 * gdb.base/async.c (main): Add "jump here" and "until here" line
7373 * gdb.base/async.exp (jump_here): New global.
7374 (jump& test): Use it.
7375 (until_here): New global.
7376 (until& test): Use it.
7378 2014-03-19 Pedro Alves <palves@redhat.com>
7380 * gdb.base/async.exp: Don't frob gdb_protocol.
7382 2014-03-18 Doug Evans <xdje42@gmail.com>
7384 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7385 Fix spelling of exec-done-display.
7387 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7390 * gdb.base/gdb-sigterm.c: New file.
7391 * gdb.base/gdb-sigterm.exp: New file.
7393 2014-03-18 Pedro Alves <palves@redhat.com>
7396 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7397 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7400 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7402 * gdb.ada/pckd_arr_ren: New testcase.
7404 2014-03-13 Doug Evans <xdje42@gmail.com>
7407 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7408 collect after discarding symbols.
7410 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7411 Doug Evans <xdje42@gmail.com>
7413 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7414 to history survives a gc.
7416 2014-03-13 Pedro Alves <palves@redhat.com>
7418 * gdb.base/default.exp: Don't test "target procfs".
7420 2014-03-13 Pedro Alves <palves@redhat.com>
7422 * gdb.base/default.exp: Update "target child" and "target procfs"
7423 tests to not expect "Unix".
7425 2014-03-12 Tom Tromey <tromey@redhat.com>
7427 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7428 New procs. Add target-async tests.
7429 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7430 Add target-async tests.
7432 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7434 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7435 'func_start' and 'func_end' for the beginning and end of the
7436 function code, respectively.
7437 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7438 'func_end' instead of 'func' and 'main'.
7440 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7442 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7443 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7444 generate the debug info assembler source.
7446 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7448 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7449 * gdb.dwarf2/arr-subrange.exp: Likewise.
7450 * gdb.dwarf2/dwz.exp: Likewise.
7451 * gdb.dwarf2/method-ptr.exp: Likewise.
7452 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7453 * gdb.dwarf2/subrange.exp: Likewise.
7454 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7455 * gdb.dwarf2/implptrpiece.exp: Likewise.
7456 * gdb.dwarf2/nostaticblock.exp: Likewise.
7458 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7460 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7461 directory to absolute path name arguments.
7463 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7465 * gdb.ada/tagged_access: New testcase.
7467 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7469 * gdb.btrace/data.exp: Update expected output.
7471 2014-03-06 Yao Qi <yao@codesourcery.com>
7473 * gdb.trace/pr16508.exp: New file.
7475 2014-03-05 Pedro Alves <palves@redhat.com>
7478 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7480 (top level): Adjust to use it. Add tests that exercise breakpoint
7481 interaction with the code-cache.
7483 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7485 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7486 test for 'history-append!'.
7488 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7490 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7491 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7492 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7493 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7494 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7495 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7497 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7499 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7500 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7501 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7503 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7505 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7507 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7509 * gdb.dwarf2/arr-stride.c: New file.
7510 * gdb.dwarf2/arr-stride.exp: New file.
7512 2014-02-26 Pedro Alves <palves@redhat.com>
7514 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7515 that won't ever trigger. Make sure that GDB reports the correct
7516 breakpoint that caused the stop.
7518 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7521 * gdb.base/auto-load-script: New file.
7522 * gdb.base/auto-load.c: New file.
7523 * gdb.base/auto-load.exp: New file.
7526 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7528 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7530 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7531 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7533 2014-02-24 Doug Evans <dje@google.com>
7535 * lib/gdb.exp (run_on_host): Log error output if program fails.
7537 2014-02-21 Pedro Alves <palves@redhat.com>
7539 * gdb.threads/step-after-sr-lock.c: Rename to ...
7540 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7541 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7542 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7545 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7548 * gdb.arch/amd64-stap-special-operands.exp: New file.
7549 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7550 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7551 * gdb.arch/amd64-stap-triplet.S: Likewise.
7552 * gdb.arch/amd64-stap-triplet.c: Likewise.
7554 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7556 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7557 in .section pseudo-op.
7559 2014-02-20 lin zuojian <manjian2006@gmail.com>
7560 Joel Brobecker <brobecker@adacore.com>
7561 Doug Evans <xdje42@gmail.com>
7564 * gdb.dwarf2/dw2-icycle.S: New file.
7565 * gdb.dwarf2/dw2-icycle.c: New file.
7566 * gdb.dwarf2/dw2-icycle.exp: New file.
7568 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7570 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7571 operations on gdb.Value objects.
7572 * gdb.python/py-value-cc.exp: Add new test to test operations on
7575 2014-02-18 Doug Evans <dje@google.com>
7577 * Makefile.in (TESTS): New variable.
7578 (expanded_tests, expanded_tests_or_none): New variables
7579 (check-single): Pass $(expanded_tests_or_none) to runtest.
7580 (check-parallel): Only run tests in $(TESTS) if non-empty.
7581 (check/no-matching-tests-found): New rule.
7582 * README: Document TESTS makefile variable.
7584 2014-02-18 Doug Evans <dje@google.com>
7586 * Makefile.in (check-parallel): rm -rf outputs temp.
7588 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7590 Fix "ERROR: no fileid for" in the testsuite.
7591 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7593 2014-02-12 Doug Evans <dje@google.com>
7595 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7596 (MISCELLANEOUS): New variable.
7597 (clean): rm -rf $(MISCELLANEOUS).
7598 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7599 dwp live in the same directory as symlinks, with each symlink pointed
7600 to a differently named file in a different directory.
7602 2014-02-11 Doug Evans <dje@google.com>
7604 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7605 of Tcl file commands.
7607 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7609 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7612 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7614 * gdb.ada/tick_length_array_enum_idx: New testcase.
7616 2014-02-10 Doug Evans <xdje42@gmail.com>
7618 * configure.ac (AC_OUTPUT): Add gdb.guile.
7619 * configure: Regenerate.
7620 * lib/gdb-guile.exp: New file.
7621 * lib/gdb.exp (get_target_charset): New function.
7622 * gdb.base/help.exp: Update expected output from "apropos apropos".
7623 * gdb.guile/Makefile.in: New file.
7624 * gdb.guile/guile.exp: New file.
7625 * gdb.guile/scm-arch.c: New file.
7626 * gdb.guile/scm-arch.exp: New file.
7627 * gdb.guile/scm-block.c: New file.
7628 * gdb.guile/scm-block.exp: New file.
7629 * gdb.guile/scm-breakpoint.c: New file.
7630 * gdb.guile/scm-breakpoint.exp: New file.
7631 * gdb.guile/scm-disasm.c: New file.
7632 * gdb.guile/scm-disasm.exp: New file.
7633 * gdb.guile/scm-equal.c: New file.
7634 * gdb.guile/scm-equal.exp: New file.
7635 * gdb.guile/scm-error.exp: New file.
7636 * gdb.guile/scm-error.scm: New file.
7637 * gdb.guile/scm-frame-args.c: New file.
7638 * gdb.guile/scm-frame-args.exp: New file.
7639 * gdb.guile/scm-frame-args.scm: New file.
7640 * gdb.guile/scm-frame-inline.c: New file.
7641 * gdb.guile/scm-frame-inline.exp: New file.
7642 * gdb.guile/scm-frame.c: New file.
7643 * gdb.guile/scm-frame.exp: New file.
7644 * gdb.guile/scm-generics.exp: New file.
7645 * gdb.guile/scm-gsmob.exp: New file.
7646 * gdb.guile/scm-iterator.c: New file.
7647 * gdb.guile/scm-iterator.exp: New file.
7648 * gdb.guile/scm-math.c: New file.
7649 * gdb.guile/scm-math.exp: New file.
7650 * gdb.guile/scm-objfile-script-gdb.in: New file.
7651 * gdb.guile/scm-objfile-script.c: New file.
7652 * gdb.guile/scm-objfile-script.exp: New file.
7653 * gdb.guile/scm-objfile.c: New file.
7654 * gdb.guile/scm-objfile.exp: New file.
7655 * gdb.guile/scm-ports.exp: New file.
7656 * gdb.guile/scm-pretty-print.c: New file.
7657 * gdb.guile/scm-pretty-print.exp: New file.
7658 * gdb.guile/scm-pretty-print.scm: New file.
7659 * gdb.guile/scm-section-script.c: New file.
7660 * gdb.guile/scm-section-script.exp: New file.
7661 * gdb.guile/scm-section-script.scm: New file.
7662 * gdb.guile/scm-symbol.c: New file.
7663 * gdb.guile/scm-symbol.exp: New file.
7664 * gdb.guile/scm-symtab-2.c: New file.
7665 * gdb.guile/scm-symtab.c: New file.
7666 * gdb.guile/scm-symtab.exp: New file.
7667 * gdb.guile/scm-type.c: New file.
7668 * gdb.guile/scm-type.exp: New file.
7669 * gdb.guile/scm-value-cc.cc: New file.
7670 * gdb.guile/scm-value-cc.exp: New file.
7671 * gdb.guile/scm-value.c: New file.
7672 * gdb.guile/scm-value.exp: New file.
7673 * gdb.guile/source2.scm: New file.
7674 * gdb.guile/types-module.cc: New file.
7675 * gdb.guile/types-module.exp: New file.
7677 2014-02-10 Yao Qi <yao@codesourcery.com>
7680 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7681 * configure: Regenerated.
7682 * Makefile.in: New file.
7684 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7686 * gdb.python/py-framefilter.exp: Fix typo.
7688 2014-02-08 Yao Qi <yao@codesourcery.com>
7690 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7691 that no =breakpoint-modified is emitted when breakpoints are
7692 modified through MI commands.
7694 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7695 Pedro Alves <palves@redhat.com>
7697 * gdb.threads/step-after-sr-lock.c: New file.
7698 * gdb.threads/step-after-sr-lock.exp: New file.
7700 2014-02-07 Pedro Alves <palves@redhat.com>
7702 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7704 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7706 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7707 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7709 2014-02-06 Doug Evans <xdje42@gmail.com>
7711 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7714 * gdb.gdb/python-interrupts.exp: New file.
7716 2014-02-05 Yao Qi <yao@codesourcery.com>
7718 * gdb.trace/report.exp (use_collected_data): Test the output
7719 of "info threads" and "info inferiors".
7721 2014-02-05 Yao Qi <yao@codesourcery.com>
7725 2013-05-24 Yao Qi <yao@codesourcery.com>
7727 * gdb.trace/tfile.exp: Test inferior and thread.
7729 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7731 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7733 * gdb.base/step-bt.c: Call hello via function pointer to make
7734 sure its first instruction is executed on powerpc64le-linux.
7736 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7738 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7740 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7742 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7743 of the test patterns for use on little-endian systems.
7745 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7747 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7748 (decimal_vector): Fix for little-endian.
7750 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7752 * gdb.arch/sparc-sysstep.exp: New file.
7753 * gdb.arch/sparc-sysstep.c: Likewise.
7755 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7757 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7759 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7761 2014-01-23 Tom Tromey <tromey@redhat.com>
7763 * gdb.ada/array_char_idx: New testcase.
7765 2014-01-23 Tom Tromey <tromey@redhat.com>
7768 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7769 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7772 2014-01-23 Tom Tromey <tromey@redhat.com>
7775 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7776 string from an inferior frame.
7777 * gdb.python/py-framefilter-mi.exp: Update.
7779 2014-01-22 Doug Evans <dje@google.com>
7781 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7783 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7785 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7787 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7789 * gdb.trace/entry-values.exp: Remove excess space character from
7790 regex patterns. Handle s390 call instruction.
7792 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7794 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7795 define "*_start" label. Make "name" static.
7796 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7797 ${name} by references to ${name}_start.
7799 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7801 * gdb.base/info-macros.exp: Remove "debug" from the compile
7804 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7806 * gdb.dlang/demangle.exp: New file.
7808 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7810 * gdb.dlang/primitive-types.exp: New file.
7812 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7814 * configure.ac: Create gdb.dlang/Makefile.
7815 * configure: Regenerate.
7816 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7817 * gdb.dlang/Makefile.in: New file.
7818 * lib/d-support.exp: New file.
7819 * lib/gdb.exp (skip_d_tests): New proc.
7821 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7823 * gdb.btrace/delta.exp: Check reverse stepi.
7824 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7825 * gdb.btrace/finish.exp: New.
7826 * gdb.btrace/next.exp: New.
7827 * gdb.btrace/nexti.exp: New.
7828 * gdb.btrace/record_goto.c: Add comments.
7829 * gdb.btrace/step.exp: New.
7830 * gdb.btrace/stepi.exp: New.
7831 * gdb.btrace/multi-thread-step.c: New.
7832 * gdb.btrace/multi-thread-step.exp: New.
7833 * gdb.btrace/rn-dl-bind.c: New.
7834 * gdb.btrace/rn-dl-bind.exp: New.
7835 * gdb.btrace/data.c: New.
7836 * gdb.btrace/data.exp: New.
7837 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7839 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7841 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7842 * gdb.btrace/exception.exp: Update.
7843 * gdb.btrace/instruction_history.exp: Update.
7844 * gdb.btrace/record_goto.exp: Update.
7845 * gdb.btrace/tailcall.exp: Update.
7846 * gdb.btrace/unknown_functions.exp: Update.
7847 * gdb.btrace/delta.exp: New.
7849 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7851 * gdb.btrace/record_goto.exp: Add backtrace test.
7852 * gdb.btrace/tailcall.exp: Add backtrace test.
7854 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7856 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7857 * gdb.btrace/record_goto.c: New.
7858 * gdb.btrace/record_goto.exp: New.
7859 * gdb.btrace/x86-record_goto.S: New.
7861 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7863 * gdb.btrace/function_call_history.exp: Update tests.
7864 * gdb.btrace/instruction_history.exp: Update tests.
7866 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7868 * gdb.btrace/function_call_history.exp: Fix expected field
7869 order for "record function-call-history".
7870 Add new tests for "record function-call-history /c".
7871 * gdb.btrace/exception.cc: New.
7872 * gdb.btrace/exception.exp: New.
7873 * gdb.btrace/tailcall.exp: New.
7874 * gdb.btrace/x86-tailcall.S: New.
7875 * gdb.btrace/x86-tailcall.c: New.
7876 * gdb.btrace/unknown_functions.c: New.
7877 * gdb.btrace/unknown_functions.exp: New.
7878 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7880 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7882 * gdb.btrace/instruction_history.exp: Update.
7883 * gdb.btrace/function_call_history.exp: Update.
7885 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7887 * gdb.btrace/function_call_history.exp: Fix expected function
7889 * gdb.btrace/instruction_history.exp: Initialize traced.
7890 Remove traced_functions.
7892 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7894 * gdb.btrace/function_call_history.exp: Update
7895 * gdb.btrace/instruction_history.exp: Update.
7897 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7899 * gdb.btrace/enable.exp: Update expected text.
7901 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7903 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7906 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7908 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7910 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7912 * lib/gdb.exp (supports_process_record): Return true for
7913 arm*-linux*. (supports_reverse): Likewise.
7915 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7919 * gdb.python/py-type.c: Enhance test case.
7920 * gdb.python/py-value-cc.cc: Likewise
7921 * gdb.python/py-type.exp: Add new tests.
7922 * gdb.python/py-value-cc.exp: Likewise
7924 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7925 Pedro Alves <palves@redhat.com>
7927 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
7929 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
7930 references to ${name}_start by references to ${name}.
7932 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7934 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
7936 2014-01-10 Joel Brobecker <brobecker@adacore.com>
7938 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
7940 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
7941 Pedro Alves <palves@redhat.com>
7943 * gdb.mi/mi-info-os.exp: Connect to the target with
7946 2014-01-08 Pedro Alves <palves@redhat.com>
7948 * gdb.threads/reconnect-signal.c: New file.
7949 * gdb.threads/reconnect-signal.exp: New file.
7951 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
7953 * gdb.base/source-dir.exp: New file.
7955 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7957 * gdb.ada/mi_interface: New testcase.
7959 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7961 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
7962 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
7963 gdb.ada/pp-rec-component/pck.ads: New files.
7965 2014-01-07 Joel Brobecker <brobecker@adacore.com>
7967 * gdb.python/py-pp-integral.c: New file.
7968 * gdb.python/py-pp-integral.py: New file.
7969 * gdb.python/py-pp-integral.exp: New file.
7971 For older changes see ChangeLog-1993-2013.
7977 ;; version-control: never
7980 Copyright 2014-2016 Free Software Foundation, Inc.
7981 Copying and distribution of this file, with or without modification,
7982 are permitted provided the copyright notice and this notice are preserved.