1 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
3 * boards/gdbserver-base.exp (${board}_download): Copy source file to
4 standard output directory.
6 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
8 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
10 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
12 * gdb.btrace/instruction_history.c (loop): Add declaration.
14 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
16 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
18 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
20 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
22 (continue_handler): Likewise.
24 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
26 * gdb.server/solib-list.exp: Remove is_remote check.
27 Pass shlib= to gdb_compile. Don't link shared library with
28 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
29 Run binary filename through "readlink -f" on the target.
31 2016-04-08 Pedro Alves <palves@redhat.com>
33 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
34 interpreter filename as argument to gdbserver_spawn.
35 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
36 Return empty if $last_loaded_file does not exist.
38 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
40 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
41 * gdb.base/jit-main.c: Use exit after usage.
43 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
45 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
46 GDBHISTSIZE prior to the tests.
47 * gdb.base/gdbinit-history.exp: Likewise.
49 2016-04-07 Pedro Alves <palves@redhat.com>
51 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
52 instead of build_executable. Use gdb_load_shlibs.
54 2016-04-07 Yao Qi <yao.qi@linaro.org>
56 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
59 2016-04-07 Yao Qi <yao.qi@linaro.org>
61 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
62 number instead of the comments on some line.
64 2016-04-06 Don Breazeal <donb@codesourcery.com>
66 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
67 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
69 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
71 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
72 standard_output_file. Remove unused binfile variable.
74 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
76 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
77 * gdb.python/py-mi-objfile.exp: Match "list main" output
80 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
82 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
85 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
87 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
89 * gdb.trace/ftrace.exp: Likewise.
90 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
92 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
93 (gdb_load_shlibs): Copy libraries to test directory when testing
94 natively. Only set solib-search-path if testing remotely.
95 * lib/mi-support.exp (mi_load_shlibs): Likewise.
97 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
99 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
100 gdb_download. Use it even if the target is not remote.
101 * gdb.base/jit.exp (compile_jit_test): Likewise.
102 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
103 output directory if the destination board is local, otherwise use
104 the standard remote_download from DejaGnu.
105 (gdb_download): Remove.
106 (gdb_load_shlibs): Use gdb_remote_download instead of
108 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
109 Use gdb_remote_download instead of gdb_download. Use it even if
110 the target is not remote.
111 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
112 instead of gdb_download.
114 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
116 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
117 (test_insert_delete_modify): Call mi_load_shlibs before trying to
120 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
123 * gdb.base/printcmds.exp: Add artificial arrays tests.
125 2016-03-31 Pedro Alves <palves@redhat.com>
128 * gdb.base/jit-main.c: Include unistd.h.
129 (ATTACH): Define to 0 if not already defined.
130 (wait_for_gdb, mypid): New globals.
131 (WAIT_FOR_GDB): New macro.
132 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
133 some breakpoint locations.
134 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
136 (one_jit_test): Add REATTACH parameter, and handle it. Use
137 continue_to_test_location.
138 (top level): Test attach, and adjusts calls to one_jit_test.
140 2016-03-31 Pedro Alves <palves@redhat.com>
143 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
144 BINSUFFIX parameter, and handle it.
145 (top level): Adjust calls compile_jit_test.
147 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
150 * gdb.python/py-mi-events-gdb.py: New file.
151 * gdb.python/py-mi-events.c: New file.
152 * gdb.python/py-mi-events.exp: New file.
154 2016-03-30 Yao Qi <yao.qi@linaro.org>
156 * gdb.reverse/until-precsave.exp: Match function name only.
157 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
158 Move malloc to a condition block.
159 * gdb.reverse/until-reverse.exp: Match function name only.
161 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
163 * gdb.trace/ftrace.exp: Set arg0exp for s390.
164 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
165 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
166 variable for GPR 0 instead of assuming it is register 0.
167 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
168 * lib/trace-support.exp: Add s390 registers.
170 2016-03-29 Yao Qi <yao.qi@linaro.org>
172 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
174 2016-03-24 Yao Qi <yao.qi@linaro.org>
176 * gdb.reverse/break-reverse.exp: Add quotation mark in the
179 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
181 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
182 maintaining separate logic for constructing the output path.
184 2016-03-16 Don Breazeal <donb@codesourcery.com>
186 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
187 Retry fork and waitpid on interrupted system call errors.
188 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
189 Use with_timeout_factor to increase timeout by factor of 10.
191 2016-03-15 Don Breazeal <donb@codesourcery.com>
193 * gdb.cp/scope-err.cc: New test program.
194 * gdb.cp/scope-err.exp: New test script.
195 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
196 lines and "set breakpoint here" comment.
197 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
198 Fixed some whitespace and format issues.
199 * gdb.mi/mi-linespec-err-cp.cc: New test program.
200 * gdb.mi/mi-linespec-err-cp.exp: New test script.
202 2016-03-15 Doug Evans <dje@google.com>
204 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
205 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
206 All callers updated. Add tests for enums, mixed flags register.
208 2016-03-15 Doug Evans <dje@google.com>
210 * gdb.base/skip.c (main): Call test_skip_file_and_function.
211 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
213 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
215 * gdb.base/default.exp: Add $_as_string to the list of expected
216 convenience functions.
218 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
220 * gdb.base/maint.exp: New tests for 'maint info line-table'.
222 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
224 * gdb.python/py-as-string.exp: New file.
225 * gdb.python/py-as-string.c: New file.
227 2016-03-09 Pedro Alves <palves@redhat.com>
229 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
230 signal" -> "Thread NN received signal" output change.
231 * gdb.threads/ia64-sigill.exp: Likewise.
232 * gdb.threads/linux-dp.exp: Likewise.
233 * gdb.threads/manythreads.exp: Likewise.
234 * gdb.threads/pending-step.exp: Likewise.
235 * gdb.threads/print-threads.exp: Likewise.
236 * gdb.threads/sigstep-threads.exp: Likewise.
237 * gdb.threads/staticthreads.exp: Likewise.
238 * gdb.threads/tls.exp: Likewise.
240 2016-03-09 Pedro Alves <palves@redhat.com>
242 * gdb.base/command-line-input.exp: New file.
244 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
246 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
247 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
248 * gdb.trace/pending.exp: Accept leading dot before function name.
249 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
250 * lib/trace-support.exp: Set registers for ppc.
252 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
254 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
255 use it for disassembly; accept .main in addition to main in backtrace.
257 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
258 Marcin Kościelnicki <koriakin@0x04.net>
260 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
261 (gdb_recursion_test_ptr): New global variable.
262 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
266 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
268 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
271 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
273 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
274 (bar): Add bar_start_lbl label.
275 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
276 of foo/bar for emitting DWARF and tracing.
278 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
280 * analyze-racy-logs.py: Set executable bit.
282 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
284 * Makefile.in (DEFAULT_RACY_ITER): New variable.
285 (CHECK_TARGET_TMP): Likewise.
286 (check-single-racy): New rule.
287 (check-parallel-racy): Likewise.
288 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
289 (do-check-parallel-racy): New rule.
290 (check-racy/%.exp): Likewise.
291 * README (Racy testcases): New section.
292 * analyze-racy-logs.py: New file.
294 2016-03-03 Doug Evans <dje@google.com>
296 * gdb.base/skip.exp: Use with_test_prefix.
298 2016-03-03 Yao Qi <yao.qi@linaro.org>
300 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
301 Invoke step_over_syscall "clone" and break_cond_on_syscall
303 * gdb.base/step-over-clone.c: New file.
305 2016-03-03 Yao Qi <yao.qi@linaro.org>
307 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
310 2016-03-03 Yao Qi <yao.qi@linaro.org>
312 * gdb.base/disp-step-fork.c: Rename to ...
313 * gdb.base/step-over-fork.c: ... it. New file.
314 * gdb.base/disp-step-vfork.c: Rename to ...
315 * gdb.base/step-over-vfork.c: ... it. New file.
316 * gdb.base/disp-step-syscall.exp: Rename to ...
317 * gdb.base/step-over-syscall.exp: ... it. New file.
318 (disp_step_cross_syscall): Rename to ...
319 (step_over_syscall): ... it.
321 2016-03-03 Yao Qi <yao.qi@linaro.org>
323 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
324 If target supports condition evaluation on target, invoke
325 break_cond_on_syscall for fork and vfork.
327 2016-03-03 Yao Qi <yao.qi@linaro.org>
329 * gdb.base/disp-step-syscall.exp: Don't invoke
330 support_displaced_stepping.
331 (disp_step_cross_syscall): Test with displaced stepping off and
334 2016-03-03 Yao Qi <yao.qi@linaro.org>
336 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
339 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
342 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
344 * gdb.fortran/vla-history.exp: Remove breakpoint.
346 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
348 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
350 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
352 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
354 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
356 * gdb.mi/vla.f90: Nullify pointer after declaration.
358 2016-03-01 Pedro Alves <palves@redhat.com>
360 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
362 2016-03-01 Pedro Alves <palves@redhat.com>
364 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
365 before anything else.
366 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
368 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
369 before anything else.
370 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
372 2016-03-01 Pedro Alves <palves@redhat.com>
374 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
376 2016-03-01 Yao Qi <yao.qi@linaro.org>
378 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
381 2016-03-01 Yao Qi <yao.qi@linaro.org>
383 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
385 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
387 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
388 manually constructing the output path.
390 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
392 * gdb.arch/s390-stackless.S: New.
393 * gdb.arch/s390-stackless.exp: New.
395 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
397 * gdb.dlang/circular.c: New file.
398 * gdb.dlang/circular.exp: New file.
400 2016-02-26 Yao Qi <yao.qi@linaro.org>
402 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
403 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
406 2016-02-26 Yao Qi <yao.qi@linaro.org>
408 * gdb.reverse/aarch64.c: Rename to ...
409 * gdb.reverse/insn-reverse.c: ... it.
410 * gdb.reverse/aarch64.exp: Rename to ...
411 * gdb.reverse/insn-reverse.exp: ... it.
413 2016-02-26 Yao Qi <yao.qi@linaro.org>
415 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
416 (testcase_ftype): New.
417 (testcases): New array.
419 (main): Call each element in testcases.
420 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
421 (read_testcase): New.
422 Do the tests in a loop.
424 2016-02-25 Yao Qi <yao.qi@linaro.org>
426 * gdb.base/branches.c: Remove.
428 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
431 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
433 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
435 * gdb.trace/ftrace.exp: Remove unnecessary target check.
437 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
439 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
440 change x86_64 call_insn to 'callq'.
442 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
444 * gdb.trace/tfile-avx.c: Move to...
445 * gdb.trace/tracefile-pseudo-reg.c: Here.
446 * gdb.trace/tfile-avx.exp: Move to...
447 * gdb.trace/tracefile-pseudo-reg.exp: Here.
449 2016-02-24 Gary Benson <gbenson@redhat.com>
451 * gdb.base/attach-pie-noexec.exp: Do not expect an error
454 2016-02-23 Doug Evans <dje@google.com>
456 * gdb.base/skip.c (test_skip): New function.
457 (end_test_skip_file_and_function): New function.
458 (test_skip_file_and_function): New function.
459 * gdb.base/skip1.c (test_skip): New function.
460 (skip1_test_skip_file_and_function): New function.
461 * gdb.base/skip.exp: Add tests for new skip options.
462 * gdb.base/skip-solib.exp: Update expected output.
463 * gdb.perf/skip-command.cc: New file.
464 * gdb.perf/skip-command.exp: New file.
465 * gdb.perf/skip-command.py: New file.
467 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
469 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
470 info registers pattern.
472 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
474 * lib/future.exp: Add D support.
475 (gdb_find_gdc): New proc.
476 (gdb_default_target_compile): Add D support.
478 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
480 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
482 (trace_speed_test): Determine the iteration count for a time
483 between 15..30 seconds.
485 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
487 * gdb.arch/i386-mpx-sigsegv.c: New file.
488 * gdb.arch/i386-mpx-sigsegv.exp: New file.
489 * gdb.arch/i386-mpx-simple_segv.c: New file.
490 * gdb.arch/i386-mpx-simple_segv.exp: New file.
492 2016-02-18 Yao Qi <yao.qi@linaro.org>
494 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
495 Don't call setup_kfail.
497 2016-02-18 Yao Qi <yao.qi@linaro.org>
499 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
500 Set "set breakpoint condition-evaluation" per $cond_bp_target.
502 2016-02-16 Doug Evans <dje@google.com>
504 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
505 * gdb.base/skip1.c: Ditto.
506 * gdb.base/skip.exp: Whitespace cleanup.
508 2016-02-16 Don Breazeal <donb@codesourcery.com>
511 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
512 Remove kfail for PR remote/19496.
514 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
516 * lib/gdb.exp (standard_temp_file): Return a path specific to
517 the runtest invocation.
519 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
521 * gdb.trace/save-trace.exp: Change relative path to be in the
522 standard output directory.
524 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
526 * gdb.arch/i386-prologue.c: Add missing prototypes.
528 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
530 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
531 * gdb.arch/i386-prologue.exp: Likewise.
532 * gdb.arch/i386-size.exp: Likewise.
534 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
536 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
537 define object file path.
538 * gdb.btrace/gcore.exp: Use standard_output_file to define core
540 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
541 standard_output_file to define binfile.
543 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
545 Fix compatibility with recent gfortran-5.3.1.
546 * gdb.fortran/vla-history.exp (print vla1 allocated)
547 (print vla2 allocated, print $2, print $3): Remove
548 (print $4): Rename to ...
549 (print $2): ... here.
550 (print $9): Rename to ...
551 (print $5): ... here.
552 (print $10): Rename to ...
553 (print $6): ... here.
554 * gdb.fortran/vla.f90: Add pvla initialization.
556 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
558 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
560 * gdb.fortran/vla-value-sub.exp: Likewise.
562 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
564 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
566 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
568 * i386-biarch-core.exp: Define corefile using
569 standard_output_file.
571 2016-02-12 Yao Qi <yao.qi@linaro.org>
573 * gdb.arch/arm-single-step-kernel-helper.c: New.
574 * gdb.arch/arm-single-step-kernel-helper.exp: New.
576 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
578 * gdb.btrace/tailcall-only.exp: New.
579 * gdb.btrace/tailcall-only.c: New.
580 * gdb.btrace/x86_64-tailcall-only.S: New.
581 * gdb.btrace/i686-tailcall-only.S: New.
583 2016-02-11 Pedro Alves <palves@redhat.com>
585 * README (Parallel testing): Add missing double quotes.
587 2016-02-11 Pedro Alves <palves@redhat.com>
589 * README (Parallel testing): New section.
590 (GDB_PARALLEL): Rewrite.
591 (FORCE_PARALLEL): Document.
593 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
595 * gdb.trace/tfile-avx.c: New test.
596 * gdb.trace/tfile-avx.exp: New test.
598 2016-02-09 Keith Seitz <keiths@redhat.com>
601 * gdb.base/infcall-exec.c: New file.
602 * gdb.base/infcall-exec2.c: New file.
603 * gdb.base/infcall-exec.exp: New file.
605 2016-02-09 Keith Seitz <keiths@redhat.com>
607 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
608 (toplevel): Call test_bkpt_address.
610 2016-02-09 Keith Seitz <keiths@redhat.com>
613 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
614 (toplevel): Call test_bkpt_address.
616 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
618 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
620 * configure: Regenerate.
622 2016-02-09 Pedro Alves <palves@redhat.com>
625 * gdb.base/execl-update-breakpoints.c (some_function): New
628 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
629 Tighten expected GDB output.
631 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
633 * Makefile.in (ALL_SUBDIRS): Remove.
634 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
635 (distclean maintainer-clean realclean): Likewise.
636 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
637 * configure: Regenerate.
638 * gdb.ada/Makefile.in: Delete.
639 * gdb.arch/Makefile.in: Likewise.
640 * gdb.asm/Makefile.in: Likewise.
641 * gdb.base/Makefile.in: Likewise.
642 * gdb.btrace/Makefile.in: Likewise.
643 * gdb.cell/Makefile.in: Likewise.
644 * gdb.compile/Makefile.in: Likewise.
645 * gdb.cp/Makefile.in: Likewise.
646 * gdb.disasm/Makefile.in: Likewise.
647 * gdb.dlang/Makefile.in: Likewise.
648 * gdb.dwarf2/Makefile.in: Likewise.
649 * gdb.fortran/Makefile.in: Likewise.
650 * gdb.gdb/Makefile.in: Likewise.
651 * gdb.go/Makefile.in: Likewise.
652 * gdb.guile/Makefile.in: Likewise.
653 * gdb.java/Makefile.in: Likewise.
654 * gdb.linespec/Makefile.in: Likewise.
655 * gdb.mi/Makefile.in: Likewise.
656 * gdb.modula2/Makefile.in: Likewise.
657 * gdb.multi/Makefile.in: Likewise.
658 * gdb.objc/Makefile.in: Likewise.
659 * gdb.opencl/Makefile.in: Likewise.
660 * gdb.opt/Makefile.in: Likewise.
661 * gdb.pascal/Makefile.in: Likewise.
662 * gdb.perf/Makefile.in: Likewise.
663 * gdb.python/Makefile.in: Likewise.
664 * gdb.reverse/Makefile.in: Likewise.
665 * gdb.server/Makefile.in: Likewise.
666 * gdb.stabs/Makefile.in: Likewise.
667 * gdb.threads/Makefile.in: Likewise.
668 * gdb.trace/Makefile.in: Likewise.
669 * gdb.xml/Makefile.in: Likewise.
670 * lib/gdb.exp (make_gdb_parallel_path): Add check for
672 (standard_output_file): Remove check for GDB_PARALLEL, always
673 return path in outputs/$subdir/$testname.
675 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
677 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
678 (site.exp): Assign abs_srcdir to tcl's srcdir.
680 2016-02-04 Yao Qi <yao.qi@linaro.org>
682 * gdb.base/foll-exec-mode.c: Include limits.h.
683 (main): Add parameters argc and argv. Get directory from
685 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
687 * gdb.base/foll-exec.c: Include limits.h.
688 (main): Add parameters argc and argv.
689 Get directory from argv[0].
690 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
691 Adjust tests on the number of lines as source code changed.
692 * gdb.base/foll-vfork-exit.c: Include limits.h.
693 (main): Add one line of statement before vfork.
694 * gdb.base/foll-vfork.c: Include limits.h and string.h.
695 (main): Add parameters argc and argv. Get directory from
697 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
698 (setup_gdb): Set tbreak to skip some source lines.
699 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
700 (main): Add parameters argc and argv. Get directory from
702 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
704 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
705 (main): Add parameters argc and argv. Get directory from
707 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
710 2016-02-01 Doug Evans <dje@google.com>
712 * gdb.base/skip.exp: Clean up multiple references to same test name.
714 2016-02-01 Pedro Alves <palves@redhat.com>
717 * gdb.threads/forking-threads-plus-breakpoint.exp
718 (displaced_stepping_supported): New global.
719 (probe_displaced_stepping_support): New procedure.
720 (do_test): Add 'displaced' parameter, and use it.
721 (top level): Check for displaced stepping support. Add displaced
722 stepping on/off testing axis.
724 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
726 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
727 pointer. Don't perform further tests on the unassociated pointer
728 if the first test fails.
730 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
732 * gdb.base/max-value-size.c: New file.
733 * gdb.base/max-value-size.exp: New file.
734 * gdb.base/huge.exp: Disable max-value-size for this test.
736 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
738 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
740 2016-01-28 Yao Qi <yao.qi@linaro.org>
742 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
744 2016-01-25 Pedro Alves <palves@redhat.com>
747 * gdb.base/fork-running-state.c: New file.
748 * gdb.base/fork-running-state.exp: New file.
750 2016-01-25 Pedro Alves <palves@redhat.com>
753 * gdb.base/catch-fork-kill.c: New file.
754 * gdb.base/catch-fork-kill.exp: New file.
756 2016-01-25 Pedro Alves <palves@redhat.com>
758 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
759 Delete, moved to lib/gdb.exp.
760 * gdb.threads/forking-threads-plus-breakpoint.exp
761 (foreach_with_prefix): Likewise.
762 * gdb.threads/process-dies-while-handling-bp.exp
763 (foreach_with_prefix): Likewise.
764 * lib/gdb.exp (foreach_with_prefix): New procedure.
766 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
768 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
769 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
771 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
773 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
776 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
777 Pedro Alves <palves@redhat.com>
779 Fix testsuite compatibility with Guile.
780 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
783 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
785 Fix testsuite compatibility with Guile.
786 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
787 (thread 1): New test for backtrace through signal handler.
789 2016-01-22 Yao Qi <yao.qi@linaro.org>
792 * gdb.base/multi-forks.c: Include
793 ../lib/unbuffer_output.c
794 (main): Call gdb_unbuffer_output.
796 2016-01-21 Doug Evans <dje@google.com>
798 * lib/ada.exp (gdb_compile_ada): Fix typo.
800 2016-01-21 Joel Brobecker <brobecker@adacore.com>
802 * gdb.base/break-fun-addr.exp: New file.
803 * gdb.base/break-fun-addr1.c: New file.
804 * gdb.base/break-fun-addr2.c: New file.
806 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
808 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
809 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
812 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
814 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
815 when GDB can not set the vector return value. Add more comments
818 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
820 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
823 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
825 * Makefile.in (DO_RUNTEST): Add --status and update usages.
827 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
829 * Makefile.in (check-single): Pass --status to runtest.
830 (check/%.exp): Likewise.
832 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
834 * Makefile.in (check-parallel): Propagate return code from make
837 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
839 * gdb.trace/ftrace.exp: Fix expected message on continue.
840 * gdb.trace/pending.exp: Fix expected message on continue.
841 * gdb.trace/trace-break.exp: Fix expected message on continue.
843 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
845 * lib/gdb.exp (gdb_test): Remove unused global references.
847 2016-01-18 Pedro Alves <palves@redhat.com>
849 * gdb.base/async-shell.exp: Adjust expected output.
850 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
851 * gdb.base/siginfo-thread.exp: Adjust expected output.
852 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
853 * gdb.java/jnpe.exp: Adjust expected output.
854 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
855 * gdb.threads/continue-pending-status.exp: Adjust expected output.
856 * gdb.threads/leader-exit.exp: Adjust expected output.
857 * gdb.threads/manythreads.exp: Adjust expected output.
858 * gdb.threads/pthreads.exp: Adjust expected output.
859 * gdb.threads/schedlock.exp: Adjust expected output.
860 * gdb.threads/siginfo-threads.exp: Adjust expected output.
861 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
863 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
865 * gdb.threads/sigthread.exp: Adjust expected output.
866 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
868 2016-01-18 Yao Qi <yao.qi@linaro.org>
870 * gdb.guile/scm-section-script.c: Replace @progbits with
872 * gdb.python/py-section-script.c: Likewise.
874 2016-01-15 Pedro Alves <palves@redhat.com>
876 * gdb.multi/tids.exp: Test star wildcard ranges.
878 2016-01-15 Pedro Alves <palves@redhat.com>
880 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
881 command from "thread apply" invocation.
882 (thr_apply_info_thr_invalid): Default the expected output to the
884 (top level): Add tests that use convenience variables. Add tests
885 for "thread apply" with a valid TID list, but missing the command.
887 2016-01-13 Pedro Alves <palves@redhat.com>
889 * gdb.base/default.exp: Expect $_gthread as well.
890 * gdb.multi/tids.exp: Test $_gthread.
891 * gdb.threads/thread-specific.exp: Test $_gthread.
893 2016-01-13 Pedro Alves <palves@redhat.com>
895 * gdb.multi/tids.exp: Test "info threads -gid".
897 2016-01-13 Pedro Alves <palves@redhat.com>
899 * gdb.multi/tids.exp: Test InferiorThread.global_num and
901 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
903 2016-01-07 Pedro Alves <palves@redhat.com>
905 * gdb.base/break.exp: Adjust to output changes.
906 * gdb.base/hbreak2.exp: Likewise.
907 * gdb.base/sepdebug.exp: Likewise.
908 * gdb.base/watch_thread_num.exp: Likewise.
909 * gdb.linespec/keywords.exp: Likewise.
910 * gdb.multi/info-threads.exp: Likewise.
911 * gdb.threads/thread-find.exp: Likewise.
912 * gdb.multi/tids.c: New file.
913 * gdb.multi/tids.exp: New file.
915 2016-01-13 Pedro Alves <palves@redhat.com>
917 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
919 2016-01-13 Pedro Alves <palves@redhat.com>
921 * gdb.base/default.exp: Expect $_inferior as well.
922 * gdb.multi/base.exp: Test $_inferior.
924 2016-01-13 Pedro Alves <palves@redhat.com>
927 * gdb.base/catch-signal-siginfo-cond.c: New file.
928 * gdb.base/catch-signal-siginfo-cond.exp: New file.
930 2016-01-12 Josh Stone <jistone@redhat.com>
931 Philippe Waroquiers <philippe.waroquiers@skynet.be>
933 * gdb.base/catch-syscall.c (do_execve): New variable.
934 (main): Conditionally trigger an execve.
935 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
936 (test_catch_syscall_execve): New, check entry/return across execve.
937 (do_syscall_tests): Call test_catch_syscall_execve.
939 2016-01-12 Pedro Alves <palves@redhat.com>
941 * gdb.base/random-signal.exp (do_test): New procedure, with body
942 of testcase moved in.
944 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
945 Pedro Alves <palves@redhat.com>
947 * gdb.base/funcargs.exp (finish from indirectly called function):
948 Reintroduce the case for 'First'.
950 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
951 Pedro Alves <palves@redhat.com>
953 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
954 (tcatch_vfork_then_child_follow_exec)
955 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
958 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
960 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
961 and repeats to unlimited.
962 * gdb.python/py-value.exp: Likewise.
963 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
964 and repeats to unlimited.
966 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
968 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
969 and reordering the functions.
970 * gdb.multi/hangout.c: Likewise.
971 * gdb.multi/hello.c: Likewise.
973 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
975 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
977 (SingleStatisticTestResult.report): Use dict.keys instead of
980 2016-01-06 Pedro Alves <palves@redhat.com>
982 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
984 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
986 * gdb.btrace/dlopen.exp: New.
987 * gdb.btrace/dlopen.c: New.
988 * gdb.btrace/dlopen-dso.c: New.
990 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
992 * lib/gdb.exp (gdb_test): Update comments to clarify that the
993 PATTERN argument is optional.
995 2015-12-24 Joel Brobecker <brobecker@adacore.com>
997 * lib/ada.exp (target_compile_ada_from_dir): New function.
998 (gdb_compile_ada): Reimplement avoiding the use of project files.
999 * gdb.ada/gnat_ada.gpr: Delete.
1000 * gdb.ada/cond_lang.exp: Adjust test to make path before
1002 * gdb.ada/small_reg_param.exp: Likewise.
1004 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1006 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1008 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1010 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1013 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1015 * gdb.base/break.exp: Remove dead code.
1016 * gdb.base/sepdebug.exp: Likewise.
1018 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1020 * gdb.asm/asm-source.exp: Remove HP-UX references.
1021 * gdb.base/annota1.exp: Likewise.
1022 * gdb.base/annota3.exp: Likewise.
1023 * gdb.base/attach.exp: Likewise.
1024 * gdb.base/bigcore.exp: Likewise.
1025 * gdb.base/break.exp: Likewise.
1026 * gdb.base/call-ar-st.exp: Likewise.
1027 * gdb.base/callfuncs.exp: Likewise.
1028 * gdb.base/catch-fork-static.exp: Likewise.
1029 * gdb.base/display.exp: Likewise.
1030 * gdb.base/foll-exec-mode.exp: Likewise.
1031 * gdb.base/foll-exec.exp: Likewise.
1032 * gdb.base/foll-fork.exp: Likewise.
1033 * gdb.base/foll-vfork.exp: Likewise.
1034 * gdb.base/funcargs.exp: Likewise.
1035 * gdb.base/hbreak2.exp: Likewise.
1036 * gdb.base/inferior-died.exp: Likewise.
1037 * gdb.base/interrupt.exp: Likewise.
1038 * gdb.base/multi-forks.exp: Likewise.
1039 * gdb.base/nodebug.exp: Likewise.
1040 * gdb.base/sepdebug.exp: Likewise.
1041 * gdb.base/solib1.c: Likewise.
1042 * gdb.base/step-test.exp: Likewise.
1043 * gdb.mi/non-stop.c: Likewise.
1044 * gdb.mi/pthreads.c: Likewise.
1045 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1046 * gdb.threads/pthreads.c: Likewise.
1047 * gdb.threads/staticthreads.exp: Likewise.
1048 * lib/future.exp: Likewise.
1049 * lib/gdb.exp: Likewise.
1050 * gdb.base/so-indr-cl.c: Remove.
1051 * gdb.base/so-indr-cl.exp: Likewise.
1052 * gdb.base/solib.c: Likewise.
1053 * gdb.base/solib.exp: Likewise.
1054 * gdb.base/solib2.c: Likewise.
1056 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1058 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1059 * gdb.base/call-ar-st.exp: Likewise.
1060 * gdb.base/callfuncs.exp: Likewise.
1061 * gdb.base/condbreak.exp: Likewise.
1062 * gdb.base/constvars.exp: Likewise.
1063 * gdb.base/hbreak2.exp: Likewise.
1064 * gdb.base/langs.exp: Likewise.
1065 * gdb.base/list.exp: Likewise.
1066 * gdb.base/long_long.exp: Likewise.
1067 * gdb.base/ptype.exp: Likewise.
1068 * gdb.base/scope.exp: Likewise.
1069 * gdb.base/signals.exp: Likewise.
1070 * gdb.base/so-impl-ld.exp: Likewise.
1071 * gdb.base/varargs.exp: Likewise.
1072 * gdb.base/volatile.exp: Likewise.
1073 * gdb.base/whatis.exp: Likewise.
1074 * gdb.cp/cplusfuncs.exp: Likewise.
1075 * gdb.cp/inherit.exp: Likewise.
1076 * gdb.cp/local.exp: Likewise.
1077 * gdb.cp/member-ptr.exp: Likewise.
1078 * gdb.cp/method.exp: Likewise.
1079 * gdb.cp/overload.exp: Likewise.
1080 * gdb.cp/templates.exp: Likewise.
1081 * gdb.stabs/weird.exp: Likewise.
1082 * lib/compiler.c: Likewise.
1083 * lib/compiler.cc: Likewise.
1084 * lib/cp-support.exp: Likewise.
1085 * lib/gdb.exp: Likewise.
1087 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1089 * configure.ac: Remove HP-UX case.
1090 * configure: Regenerate.
1092 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1094 * lib/gdb.exp (gdb_compile): Add function doc.
1096 2015-12-17 Pedro Alves <palves@redhat.com>
1099 * gdb.multi/info-threads.exp: New file.
1101 2015-12-15 Yao Qi <yao.qi@linaro.org>
1103 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1106 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1108 * gdb.base/history-duplicates.exp: Skip if no readline support.
1110 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1112 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1114 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1116 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1118 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1120 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1121 ctrl-C if nointerrupts target property is set.
1122 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1123 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1124 * gdb.base/paginate-bg-execution.exp: Likewise.
1125 * gdb.base/paginate-execution-startup.exp: Likewise.
1126 * gdb.base/random-signal.exp: Likewise.
1127 * gdb.base/range-stepping.exp: Likewise.
1128 * gdb.cp/annota2.exp: Likewise.
1129 * gdb.cp/annota3.exp: Likewise.
1130 * gdb.gdb/selftest.exp: Likewise.
1131 * gdb.threads/continue-pending-status.exp: Likewise.
1132 * gdb.threads/leader-exit.exp: Likewise.
1133 * gdb.threads/manythreads.exp: Likewise.
1134 * gdb.threads/pthreads.exp: Likewise.
1135 * gdb.threads/schedlock.exp: Likewise.
1136 * gdb.threads/sigthread.exp: Likewise.
1138 2015-12-11 Don Breazeal <donb@codesourcery.com>
1140 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1142 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1143 * gdb.base/foll-exec.exp (main): Enable for target remote.
1144 * gdb.base/foll-fork.exp (main): Likewise.
1145 * gdb.base/foll-vfork.exp (main): Likewise.
1146 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1147 (proc continue_to_exit_bp_loc): Use clean_restart.
1148 * gdb.base/pie-execl.exp (main): Disable for target remote.
1149 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1150 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1151 * gdb.threads/execl.exp (main): Likewise.
1152 * gdb.threads/fork-child-threads.exp (main): Likewise.
1153 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1155 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1157 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1158 pid.tid style ptids, instead of just tid.
1159 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1160 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1161 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1162 ptids, instead of just tid.
1164 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1166 * gdb.base/list.exp (test_list_forward): Add end of file error
1168 (test_repeat_list_command): Add end of file error test.
1169 (test_list_backwards): Add beginning of file error test.
1171 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1173 * gdb.base/list.exp (test_list_invalid_args): New function,
1174 defined, and called.
1176 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1178 * gdb.base/list.exp (test_list): Make test names unique.
1180 2015-12-11 Yao Qi <yao.qi@linaro.org>
1182 * gdb.base/coremaker2.c: Remove.
1184 2015-12-10 Pedro Alves <palves@redhat.com>
1186 * gdb.multi/base.exp: Remove stale "spaces" references.
1188 2015-12-10 Pedro Alves <palves@redhat.com>
1190 * gdb.multi/base.exp: Don't use nowarnings.
1191 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1192 * gdb.multi/hangout.c: Include stdio.h.
1193 * gdb.multi/hello.c: Include stdlib.h.
1194 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1195 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1196 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1198 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1200 * gdb.dwarf2/dw2-ranges-base.c: New file.
1201 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1202 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1203 support additional line table, and debug ranges generation.
1204 (Dwarf::ranges): New function, generate .debug_ranges.
1205 (Dwarf::lines): Support generating simple line table programs.
1206 (Dwarf::assemble): Initialise new namespace variables.
1208 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1210 * gdb.base/async.exp (proc test_background): Add case for
1211 asynchronous execution not supported.
1213 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1215 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1216 format and change test names to make them unique.
1218 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1219 Pedro Alves <pedro@redhat.com>
1222 Add checking of floatformats setup on x86_64 hosts.
1223 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1224 (smallval, bigval): New labels/constants.
1225 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1226 float" after loading bigval and smallval.
1228 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1230 * gdb.ada/fun_overload_menu.exp: New testcase.
1231 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1233 2015-12-04 Josh Stone <jistone@redhat.com>
1235 * gdb.base/catch-fork-static.exp: New.
1237 2015-12-03 Yao Qi <yao.qi@linaro.org>
1239 * gdb.base/sizeof.c: Don't include stdio.h and
1240 ../lib/unbuffer_output.c.
1241 (main): New variable 'size' and 'value'. Remove printf and
1242 gdb_unbuffer_output. Assign return value to size and value.
1243 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1245 (check_sizeof): Check the result by printing variable 'size'.
1246 (check_valueof): Check the result by printing variable 'value'.
1248 2015-12-01 Yao Qi <yao.qi@linaro.org>
1250 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1251 for aarch64*-*-linux* target.
1253 2015-11-30 Pedro Alves <palves@redhat.com>
1255 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1257 2015-11-30 Pedro Alves <palves@redhat.com>
1259 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1260 Handle non-stop mode vCont replies.
1262 2015-11-30 Pedro Alves <palves@redhat.com>
1264 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1265 prepare_for_testing. Start gdb with "set non-stop on" appended to
1266 GDBFLAGS. Lax expected stop output.
1268 2015-11-27 Yao Qi <yao.qi@linaro.org>
1270 * gdb.arch/arm-neon.exp: New.
1271 * gdb.arch/arm-neon.c: New.
1273 2015-11-27 Yao Qi <yao.qi@linaro.org>
1275 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1277 2015-11-27 Yao Qi <yao.qi@linaro.org>
1279 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1280 frames-invalid annotation.
1282 2015-11-27 Yao Qi <yao.qi@linaro.org>
1284 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1286 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1288 * gdb.threads/names.exp: New file.
1289 * gdb.threads/names.c: New file.
1290 * README: Mention gdb,no_thread_names.
1292 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1295 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1298 2015-11-24 Pedro Alves <palves@redhat.com>
1301 * gdb.base/display.exp: Expect displays to be sorted in ascending
1302 order. Use multi_line.
1303 * gdb.base/solib-display.exp: Likewise.
1305 2015-11-24 Pedro Alves <palves@redhat.com>
1308 * gdb.base/display.exp: Expect displays to be sorted in ascending
1309 order. Use multi_line.
1310 * gdb.base/solib-display.exp: Likewise.
1312 2015-11-24 Pedro Alves <palves@redhat.com>
1315 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1316 threads in ascending order.
1317 * gdb.base/foll-fork.exp: Likewise.
1318 * gdb.base/foll-vfork.exp: Likewise.
1319 * gdb.base/multi-forks.exp: Likewise.
1320 * gdb.mi/mi-nonstop.exp: Likewise.
1321 * gdb.mi/mi-nsintrall.exp: Likewise.
1322 * gdb.multi/base.exp: Likewise.
1323 * gdb.multi/multi-arch.exp: Likewise.
1324 * gdb.python/py-inferior.exp: Likewise.
1325 * gdb.threads/break-while-running.exp: Likewise.
1326 * gdb.threads/execl.exp: Likewise.
1327 * gdb.threads/gcore-thread.exp: Likewise.
1328 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1329 * gdb.threads/kill.exp: Likewise.
1330 * gdb.threads/linux-dp.exp: Likewise.
1331 * gdb.threads/multiple-step-overs.exp: Likewise.
1332 * gdb.threads/next-bp-other-thread.exp: Likewise.
1333 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1334 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1335 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1336 * gdb.threads/thread-find.exp: Likewise.
1337 * gdb.threads/tls.exp: Likewise.
1338 * lib/mi-support.exp (mi_reverse_list): Delete.
1339 (mi_check_thread_states): No longer reverse list.
1341 2015-11-24 Pedro Alves <palves@redhat.com>
1343 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1346 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1348 * gdb.trace/actions.c: Include trace-common.h.
1349 (main): Add a location for a fast tracepoint.
1350 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1351 the normal tracepoints.
1352 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1354 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1356 * save-trace.exp: Factor out code to these...
1357 (gdb_save_tracepoints): New.
1358 (gdb_load_tracepoints): New.
1359 (do_save_load_test): New.
1361 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1363 * gdb.base/asmlabel.exp: New test.
1364 * gdb.base/asmlabel.c: New test case.
1366 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1368 * gdb.base/wrong_frame_bt_full-main.c: New file.
1369 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1370 * gdb.base/wrong_frame_bt_full.exp: New file.
1372 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1374 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1376 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1378 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1379 pstate register when comparing registers values in
1380 sparc64-*-linux-gnu targets to avoid spurious differences.
1382 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1384 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1386 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1388 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1389 as type argument to gdb_compile.
1390 * gdb.base/nested-subp2.exp: Likewise.
1391 * gdb.base/nested-subp3.exp: Likewise.
1393 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1395 * lib/dwarf.exp (_note): Fix left shift of negative value.
1396 * gdb.trace/trace-condition.exp: Likewise.
1398 2015-11-13 Yao Qi <yao.qi@linaro.org>
1400 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1401 comments about d10v.
1402 (test_scalar_returns): Likewise.
1403 * gdb.base/d10v.ld: Remove.
1404 * gdb.base/overlays.exp: Remove the target triplet checking for
1406 * gdb.base/structs.exp (test_struct_returns): Remove the
1407 comments about d10v.
1408 (test_struct_calls): Likewise.
1410 2015-11-13 Yao Qi <yao.qi@linaro.org>
1412 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1413 * gdb.base/gnu_vector.c: Don't include stdio.h.
1414 (main): Don't print res and call add_some_intvecs.
1416 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1418 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1421 (func4): Use FAST_TRACEPOINT_LABEL.
1422 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1425 (thread_function): Use FAST_TRACEPOINT_LABEL.
1426 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1428 (marker): Use FAST_TRACEPOINT_LABEL.
1429 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1430 (pendfunc1): Remove.
1431 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1432 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1434 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1435 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1438 (marker): Use FAST_TRACEPOINT_LABEL.
1439 * gdb.trace/trace-common.h: New header.
1440 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1443 (marker): Use FAST_TRACEPOINT_LABEL.
1444 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1446 (thread_function): Use FAST_TRACEPOINT_LABEL.
1448 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1450 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1452 * gdb.trace/change-loc.exp: Use global pcreg definition.
1453 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1454 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1456 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1457 * gdb.trace/pending.exp: Likewise.
1458 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1459 * gdb.trace/trace-break.exp: Likewise.
1460 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1462 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1463 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1465 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1467 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1469 * gdb.ada/fin_fun_out: New testcase.
1471 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1473 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1474 value associated with DW_AT_byte_size.
1475 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1476 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1479 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1481 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1482 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1484 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1485 gdb.dwarf2/dw2-canonicalize-type.exp,
1486 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1487 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1488 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1489 provided by gdb_target_symbol_prefix_flags_asm.
1490 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1491 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1492 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1493 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1494 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1495 macros where needed). Use this macro for symbols which require
1496 the prefix provided by SYMBOL_PREFIX.
1498 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1500 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1502 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1503 representing expressions, of more than one list element.
1504 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1505 to prepend linker symbol prefix to f.
1506 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1507 table_1 and table_2.
1508 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1509 Likewise, for f and g.
1510 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1512 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1514 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1515 table_1_ptr and table_2_ptr.
1517 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1518 Joel Brobecker <brobecker@adacore.com>
1520 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1522 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1524 * gdb.reverse/s390-mvcle.c: New test.
1525 * gdb.reverse/s390-mvcle.exp: New file.
1526 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1528 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1530 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1532 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1534 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1536 * gdb.reverse/getresuid-reverse.exp: Likewise.
1537 * gdb.reverse/pipe-reverse.exp: Likewise.
1538 * gdb.reverse/readv-reverse.exp: Likewise.
1539 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1540 * gdb.reverse/time-reverse.exp: Likewise.
1541 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1543 2015-10-30 Yao Qi <yao.qi@linaro.org>
1545 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1546 (empty_cycle): Remove.
1547 (main): Don't call empty_cycle. Don't use watch_count_done.
1548 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1549 empty_cycle. Rewrite the code counting HW watchpoints.
1551 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1553 * gdb.reverse/fstatat-reverse.c: New test.
1554 * gdb.reverse/fstatat-reverse.exp: New file.
1555 * gdb.reverse/getresuid-reverse.c: New test.
1556 * gdb.reverse/getresuid-reverse.exp: New file.
1557 * gdb.reverse/pipe-reverse.c: New test.
1558 * gdb.reverse/pipe-reverse.exp: New file.
1559 * gdb.reverse/readv-reverse.c: New test.
1560 * gdb.reverse/readv-reverse.exp: New file.
1561 * gdb.reverse/recvmsg-reverse.c: New test.
1562 * gdb.reverse/recvmsg-reverse.exp: New file.
1563 * gdb.reverse/time-reverse.c: New test.
1564 * gdb.reverse/time-reverse.exp: New file.
1565 * gdb.reverse/waitpid-reverse.c: New test.
1566 * gdb.reverse/waitpid-reverse.exp: New file.
1568 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1570 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1572 2015-10-26 Doug Evans <dje@google.com>
1575 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1576 * gdb.dwarf2/bad-regnum.c: New file.
1577 * gdb.dwarf2/bad-regnum.exp: New file.
1579 2015-10-26 Doug Evans <dje@google.com>
1582 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1585 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1587 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1588 for a change by "Mention language in compile error message".
1590 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1593 * gdb.python/py-type.c (C::a_method): New.
1594 (C::a_const_method): New.
1595 (C::a_static_method): New.
1597 * gdb.python/py-type.exp (test_fields): Test getting fields
1598 from function and method.
1600 2015-10-21 Keven Boell <keven.boell@intel.com>
1602 * gdb.fortran/vla-alloc-assoc.exp: New file.
1603 * gdb.fortran/vla-datatypes.exp: New file.
1604 * gdb.fortran/vla-datatypes.f90: New file.
1605 * gdb.fortran/vla-history.exp: New file.
1606 * gdb.fortran/vla-ptype-sub.exp: New file.
1607 * gdb.fortran/vla-ptype.exp: New file.
1608 * gdb.fortran/vla-sizeof.exp: New file.
1609 * gdb.fortran/vla-sub.f90: New file.
1610 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1611 * gdb.fortran/vla-value-sub-finish.exp: New file.
1612 * gdb.fortran/vla-value-sub.exp: New file.
1613 * gdb.fortran/vla-value.exp: New file.
1614 * gdb.fortran/vla-ptr-info.exp: New file.
1615 * gdb.mi/mi-vla-fortran.exp: New file.
1616 * gdb.mi/vla.f90: New file.
1618 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1620 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1621 of hardwired timeout value.
1623 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1624 Pedro Alves <palves@redhat.com>
1626 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1627 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1629 2015-10-19 Josh Stone <jistone@redhat.com>
1631 * gdb.base/catch-syscall.c: Include <sched.h>.
1632 (unknown_syscall): New variable.
1633 (main): Trigger a vfork and an unknown syscall.
1634 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1635 (unknown_syscall_number): Likewise.
1636 (check_call_to_syscall): Accept an optional syscall pattern.
1637 (check_return_from_syscall): Likewise.
1638 (check_continue): Likewise.
1639 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1640 (test_catch_syscall_skipping_return): New test toggling off 'catch
1641 syscall' to step over the syscall return, then toggling back on.
1642 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1643 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1644 (do_syscall_tests): Call test_catch_syscall_without_args and
1645 test_catch_syscall_mid_vfork.
1646 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1647 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1649 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1651 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1652 print g_vE): Add new pass patterns.
1653 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1654 print various symbol names for vptr fields.
1656 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1658 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1661 2015-10-12 Yao Qi <yao.qi@linaro.org>
1663 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1665 2015-10-12 Yao Qi <yao.qi@linaro.org>
1667 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1668 is aarch64*-*-linux*.
1670 2015-10-12 Yao Qi <yao.qi@linaro.org>
1672 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1673 (can_relocate_bcond_true): ... it.
1674 (can_relocate_bcond_false): New function.
1676 (can_relocate_bl): Likewise.
1677 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1680 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1682 * gdb.base/nested-addr.c: New file.
1683 * gdb.base/nested-addr.exp: New testcase.
1685 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1687 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1688 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1689 its output. Ignore the output of "record goto begin" and instead
1690 check that GDB is replaying.
1692 2015-10-09 Pedro Alves <palves@redhat.com>
1694 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1695 (top level): Use it in the run with no args test.
1697 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1699 * gdb.dlang/properties.exp: New file.
1701 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1703 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1704 whether or not address 0x1000 is mapped on the target.
1706 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1708 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1711 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1713 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1714 instruction-history test.
1716 2015-09-28 Doug Evans <dje@google.com>
1718 * gdb.base/gcore.c (array_func): Add reference to static_array.
1720 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1722 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1725 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1727 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1728 short or char as base type.
1730 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1732 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1733 to allow any size enum.
1735 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1737 * gdb.ada/array_ptr_renaming.exp: New testcase.
1738 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1739 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1741 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1743 * gdb.trace/ftrace-lock.c: New file.
1744 * gdb.trace/ftrace-lock.exp: New file.
1746 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1748 * gdb.arch/insn-reloc.c: New file.
1749 * gdb.arch/ftrace-insn-reloc.exp: New file.
1751 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1753 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1755 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1756 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1757 * gdb.trace/range-stepping.c: Likewise.
1758 * gdb.trace/trace-break.c: Likewise.
1759 * gdb.trace/trace-mt.c (thread_function): Likewise.
1760 * gdb.trace/ftrace.c (marker): Likewise.
1761 * gdb.trace/trace-condition.c (marker): Likewise.
1762 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1763 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1766 2015-09-18 Doug Evans <xdje42@gmail.com>
1768 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1769 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1771 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1773 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1776 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1778 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1779 the pending breakpoint. Remove timeout override for "Run till
1780 MI pending breakpoint on pendfunc3 on thread 2" test.
1782 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1784 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1787 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1789 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1790 in breakpoint filename pattern.
1792 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1794 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1796 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1798 * gdb.linespec/explicit.exp: Check for readline support for
1799 tab-completion tests. Fix obvious typo.
1801 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1803 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1806 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1808 * gdb.btrace/non-stop.c: New.
1809 * gdb.btrace/non-stop.exp: New.
1811 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1812 Yao Qi <yao.qi@linaro.org>
1814 * gdb.trace/trace-condition.c: New file.
1815 * gdb.trace/trace-condition.exp: New file.
1817 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1819 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1820 for testing bytecode compilation.
1822 2015-09-16 Pedro Alves <palves@redhat.com>
1823 Sandra Loosemore <sandra@codesourcery.com>
1825 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1826 (SECONDS): Redefine.
1827 (main): Call pthread_kill and alarm early.
1828 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1830 (test): If the target can't hardware step and doesn't support
1831 displaced stepping, increase the timeout.
1833 2015-09-16 Pedro Alves <palves@redhat.com>
1835 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1836 (enable_debug): New procedures.
1837 (test): Use them. Bail out if waiting for threads fails.
1838 (top level): Bail out if a test fails.
1840 2015-09-16 Yao Qi <yao.qi@linaro.org>
1842 * gdb.asm/asm-source.exp: Set asm-arch for
1843 aarch64*-*-* target.
1844 * gdb.asm/aarch64.inc: New file.
1846 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1848 * gdb.ada/array_of_variable_length.exp: New testcase.
1849 * gdb.ada/array_of_variable_length/foo.adb: New file.
1850 * gdb.ada/array_of_variable_length/pck.adb: New file.
1851 * gdb.ada/array_of_variable_length/pck.ads: New file.
1853 2015-09-15 Doug Evans <dje@google.com>
1855 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1856 of function static local variable.
1858 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1860 * gdb.threads/tls-so_extern.exp: New test file.
1861 * gdb.threads/tls-so_extern.c: New test file.
1862 * gdb.threads/tls-so_extern_main.c: New test file.
1864 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1866 * gdb.opt/solib-intra-step-lib.c: New file.
1867 * gdb.opt/solib-intra-step-main.c: New file.
1868 * gdb.opt/solib-intra-step.exp: New file.
1870 2015-09-15 Pedro Alves <palves@redhat.com>
1872 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1873 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1875 2015-09-14 Pedro Alves <palves@redhat.com>
1877 * gdb.base/hook-stop-continue.c: Delete.
1878 * gdb.base/hook-stop-continue.exp: Delete.
1879 * gdb.base/hook-stop-frame.c: Delete.
1880 * gdb.base/hook-stop-frame.exp: Delete.
1881 * gdb.base/hook-stop.c: New file.
1882 * gdb.base/hook-stop.exp: New file.
1884 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1886 * gdb.ada/access_to_packed_array.exp: New testcase.
1887 * gdb.ada/access_to_packed_array/foo.adb: New file.
1888 * gdb.ada/access_to_packed_array/pack.adb: New file.
1889 * gdb.ada/access_to_packed_array/pack.ads: New file.
1891 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1893 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1896 2015-09-11 Don Breazeal <donb@codesourcery.com>
1898 * gdb.base/foll-exec.c: Add copyright header. Fix
1900 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1901 (do_exec_tests): Use clean_restart in place of zap_session,
1902 and for test initialization. Fix formatting issues. Use
1903 fail in place of perror.
1904 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1905 an expect statement to match an expression with output from
1906 the program under debug.
1907 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1908 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1909 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1910 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1911 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1913 2015-09-09 Doug Evans <dje@google.com>
1915 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1917 2015-09-09 Doug Evans <dje@google.com>
1919 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1921 2015-09-09 Doug Evans <dje@google.com>
1923 * gdb.base/savedregs.exp: Fix typo.
1925 2015-09-09 Pedro Alves <palves@redhat.com>
1927 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1929 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1931 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1932 command actually switches threads. Give up on remaining
1933 tests if target fails to stop at breakpoint.
1935 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
1937 * gdb.ada/funcall_char.exp: New testcase.
1938 * gdb.ada/funcall_char/foo.adb: New file.
1940 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
1942 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
1943 expected outputs. Add two testcases for completing ambiguous
1945 * gdb.ada/complete/aux_pck.adb: New file.
1946 * gdb.ada/complete/aux_pck.ads: New file.
1947 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
1948 Ambiguous_Func functions.
1949 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
1950 * gdb.ada/complete/pck.adb: Likewise.
1952 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
1954 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
1955 failures to run the test program under GDB.
1957 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
1959 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
1962 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
1964 * gdb.base/run-after-attach.exp: New test file.
1965 * gdb.base/run-after-attach.c: New test file.
1967 2015-08-26 Don Breazeal <donb@codesourcery.com>
1969 * gdb.base/foll-exec-2.c: New test program.
1970 * gdb.base/foll-exec-2.exp: New test.
1972 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
1974 * gdb.base/nested-subp1.exp: New file.
1975 * gdb.base/nested-subp1.c: New file.
1976 * gdb.base/nested-subp2.exp: New file.
1977 * gdb.base/nested-subp2.c: New file.
1978 * gdb.base/nested-subp3.exp: New file.
1979 * gdb.base/nested-subp3.c: New file.
1981 2015-08-24 Pedro Alves <palves@redhat.com>
1983 * gdb.server/connect-without-multi-process.c: New file.
1984 * gdb.server/connect-without-multi-process.exp: New file.
1986 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1988 * gdb.opt/inline-markers.c: Make z int.
1990 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1992 * gdb.opt/inline-markers.c: Make z volatile.
1994 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
1996 * gdb.opt/inline-bt.c: New volatile global z.
1997 * gdb.opt/inline-cmds.c: Likewise.
1998 * gdb.opt/inline-locals.c: Likewise.
1999 * gdb.opt/inline-markers.c: New extern global z.
2001 (inline_fn): Likewise.
2003 2015-08-24 Pedro Alves <palves@redhat.com>
2005 * config/m32r-stub.exp: Remove file.
2006 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2007 * gdb.base/call-rt-st.exp: Likewise.
2008 * gdb.base/call-strs.exp: Likewise.
2009 * gdb.base/default.exp: Remove references to h8300-*-hms and
2011 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2013 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2015 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2016 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2017 and "return" use KFAIL when GDB can not read/write the vector
2020 2015-08-21 Gary Benson <gbenson@redhat.com>
2022 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2024 2015-08-20 Pedro Alves <palves@redhat.com>
2026 * gdb.server/solib-list.exp: No longer expect an interior stop in
2029 2015-08-20 Pedro Alves <palves@redhat.com>
2031 * gdb.server/connect-stopped-target.c: New file.
2032 * gdb.server/connect-stopped-target.exp: New file.
2034 2015-08-20 Pedro Alves <palves@redhat.com>
2036 * gdb.dwarf2/comp-unit-lang.exp: New file.
2037 * gdb.dwarf2/comp-unit-lang.c: New file.
2039 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2041 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2042 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2044 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2046 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2047 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2049 2015-08-18 Doug Evans <dje@google.com>
2050 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2052 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2053 skip_python_tests. New arg prompt_regexp.
2054 (skip_python_tests): New function.
2055 * lib/mi-support.exp (mi_skip_python_tests): New function.
2056 * gdb.python/py-mi-objfile-gdb.py: New file.
2057 * gdb.python/py-mi-objfile.c: New file.
2058 * gdb.python/py-mi-objfile.exp: New file.
2060 2015-08-17 Keith Seitz <keiths@redhat.com>
2062 * gdb.linespec/explicit.exp: Move strace test from here ...
2063 * gdb.trace/strace.exp: ... to here.
2065 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2067 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2068 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2070 2015-08-14 Doug Evans <xdje42@gmail.com>
2072 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2073 inferior before selecting a new file.
2075 2015-08-14 Doug Evans <xdje42@gmail.com>
2077 * gdb.mi/mi-disassemble.exp: Update.
2078 * gdb.base/disasm-optim.S: New file.
2079 * gdb.base/disasm-optim.c: New file.
2080 * gdb.base/disasm-optim.h: New file.
2081 * gdb.base/disasm-optim.exp: New file.
2083 2015-08-14 Keith Seitz <keiths@redhat.com>
2085 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2088 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2090 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2092 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2094 * gdb.ada/fun_renaming.exp: New testcase.
2095 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2096 * gdb.ada/fun_renaming/pack.adb: New file.
2097 * gdb.ada/fun_renaming/pack.ads: New file.
2099 2015-08-12 Keith Seitz <keiths@redhat.com>
2101 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2102 gdb_get_line_number.
2104 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2106 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2107 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2108 gdb.base/dso2dso.exp: New files.
2110 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2111 Pedro Alves <palves@redhat.com>
2112 Keith Seitz <keiths@redhat.com>
2114 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2117 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2119 * gdb.base/gdbhistsize-history.exp
2120 (test_histsize_history_setting): Use save_vars.
2121 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2123 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2124 * gdb.base/readline.exp: Use save_vars.
2126 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2128 * lib/gdb.exp (save_vars): New proc.
2130 2015-08-11 Keith Seitz <keiths@redhat.com>
2132 * gdb.base/help.exp: Update help_breakpoint_text.
2134 2015-08-11 Keith Seitz <keiths@redhat.com>
2136 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2137 (at toplevel): Call test_explicit_breakpoints.
2138 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2140 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2141 breakpoint conditions, "-cond".
2143 2015-08-11 Keith Seitz <keiths@redhat.com>
2145 * gdb.linespec/3explicit.c: New file.
2146 * gdb.linespec/cpexplicit.cc: New file.
2147 * gdb.linespec/cpexplicit.exp: New file.
2148 * gdb.linespec/explicit.c: New file.
2149 * gdb.linespec/explicit.exp: New file.
2150 * gdb.linespec/explicit2.c: New file.
2151 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2152 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2153 before using in the matching pattern.
2154 Clarify that `prefix' is a regular expression.
2156 2015-08-11 Keith Seitz <keiths@redhat.com>
2158 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2160 Add tests for missing ",FMT" and ",".
2162 2015-08-10 Doug Evans <dje@google.com>
2163 Keith Seitz <keiths@redhat.com>
2166 * gdb.base/completion.exp: Add location completer tests.
2168 2015-08-07 Pedro Alves <palves@redhat.com>
2170 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2172 (top level): Run do_test with and without displaced stepping.
2174 2015-08-07 Pedro Alves <palves@redhat.com>
2176 * gdb.base/valgrind-disp-step.c: New file.
2177 * gdb.base/valgrind-disp-step.exp: New file.
2179 2015-08-07 Pedro Alves <palves@redhat.com>
2181 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2183 (main): Add alarm. Run an infinite loop instead of calling
2185 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2187 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2189 (main): Add alarm. Run an infinite loop instead of calling
2191 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2194 2015-08-07 Pedro Alves <palves@redhat.com>
2196 * gdb.base/checkpoint-ns.exp: New file.
2197 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2200 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2202 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2203 * gdb.btrace/instruction_history.exp: Update.
2204 * gdb.btrace/tsx.exp: New.
2205 * gdb.btrace/tsx.c: New.
2207 2015-08-06 Pedro Alves <palves@redhat.com>
2209 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2211 * gdb.reverse/until-precsave.exp: Bump timeouts.
2213 2015-08-06 Pedro Alves <palves@redhat.com>
2215 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2217 2015-08-06 Pedro Alves <palves@redhat.com>
2220 * gdb.threads/process-dies-while-handling-bp.c: New file.
2221 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2223 2015-08-06 Pedro Alves <palves@redhat.com>
2225 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2226 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2228 2015-08-05 Pedro Alves <palves@redhat.com>
2230 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2231 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2233 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2235 * gdb.base/bp-permanent.exp: Report test as unsupported if
2236 the target cannot stop at the permanent breakpoint.
2238 2015-08-03 Doug Evans <dje@google.com>
2240 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2243 2015-08-03 Doug Evans <dje@google.com>
2245 * Makefile.in (workers/%.worker, build-perf): New rule.
2246 (GDB_PERFTEST_MODE): New variable.
2247 (check-perf): Use it.
2248 (clean): Clean up gdb.perf parallel build subdirs.
2249 * lib/build-piece.exp: New file.
2250 * lib/gdb.exp (make_gdb_parallel_path): New function
2251 (standard_output_file, standard_temp_file): Call it.
2252 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2254 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2256 2015-08-03 Doug Evans <dje@google.com>
2258 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2259 (LOG_FILE_NAME): New global.
2260 (TextReporter.__init__): Initialize self.txt_sum.
2261 (TextReporter.report): Add support for multiple data-points.
2262 Move report to perftest.sum, put raw data in perftest.log.
2263 (TextReporter.start): Open sum and log files.
2264 (TextReporter.end): Close sum and log files.
2265 * gdb.perf/lib/perftest/testresult.py
2266 (SingleStatisticTestResult.record): Handle multiple data-points.
2268 2015-07-31 Pedro Alves <palves@redhat.com>
2270 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2271 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2272 kill_wait_spawned_process instead of explicit "kill -9".
2273 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2274 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2275 kill_wait_spawned_process.
2276 * gdb.base/attach-twice.exp: Likewise.
2277 * gdb.base/attach.exp: Likewise.
2278 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2280 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2281 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2282 kill_wait_spawned_process.
2283 * gdb.base/valgrind-infcall.exp: Likewise.
2284 * gdb.multi/multi-attach.exp: Likewise.
2285 * gdb.python/py-prompt.exp: Likewise.
2286 * gdb.python/py-sync-interp.exp: Likewise.
2287 * gdb.server/ext-attach.exp: Likewise.
2288 * gdb.threads/attach-into-signal.exp (corefunc): Use
2289 spawn_wait_for_attach, spawn_id_get_pid and
2290 kill_wait_spawned_process.
2291 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2292 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2293 spawn_id_get_pid and kill_wait_spawned_process.
2294 * gdb.threads/attach-stopped.exp (corefunc): Use
2295 spawn_wait_for_attach, spawn_id_get_pid and
2296 kill_wait_spawned_process.
2297 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2298 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2299 kill_wait_spawned_process instead of explicit "kill -9".
2300 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2301 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2302 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2303 processes. Don't map cygwin/windows pids here. Now returns a
2306 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2308 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2309 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2312 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2314 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2316 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2319 2014-05-21 Mark Wielaard <mjw@redhat.com>
2321 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2323 2015-07-30 Pedro Alves <palves@redhat.com>
2325 * linux-low.c (handle_extended_wait): Set the child's last
2326 reported status to TARGET_WAITKIND_STOPPED.
2328 2015-07-30 Pedro Alves <palves@redhat.com>
2331 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2332 only shows inferior 1.
2334 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2335 Pedro Alves <palves@redhat.com>
2338 * gdb.threads/fork-plus-threads.c: New file.
2339 * gdb.threads/fork-plus-threads.exp: New file.
2341 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2343 * gdb.base/batch-preserve-term-settings.exp
2344 (test_terminal_settings_preserved_after_cli_exit): Use
2347 2015-07-29 Pedro Alves <palves@redhat.com>
2348 Don Breazeal <donb@codesourcery.com>
2350 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2351 output from both inferior_spawn_id and gdb_spawn_id.
2353 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2355 * gdb.threads/attach-into-signal.exp (corefunc): Use
2356 with_test_prefix on nested loops, uniquefying the test messages.
2358 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2360 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2363 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2365 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2367 (test_terminal_settings_preserved_after_sigterm): New test.
2369 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2371 * gdb.base/batch-preserve-term-settings.exp
2372 (test_terminal_settings_preserved_after_cli_exit): New test.
2374 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2376 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2377 manipulation of saved_gdbflags.
2378 (test_terminal_settings_preserved): Remove global declaration of
2379 the unused variable pagination_prompt. Remove manipulation of
2380 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2383 2015-07-29 Pedro Alves <palves@redhat.com>
2385 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2387 2015-07-29 Pedro Alves <palves@redhat.com>
2389 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2392 2015-07-29 Pedro Alves <palves@redhat.com>
2394 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2395 (main): Call gdb_unbuffer_output.
2396 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2397 (main): Call gdb_unbuffer_output.
2398 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2399 (main): Call gdb_unbuffer_output.
2400 * gdb.base/call-strs.exp: Adjust to step over the
2401 gdb_unbuffer_output call.
2402 * gdb.base/catch-gdb-caused-signals.c: Include
2403 "../lib/unbuffer_output.c".
2404 (main): Call gdb_unbuffer_output.
2405 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2406 (main): Call gdb_unbuffer_output.
2407 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2408 (main): Call gdb_unbuffer_output.
2409 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2410 (main): Call gdb_unbuffer_output.
2411 * gdb.base/shlib-call.exp: Adjust to step over the
2412 gdb_unbuffer_output call.
2413 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2414 (main): Call gdb_unbuffer_output.
2415 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2416 (main): Call gdb_unbuffer_output.
2417 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2418 (main): Rename to ...
2420 (main): Reimplement.
2421 * gdb.base/varargs.exp: Run to test instead of to main.
2422 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2423 (main): Call gdb_unbuffer_output.
2425 2015-07-29 Pedro Alves <palves@redhat.com>
2427 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2428 factore out from mi_continue_dprintf. For call-style dprintfs,
2429 expect dprintf output out of $inferior_spawn_id.
2430 (mi_continue_dprintf): Use mi_expect_dprintf.
2431 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2432 (main): Call gdb_unbuffer_output.
2434 2015-07-29 Pedro Alves <palves@redhat.com>
2436 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2437 (default_mi_gdb_start): Set inferior_spawn_id instead of
2438 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2440 (mi_gdb_test): Always expect inferior output from both
2441 $inferior_spawn_id and $gdb_spawn_id.
2443 2015-07-29 Pedro Alves <palves@redhat.com>
2445 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2446 send_inferior and $inferior_spawn_id.
2448 2015-07-29 Pedro Alves <palves@redhat.com>
2450 * gdb.gdb/complaints.exp (test_initial_complaints)
2451 (test_serial_complaints, test_short_complaints): Use
2453 (test_empty_complaint): Handle $inferior_spawn_id !=
2456 2015-07-29 Pedro Alves <palves@redhat.com>
2458 * gdb.base/varargs.exp: Use gdb_test_stdio.
2460 2015-07-29 Pedro Alves <palves@redhat.com>
2462 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2464 2015-07-29 Pedro Alves <palves@redhat.com>
2466 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2468 2015-07-29 Pedro Alves <palves@redhat.com>
2470 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2471 parameter into two new parameters, "inf_result" and "gdb_result".
2472 Expect inferior output and gdb output from $inferior_spawn_id and
2473 $gdb_spawn_id, respectively. Adjust all callers.
2475 2015-07-29 Pedro Alves <palves@redhat.com>
2477 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2478 of gdb_test_sequence.
2480 2015-07-29 Pedro Alves <palves@redhat.com>
2482 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2483 (saw_spurious_output): Expect inferior output from
2484 $inferior_spawn_id. Use gdb_test_stdio.
2486 2015-07-29 Pedro Alves <palves@redhat.com>
2488 * gdb.base/dprintf.exp: Use standard_testfile. Change
2489 prepare_for_testing call.
2490 (srcfile): Don't set.
2491 (restart): New procedure.
2492 (test_dprintf): New procecure, use to continue over dprintfs.
2493 (test_call, test_agent): New procedures, tests moved here.
2494 Restart gdb and recreate dprintfs. Adjust expected output.
2496 2015-07-29 Pedro Alves <palves@redhat.com>
2498 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2500 2015-07-29 Pedro Alves <palves@redhat.com>
2502 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2504 2015-07-29 Pedro Alves <palves@redhat.com>
2506 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2509 2015-07-29 Pedro Alves <palves@redhat.com>
2511 * lib/gdb.exp (gdb_test_stdio): New procedure.
2513 2015-07-29 Pedro Alves <palves@redhat.com>
2515 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2517 2015-07-29 Pedro Alves <palves@redhat.com>
2519 * gdb.base/call-signal-resume.exp: Remove check for
2520 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2521 * gdb.base/unwindonsignal.exp: Likewise.
2522 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2523 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2525 2015-07-29 Pedro Alves <palves@redhat.com>
2527 * gdb.base/siginfo-addr.c (pass): New function.
2528 (handler): Call it iff si_addr is correct.
2529 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2530 Set a breakpoint at "pass" and continue to it.
2532 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2534 * gdb.python/py-objfile.exp: Make some tests have unique names.
2535 * gdb.python/py-pp-registration.exp: Likewise.
2537 2015-07-28 Pedro Alves <palves@redhat.com>
2539 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2541 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2543 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2545 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2547 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2549 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2551 * gdb.base/gdb-sigterm-2.exp: New test.
2553 2015-07-25 Doug Evans <xdje42@gmail.com>
2556 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2557 (workers/%.worker, build-perf): New rule.
2558 (GDB_PERFTEST_MODE): New variable.
2559 (check-perf): Use it.
2560 (clean): Clean up gdb.perf parallel build subdirs.
2561 * lib/build-piece.exp: New file.
2562 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2563 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2565 (standard_temp_file): Ditto.
2566 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2569 2015-07-24 Doug Evans <dje@google.com>
2571 * gdb.perf/lib/perftest/utils.py: New file.
2572 * gdb.perf/gm-hello.cc: New file.
2573 * gdb.perf/gm-pervasive-typedef.cc: New file.
2574 * gdb.perf/gm-pervasive-typedef.h: New file.
2575 * gdb.perf/gm-std.cc: New file.
2576 * gdb.perf/gm-std.h: New file.
2577 * gdb.perf/gm-use-cerr.cc: New file.
2578 * gdb.perf/gm-utils.h: New file.
2579 * gdb.perf/gmonster-null-lookup.py: New file.
2580 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2581 * gdb.perf/gmonster-print-cerr.py: New file.
2582 * gdb.perf/gmonster-ptype-string.py: New file.
2583 * gdb.perf/gmonster-runto-main.py: New file.
2584 * gdb.perf/gmonster-select-file.py: New file.
2585 * gdb.perf/gmonster1-null-lookup.exp: New file.
2586 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2587 * gdb.perf/gmonster1-print-cerr.exp: New file.
2588 * gdb.perf/gmonster1-ptype-string.exp: New file.
2589 * gdb.perf/gmonster1-runto-main.exp: New file.
2590 * gdb.perf/gmonster1-select-file.exp: New file.
2591 * gdb.perf/gmonster1.cc: New file.
2592 * gdb.perf/gmonster1.exp: New file.
2593 * gdb.perf/gmonster2-null-lookup.exp: New file.
2594 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2595 * gdb.perf/gmonster2-print-cerr.exp: New file.
2596 * gdb.perf/gmonster2-ptype-string.exp: New file.
2597 * gdb.perf/gmonster2-runto-main.exp: New file.
2598 * gdb.perf/gmonster2-select-file.exp: New file.
2599 * gdb.perf/gmonster2.cc: New file.
2600 * gdb.perf/gmonster2.exp: New file.
2602 2015-07-24 Doug Evans <dje@google.com>
2604 * gdb.perf/README: New file.
2605 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2606 * lib/gen-perf-test.exp: New file.
2608 2015-07-24 Doug Evans <dje@google.com>
2610 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2611 (PerfTest::startup): New function.
2612 (PerfTest::run): Return result of calling body.
2613 (PerfTest::assemble): Rewrite.
2614 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2615 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2616 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2617 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2618 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2620 2015-07-24 Doug Evans <dje@google.com>
2622 * lib/gdb.exp (clean_restart): Make executable optional.
2624 2015-07-24 Doug Evans <dje@google.com>
2626 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2627 compiler_info references.
2628 * gdb.cp/temargs.exp: Ditto.
2629 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2630 (get_compiler_info): Early exit if already computed. Set compiler_info
2631 to "unknown" if there was a problem.
2632 (test_compiler_info): Add function comment. Call get_compiler_info.
2634 2015-07-24 Doug Evans <dje@google.com>
2636 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2637 (workers/%.worker, build-perf): New rule.
2638 (GDB_PERFTEST_MODE): New variable.
2639 (check-perf): Use it.
2640 (clean): Clean up gdb.perf parallel build subdirs.
2641 * lib/build-piece.exp: New file.
2642 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2643 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2645 (standard_temp_file): Ditto.
2646 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2649 2015-07-24 Doug Evans <dje@google.com>
2651 * lib/future.exp (gdb_default_target_compile): New option
2653 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2656 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2658 * gdb.base/catch-syscall.exp: Call gdb_exit before
2661 2015-07-24 Pedro Alves <palves@redhat.com>
2663 * gdb.python/py-events.exp: Accept output between the stop event
2665 * gdb.python/py-evsignal.exp: Likewise.
2666 * gdb.python/py-evthreads.exp: Likewise.
2668 2015-07-24 Pedro Alves <palves@redhat.com>
2671 * gdb.threads/non-ldr-exit.c: New file.
2672 * gdb.threads/non-ldr-exit.exp: New file.
2674 2015-07-24 Yao Qi <yao.qi@linaro.org>
2676 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2679 2015-07-24 Yao Qi <yao.qi@linaro.org>
2681 * gdb.server/ext-restart.exp: New file.
2683 2015-07-24 Yao Qi <yao.qi@linaro.org>
2685 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2687 * gdb.server/ext-wrapper.exp: New file.
2689 2015-07-23 Doug Evans <dje@google.com>
2691 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2692 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2694 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2696 * gdb.ada/var_arr_typedef.exp: New testcase.
2697 * gdb.ada/var_arr_typedef/pack.adb: New file.
2698 * gdb.ada/var_arr_typedef/pack.ads: New file.
2699 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2701 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2703 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2705 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2707 * gdb.arch/i386-biarch-core.exp: Replace istarget
2708 by "complete set gnutarget". Remove expectation for the "core-file"
2711 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2713 Revert the previous commit:
2714 Tests for validate symbol file using build-id.
2716 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2718 Tests for validate symbol file using build-id.
2719 * gdb.base/solib-mismatch-lib.c: New file.
2720 * gdb.base/solib-mismatch-libmod.c: New file.
2721 * gdb.base/solib-mismatch.c: New file.
2722 * gdb.base/solib-mismatch.exp: New file.
2724 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2726 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2728 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2729 * gdb.base/siginfo.exp: Likewise.
2730 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2732 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2734 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2736 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2738 * gdb.trace/range-stepping.exp: Check that the target supports
2741 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2743 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2745 2015-07-14 Pedro Alves <palves@redhat.com>
2747 * gdb.base/killed-outside.exp: New file.
2748 * gdb.base/killed-outside.c: New file.
2750 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2752 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2754 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2756 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2758 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2759 infcall tests instead of setting up for KFAIL.
2761 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2763 * gdb.btrace/record_goto-step.exp: New.
2765 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2768 * gdb.compile/compile.c (struct struct_type): Add volatile to
2770 * gdb.compile/compile.exp
2771 (compile code struct_object.selffield = &struct_object): Skip further
2772 struct_object tests if this one xfails.
2774 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2777 * gdb.trace/ax.exp: Add test.
2779 2015-07-07 Yao Qi <yao.qi@linaro.org>
2781 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2782 instead of istarget "aarch64*-*-*".
2783 * gdb.arch/aarch64-fp.exp: Likewise.
2784 * gdb.base/float.exp: Likewise.
2785 * gdb.reverse/aarch64.exp: Likewise.
2786 * lib/gdb.exp (is_aarch64_target): New proc.
2788 2015-07-07 Yao Qi <yao.qi@linaro.org>
2790 * lib/gdb.exp (is_aarch32_target): New proc.
2791 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2792 instead of "istarget "arm*-*-*"".
2793 * gdb.arch/arm-disp-step.exp: Likewise.
2794 * gdb.arch/thumb-bx-pc.exp: Likewise.
2795 * gdb.arch/thumb-prologue.exp: Likewise.
2796 * gdb.arch/thumb-singlestep.exp: Likewise.
2797 * gdb.base/disp-step-syscall.exp: Likewise.
2798 * gdb.base/float.exp: Likewise.
2800 2015-07-07 Yao Qi <yao.qi@linaro.org>
2802 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2803 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2805 2015-07-07 Yao Qi <yao.qi@linaro.org>
2807 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2808 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2810 * gdb.multi/multi-arch.exp: Likewise.
2812 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2814 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2817 2015-07-07 Yao Qi <yao.qi@linaro.org>
2819 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2821 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2823 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2824 '[' and ']' characters.
2826 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2828 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2830 2015-06-29 Pedro Alves <palves@redhat.com>
2833 * gdb.threads/hand-call-new-thread.c: New file.
2834 * gdb.threads/hand-call-new-thread.c: New file.
2836 2015-06-26 Keith Seitz <keiths@redhat.com>
2837 Doug Evans <dje@google.com>
2840 * gdb.cp/var-tag-2.cc: New file.
2841 * gdb.cp/var-tag-3.cc: New file.
2842 * gdb.cp/var-tag-4.cc: New file.
2843 * gdb.cp/var-tag.cc: New file.
2844 * gdb.cp/var-tag.exp: New file.
2846 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2848 * gdb.base/history-duplicates.exp: New test.
2850 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2852 * gdb.base/completion.exp: Test the completion of the "focus"
2855 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2857 * gdb.arch/amd64-prologue-skip.S: New file.
2858 * gdb.arch/amd64-prologue-skip.exp: New file.
2860 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2862 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2863 is_address_zero_readable check.
2865 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2867 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2868 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2870 2015-06-24 Yao Qi <yao.qi@linaro.org>
2872 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2875 2015-06-24 Yao Qi <yao.qi@linaro.org>
2877 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2878 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2879 * gdb.base/siginfo-thread.exp: Likewise.
2881 2015-06-22 Yao Qi <yao.qi@linaro.org>
2883 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2885 2015-06-22 Yao Qi <yao.qi@linaro.org>
2887 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2889 (skip_hw_watchpoint_tests): Likewise.
2891 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2893 * gdb.base/gdbinit-history.exp: Test the interaction between
2894 setting GDBHISTSIZE and setting the history size via .gdbinit.
2896 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2899 * gdb.base/gdbhistsize-history.exp: New test.
2901 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2903 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2905 * gdb.base/readline.exp: Likewise.
2907 2015-06-17 Yao Qi <yao.qi@linaro.org>
2909 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2912 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2914 * gdb.base/gdbinit-history.exp: Add test case to check that
2915 an unlimited history file does not get truncated on exit.
2917 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2919 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2920 (VECTOR): New macro. Use it...
2921 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2922 ...for these typedefs.
2923 (int8, char1, int1, double1): New typedefs.
2924 (struct just_int2, struct two_int2): New structures.
2925 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2926 (add_structvecs, add_singlevecs): New functions.
2927 (main): Call add_some_intvecs twice.
2928 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2929 the compile and exit upon failure. Try compiling for the "native"
2930 architecture. Test inferior function calls with vector arguments
2931 and vector return value handling with "finish" and "return".
2933 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
2935 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
2936 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
2938 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
2940 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
2942 PR breakpoints/16465
2943 * gdb.mi/mi-dprintf-pending.c: New file.
2944 * gdb.mi/mi-dprintf-pending.exp: New test.
2945 * gdb.mi/mi-dprintf-pendshr.c: New file.
2947 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2948 Mircea Gherzan <mircea.gherzan@intel.com>
2950 * gdb.arch/i386-mpx-map.c: New file.
2951 * gdb.arch/i386-mpx-map.exp: New File.
2953 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2955 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
2956 * gdb.arch/i386-mpx.exp: Indentation fixed.
2958 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2960 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
2961 function and improved indentation.
2962 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
2963 gdb_test_multiple. Added additional tests to skip the test.
2965 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
2967 * gdb.arch/i386-avx512.c: Change path in include file.
2968 * gdb.arch/i386-avx512.exp: Change include dir path
2970 * gdb.arch/i386-mpx.c: Change path in include file.
2971 * gdb.arch/i386-mpx.exp: Change include dir path compilation
2974 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
2976 * gdb.compile/compile-print.exp (compile print *vararray@3)
2977 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
2979 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
2981 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
2982 (do not keep jit in memory): ... this.
2983 (expect 5): Change it to ...
2984 (expect no 5): ... this.
2986 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
2989 * gdb.mi/mi-detach.exp: New file.
2991 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
2994 * gdb.arch/amd64-tailcall-self.S: New file.
2995 * gdb.arch/amd64-tailcall-self.c: New file.
2996 * gdb.arch/amd64-tailcall-self.exp: New file.
2998 2015-05-28 Don Breazeal <donb@codesourcery.com>
3000 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3001 tests for remote targets by checking is_target_gdbserver.
3003 2015-05-27 Doug Evans <dje@google.com>
3005 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3006 * gdb.dwarf2/opaque-type-lookup.c: New file.
3007 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3009 2015-05-26 Doug Evans <dje@google.com>
3011 * gdb.cp/iostream.cc: New file.
3012 * gdb.cp/iostream.exp: New file.
3014 2015-05-26 Doug Evans <dje@google.com>
3016 * gdb.dwarf2/dw2-op-call.exp: Update.
3017 * gdb.dwarf2/dw4-sig-types.exp: Update.
3018 * gdb.dwarf2/implptr.exp: Update.
3019 * gdb.mi/mi-cmd-param-changed.exp: Update.
3021 2015-05-26 Doug Evans <dje@google.com>
3023 * gdb.python/py-lazy-string.c: New file.
3024 * gdb.python/py-lazy-string.exp: New file.
3025 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3026 (main): Update. Add estring3.
3027 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3028 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3030 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3031 Yao Qi <yao.qi@linaro.org>
3033 * gdb.reverse/aarch64.c: New.
3034 * gdb.reverse/aarch64.exp: New.
3036 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3038 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3039 (supports_reverse): Likewise.
3041 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3043 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3044 Use with_test_prefix.
3046 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3048 * gdb.base/completion.exp: Add test for completion of layout
3051 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3053 * lib/gdb.exp (skip_tui_tests): New proc.
3054 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3056 2015-05-19 Pedro Alves <palves@redhat.com>
3058 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3059 Save the whole env array instead of just HOME. Unset HISTSIZE in
3060 the environment while testing. Restore whole environment
3063 2015-05-16 Doug Evans <xdje42@gmail.com>
3065 * gdb.guile/scm-ports.c: New file.
3066 * gdb.guile/scm-ports.exp: Add memory port tests.
3068 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3070 * gdb.compile/compile-print.c: New file.
3071 * gdb.compile/compile-print.exp: New file.
3073 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3075 * gdb.compile/compile-ops.exp: Cast param to void.
3076 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3077 (compile code struct_object.selffield = &struct_object): Add xfail.
3079 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3081 * gdb.ada/arr_enum_with_gap: New testcase.
3083 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3085 * gdb.ada/byte_packed_arr: New testcase.
3087 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3089 * gdb.ada/pckd_neg: New testcase.
3091 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3094 * gdb.base/gdbinit-history.exp: New test.
3095 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3096 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3098 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3100 * gdb.python/py-xmethods.cc: Enhance test case.
3101 * gdb.python/py-xmethods.exp: New tests.
3102 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3104 (B_indexoper): Likewise.
3105 (global_dm_list) : Add new xmethod worker functions.
3107 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3109 * gdb.base/coredump-filter.exp: Correctly unset
3110 "coredump_var_addr" array.
3112 2015-05-08 Pedro Alves <palves@redhat.com>
3114 * gdb.server/non-existing-program.exp: Unset spawn_id.
3116 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3119 * gdb.python/py-xmethods.exp: Add tests.
3121 2015-05-08 Yao Qi <yao.qi@linaro.org>
3124 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3125 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3126 function set_coredump_filter, and remove remote_exec call.
3127 Remove argument ipid. Callers update.
3128 (top level): Don't get inferior's PID.
3130 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3132 * gdb.base/watch_thread_num.exp: Skip test on targets without
3135 2015-05-06 Pedro Alves <palves@redhat.com>
3138 * gdb.server/non-existing-program.exp: New file.
3140 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3142 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3144 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3146 * gdb.ada/out_of_line_in_inlined: New testcase.
3148 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3150 * gdb.ada/var_rec_arr: New testcase.
3152 2015-04-30 Yao Qi <yao.qi@linaro.org>
3154 * gdb.base/break-idempotent.exp: If
3155 skip_hw_watchpoint_multi_tests returns true, skip the tests
3156 on "rwatch" and "awatch".
3158 2015-04-30 Yao Qi <yao.qi@linaro.org>
3160 * gdb.base/relativedebug.exp: Invoke gdb command
3161 "info sharedlibrary", and if libc.so doesn't have debug info,
3164 2015-04-29 Doug Evans <dje@google.com>
3166 * gdb.python/py-xmethods.exp: Add ptype tests.
3167 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3168 get_result_type method.
3170 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3172 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3173 the target does not support hardware watchpoints.
3175 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3177 * gdb.base/break-always.exp: Abort testing if writing to memory
3180 2015-04-28 Doug Evans <dje@google.com>
3182 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3183 * gdb.python/py-pp-registration.exp: ... here. New file.
3184 * gdb.python/py-pp-registration.c: New file.
3185 * gdb.python/py-pp-registration.py: New file.
3187 2015-04-28 Doug Evans <dje@google.com>
3189 * gdb.python/py-bad-printers.c: New file.
3190 * gdb.python/py-bad-printers.py: New file.
3191 * gdb.python/py-bad-printers.exp: New file.
3193 2015-04-28 Sasha Smundak <asmundak@google.com>
3195 * gdb.python/py-type.exp: New test.
3197 2015-04-28 Andy Wingo <wingo@igalia.com>
3199 * gdb.python/py-parameter.exp:
3200 * gdb.guile/scm-parameter.exp: Escape the path that we are
3201 matching against, as it might contain characters that are special
3202 to regular expressions.
3204 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3206 * gdb.ada/rec_comp: New testcase.
3208 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3210 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3213 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3215 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3216 new tests for verilog output.
3218 2015-04-24 Yao Qi <yao.qi@linaro.org>
3220 * boards/remote-gdbserver-on-localhost.exp: New file.
3222 2015-04-23 Pedro Alves <palves@redhat.com>
3224 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3225 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3226 "end of file", remove $inferior_spawn_id from the indirect list.
3228 2015-04-23 Pedro Alves <palves@redhat.com>
3230 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3232 2015-04-23 Pedro Alves <palves@redhat.com>
3234 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3235 on $any_spawn_id instead of only on $gdb_spawn_id.
3237 2015-04-21 Pierre Muller <muller@sourceware.org>
3240 * lib/pascal.exp (gpc_compile): Add new option "class".
3241 (fpc_compile): Likewise.
3242 * gdb.pascal/case-insensitive-symbols.pas: New file.
3243 * gdb.pascal/case-insensitive-symbols.exp: New file.
3245 2015-04-20 Gary Benson <gbenson@redhat.com>
3247 * gdb.base/attach.exp: Fix three extended remote failures.
3249 2015-04-17 Gary Benson <gbenson@redhat.com>
3251 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3252 the main executable over the remote protocol.
3254 2015-04-16 Pedro Alves <palves@redhat.com>
3256 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3257 a new gdbserver if gdbserver_reconnect_p is set.
3259 2015-04-16 Pedro Alves <palves@redhat.com>
3261 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3262 is set, don't exit gdbserver.
3264 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3266 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3267 appropriate .insn, such that an older assembler can be used.
3268 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3269 the z/Architecture instruction set on 31-bit targets as well.
3271 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3273 * gdb.go/handcall.exp: Remove all logic related to the first
3274 breakpoint and rely on go_runto_main instead.
3275 * gdb.go/strings.exp: Likewise.
3276 * gdb.go/unsafe.exp: Likewise.
3277 * gdb.go/hello.exp: Likewise. Also rename the remaining
3278 breakpoint marker to "breakpoint 1".
3279 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3280 * gdb.go/strings.go: Likewise.
3281 * gdb.go/unsafe.go: Likewise.
3282 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3283 "set breakpoint 2 here" and rename the remaining breakpoint marker
3286 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3288 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3289 if itertools.imap is not present.
3290 * gdb.python/py-objfile.exp: Add parentheses.
3291 * gdb.python/py-type.exp: Same.
3292 * gdb.python/py-unwind-maint.py: Same.
3294 2015-04-15 Yao Qi <yao.qi@linaro.org>
3296 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3297 of ":$ptr_size" and set its form explicitly.
3299 2015-04-15 Pedro Alves <palves@redhat.com>
3300 Yao Qi <yao.qi@linaro.org>
3302 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3303 timeout by factor of 4.
3304 (test_regular_watch): Likewise.
3305 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3306 * gdb.reverse/sigall-reverse.exp: Likewise.
3307 * gdb.reverse/until-precsave.exp: Likewise.
3308 * lib/gdb.exp (with_timeout_factor): New proc.
3309 (gdb_expect): Move some code to ...
3310 (get_largest_timeout): ... here. New procedure.
3312 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3314 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3316 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3318 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3319 to write to the .text section.
3321 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3323 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3324 Handle the case of targets that do not provide PID information.
3326 2015-04-13 Yao Qi <yao.qi@linaro.org>
3328 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3329 and use expect instead of gdb_expect.
3331 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3333 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3334 "coredump_var_addr" to avoid naming conflict with other testcases.
3336 2015-04-10 Pedro Alves <palves@redhat.com>
3338 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3339 gdb_test_sequence and gdb_assert.
3341 2015-04-10 Pedro Alves <palves@redhat.com>
3343 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3344 test messages that don't include the breakpoint address.
3346 2015-04-10 Yao Qi <yao.qi@linaro.org>
3348 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3349 false for some offset and width combinations which aren't
3350 supported by linux kernel.
3352 2015-04-10 Pedro Alves <palves@redhat.com>
3354 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3355 procedure, factored out from ...
3356 (top level): ... here. Add "set displaced-stepping" testing axis.
3357 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3358 parameter "displaced". Use it.
3359 (top level): Use foreach and add "set displaced-stepping" testing
3362 2015-04-10 Pedro Alves <palves@redhat.com>
3364 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3366 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3367 both the address of the instruction that triggers the watchpoint
3368 and the address of the instruction immediately after, and use
3369 those addresses for the test. Fix comment.
3371 2015-04-10 Pedro Alves <palves@redhat.com>
3373 * gdb.base/sigstep.exp (breakpoint_to_handler)
3374 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3375 Test "backtrace" in handler.
3376 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3377 (top level): Add new "displaced" test axis to
3378 breakpoint_to_handler, breakpoint_to_handler_entry and
3379 breakpoint_over_handler.
3381 2015-04-10 Pedro Alves <palves@redhat.com>
3384 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3386 2015-04-10 Yao Qi <yao.qi@linaro.org>
3388 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3389 (test_add_rn_pc): New function.
3390 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3391 (top level): Invoke test_add_rn_pc.
3393 2015-04-10 Pedro Alves <palves@redhat.com>
3396 * gdb.base/step-over-no-symbols.exp: New file.
3398 2015-04-09 Andy Wingo <wingo@igalia.com>
3400 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3401 after the Python tests.
3403 2015-04-08 Keith Seitz <keiths@redhat.com>
3406 * gdb.python/py-completion.exp: New tests for completion.
3407 * gdb.python/py-completion.py (CompleteLimit1): New class.
3408 (CompleteLimit2): Likewise.
3409 (CompleteLimit3): Likewise.
3410 (CompleteLimit4): Likewise.
3411 (CompleteLimit5): Likewise.
3412 (CompleteLimit6): Likewise.
3413 (CompleteLimit7): Likewise.
3415 2015-04-08 Pedro Alves <palves@redhat.com>
3419 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3421 (main): Install it as SIGUSR1 handler.
3422 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3423 parameter. Always use "setup" as prefix. Toggle "set
3424 displaced-stepping" off/on depending on global. Don't switch to
3426 (top level): Add displaced stepping "off/on" test axis. Update
3427 "setup" calls. Wrap each subtest with with_test_prefix. Test
3428 continuing with a queued signal in each thread.
3430 2015-04-08 Pedro Alves <palves@redhat.com>
3432 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3433 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3434 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3435 Return early if running to main fails.
3436 * gdb.trace/while-stepping.exp: Likewise.
3438 2015-04-07 Pedro Alves <palves@redhat.com>
3440 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3441 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3442 interact with inferior program.
3444 2015-04-07 Pedro Alves <palves@redhat.com>
3446 * lib/gdb.exp (inferior_spawn_id): New global.
3447 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3448 spawn id after processing the user code.
3449 (default_gdb_start): Set inferior_spawn_id.
3450 (send_inferior): New procedure.
3451 * lib/gdbserver-support.exp (gdbserver_start): Set
3453 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3455 2015-04-07 Pedro Alves <palves@redhat.com>
3457 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3458 * lib/gdbserver-support.exp (gdbserver_start): Make
3459 $server_spawn_id global.
3460 (gdbserver_start): Don't wait for gdbserver's spawn id with
3462 (close_gdbserver): New procedure.
3463 (gdb_exit): Rename the default version and reimplement.
3465 2015-04-07 Pedro Alves <palves@redhat.com>
3467 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3468 append the substituted item, not the original item.
3470 2015-04-07 Pedro Alves <palves@redhat.com>
3472 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3475 2015-04-07 Pedro Alves <palves@redhat.com>
3477 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3478 output appearing once only.
3480 2015-04-07 Pedro Alves <palves@redhat.com>
3482 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3483 that doesn't expect anything. Return early if running to main
3486 2015-04-07 Yao Qi <yao.qi@linaro.org>
3488 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3489 (child_function): Call alarm.
3490 (main): Move call to alarm into the loop.
3491 * gdb.threads/non-stop-fair-events.exp: Build program with
3494 2015-04-06 Doug Evans <xdje42@gmail.com>
3496 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3497 Fix dest parameter to board_info.
3498 (fpc_compile): Ditto.
3499 (gdb_compile_pascal): Rename dest arg to destfile.
3501 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3503 * gdb.ada/funcall_ref.exp: New file.
3504 * gdb.ada/funcall_ref/foo.adb: New file.
3506 2015-04-02 Yao Qi <yao.qi@linaro.org>
3508 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3511 2015-04-02 Gary Benson <gbenson@redhat.com>
3513 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3515 2015-04-01 Sasha Smundak <asmundak@google.com>
3517 * gdb.python/py-unwind-maint.c: New file.
3518 * gdb.python/py-unwind-maint.exp: New test.
3519 * gdb.python/py-unwind-maint.py: New file.
3520 * gdb.python/py-unwind.c: New file.
3521 * gdb.python/py-unwind.exp: New test.
3522 * gdb.python/py-unwind.py: New test.
3524 2015-04-01 Pedro Alves <palves@redhat.com>
3526 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3527 to fail instead of non-existent $test.
3529 2015-04-01 Pedro Alves <palves@redhat.com>
3531 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3532 GDBFLAGS if not empty.
3534 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3536 * gdb.ada/complete.exp: Remove "multi_line".
3537 * gdb.ada/info_exc.exp: Remove "multi_line".
3538 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3539 * gdb.ada/ptype_field.exp: Remove "multi_line".
3540 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3541 * gdb.ada/tagged.exp: Remove "multi_line".
3542 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3544 * gdb.btrace/delta.exp: Likewise.
3545 * gdb.btrace/exception.exp: Likewise.
3546 * gdb.btrace/function_call_history.exp: Likewise.
3547 * gdb.btrace/instruction_history.exp: Likewise.
3548 * gdb.btrace/nohist.exp: Likewise.
3549 * gdb.btrace/record_goto.exp: Likewise.
3550 * gdb.btrace/segv.exp: Likewise.
3551 * gdb.btrace/stepi.exp: Likewise.
3552 * gdb.btrace/tailcall.exp: Likewise.
3553 * gdb.btrace/unknown_functions.exp: Likewise.
3554 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3555 * lib/gdb.exp: Add the "multi_line" helper.
3557 2015-04-01 Pedro Alves <palves@redhat.com>
3559 * gdb.threads/tid-reuse.c: New file.
3560 * gdb.threads/tid-reuse.exp: New file.
3562 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3565 * gdb.base/coredump-filter.c: New file.
3566 * gdb.base/coredump-filter.exp: Likewise.
3568 2015-03-27 Petr Machata <pmachata@redhat.com>
3570 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3571 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3572 (Dwarf::assemble): Initialize them.
3573 (Dwarf::lines): New function.
3575 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3577 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3578 SYMBOL_PREFIX for x86_64-*-cygwin.
3580 2015-03-26 Andy Wingo <wingo@igalia.com>
3583 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3584 const_value but not a location.
3585 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3586 location defined in non-main CUs are visible.
3588 2015-03-26 Yao Qi <yao.qi@linaro.org>
3591 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3592 Add a line number entry for the same line.
3593 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3594 Add a line number entry for the same line.
3596 2015-03-26 Yao Qi <yao.qi@linaro.org>
3598 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3600 (func): Likewise. Add .Lfunc_1 label.
3602 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3607 2015-03-26 Yao Qi <yao.qi@linaro.org>
3609 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3610 Call gdb_compile instead to compile each .s files without debug
3613 2015-03-26 Yao Qi <yao.qi@linaro.org>
3615 * gdb.base/savedregs.exp (process_saved_regs): Make
3616 "Saved registers:" optional in the pattern.
3618 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3620 * gdb.btrace/next.exp: Merged into step.exp.
3621 * gdb.btrace/finish.exp: Merged into step.exp.
3622 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3623 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3624 "record goto" and checking the exact replay position.
3625 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3626 check for "Recording format" in "info record" output.
3627 * gdb.btrace/record_goto.exp: Choose test file based on target.
3628 * gdb.btrace/x86-record_goto.S: Renamed into ...
3629 * gdb.btrace/x86_64-record_goto.S: ... this.
3630 * gdb.btrace/i686-record_goto.S: New.
3631 * gdb.btrace/x86-tailcall.S: Renamed into ...
3632 * gdb.btrace/x86_64-tailcall.S: ... this.
3633 * gdb.btrace/i686-tailcall.S: New.
3634 * gdb.btrace/x86-tailcall.c: Renamed into ...
3635 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3636 separate statements. Update test.
3637 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3638 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3639 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3640 * gdb.btrace/tailcall.exp: Choose test file based on target.
3641 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3643 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3645 * gdb.btrace/exception.exp: Increase BTS buffer size.
3647 2015-03-24 Pedro Alves <palves@redhat.com>
3649 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3651 2015-03-24 Pedro Alves <palves@redhat.com>
3653 * gdb.threads/schedlock.exp (test_step): No longer expect that
3654 "set scheduler-locking step" with "next" over a function call runs
3657 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3659 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3661 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3663 PR breakpoints/16466
3664 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3665 * gdb.mi/mi-pending.c (thread_func): New function.
3666 (int main): Add threading support required.
3667 * gdb.mi/mi-pending.exp: Add tests for this issue.
3668 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3669 (pendfunc2): Remove stdio dependency.
3670 * gdb.mi/mi-pendshr2.c: New file.
3672 2015-03-23 Keith Seitz <keiths@redhat.com>
3674 * gdb.linespec/keywords.c: New file.
3675 * gdb.linespec/keywords.exp: New file.
3677 2015-03-23 Keith Seitz <keiths@redhat.com>
3680 * gdb.dwarf2/staticvirtual.exp: New test.
3682 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3684 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3685 * README: Remove HP-UX and gdb.hp.
3687 * configure: Regenerate.
3688 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3689 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3690 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3691 gdb.hp/gdb.defects/Makefile.
3692 * gdb.hp/Makefile.in: File deleted.
3693 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3694 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3695 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3696 * gdb.hp/gdb.aCC/run.c: File deleted.
3697 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3698 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3699 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3700 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3701 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3702 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3703 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3704 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3705 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3706 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3707 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3708 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3709 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3710 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3711 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3712 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3713 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3714 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3715 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3716 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3717 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3718 * gdb.hp/gdb.compat/average.c: File deleted.
3719 * gdb.hp/gdb.compat/sum.c: File deleted.
3720 * gdb.hp/gdb.compat/xdb.c: File deleted.
3721 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3722 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3723 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3724 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3725 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3726 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3727 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3728 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3729 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3730 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3731 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3732 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3733 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3734 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3735 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3736 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3737 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3738 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3739 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3740 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3741 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3742 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3743 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3744 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3745 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3746 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3747 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3748 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3749 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3750 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3751 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3752 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3753 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3754 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3755 * gdb.hp/tools/odump: File deleted.
3757 2015-03-19 Pedro Alves <palves@redhat.com>
3759 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3760 (saw_thread_3): New globals.
3761 (top level): Increment them when an event for the corresponding
3763 (no thread starvation): New test.
3765 2015-03-19 Pedro Alves <palves@redhat.com>
3767 * gdb.threads/continue-pending-status.c: New file.
3768 * gdb.threads/continue-pending-status.exp: New file.
3770 2015-03-18 Pedro Alves <palves@redhat.com>
3772 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3773 Use gdb_is_target_remote instead of is_remote. Use
3774 gdb_test_multiple instead of gdb_expect. Exit early if
3775 gdb_test_multiple hits its internal matches. Tighten stepi tests
3776 expected output. Fail on exit with any signal, instead of just
3779 2015-03-18 Yao Qi <yao.qi@linaro.org>
3782 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3784 * gdb.base/catch-syscall.exp: Don't skip it on
3785 aarch64*-*-linux* target. Remove elements in all_syscalls.
3786 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3788 (setup_all_syscalls): New proc.
3790 2015-03-16 Yao Qi <yao.qi@linaro.org>
3792 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3793 (top level): Skip tests if valid_addr_p returns false for
3796 2015-03-11 Andy Wingo <wingo@igalia.com>
3798 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3800 2015-03-11 Yao Qi <yao.qi@linaro.org>
3802 * gdb.base/catch-syscall.exp: Fix typo in comments.
3804 2015-03-11 Yao Qi <yao.qi@linaro.org>
3806 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3808 2015-03-09 Pedro Alves <palves@redhat.com>
3810 * dg-extract-results.py: Delete.
3812 2015-03-09 Pedro Alves <palves@redhat.com>
3814 Merge dg-extract-results.sh from GCC upstream (r218843).
3816 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3817 * dg-extract-results.sh: Use --text with grep to avoid issues with
3818 binary files. Fall back to cat -v, if that doesn't work.
3820 2015-03-05 Pedro Alves <palves@redhat.com>
3822 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3824 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3826 * lib/mi-support.exp (mi_expect_interrupt): Accept
3827 alternative event for when in all-stop mode.
3829 2015-03-04 Pedro Alves <palves@redhat.com>
3831 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3833 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3835 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3837 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3839 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3840 regexps for GDB's current line display, accept a hex address
3841 preceding the line number.
3843 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3845 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3846 the 'arch1' variable for "s390*-linux*" targets.
3848 2015-03-04 Pedro Alves <palves@redhat.com>
3850 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3851 (main): Pass missing retval argument to pthread_join call.
3853 2015-03-02 Pedro Alves <palves@redhat.com>
3855 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3856 (top level): Call do_test with non-stop as well.
3858 2015-03-02 Pedro Alves <palves@redhat.com>
3860 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3863 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3865 * gdb.arch/s390-vregs.exp: New test.
3866 * gdb.arch/s390-vregs.S: New file.
3868 2015-02-27 Pedro Alves <palves@redhat.com>
3870 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3871 call to catch_command_errors.
3872 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3873 catch_command_errors.
3875 2015-02-27 Pedro Alves <palves@redhat.com>
3877 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3878 "true" for boolean result.
3879 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3882 2015-02-27 Pedro Alves <palves@redhat.com>
3884 * lib/unbuffer_output.c: New file.
3885 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3886 (main): Call gdb_unbuffer_output.
3888 2015-02-27 Yao Qi <yao.qi@linaro.org>
3890 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3893 2015-02-26 Doug Evans <dje@google.com>
3895 * gdb.cp/class2.cc (Dbase, D): New classes.
3896 (main): New local delta.
3897 * gdb.cp/class2.exp: Test printing delta.
3898 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3899 (dynbar): New global.
3900 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3902 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3904 * gdb.compile/compile-ifunc.c: New file.
3905 * gdb.compile/compile-ifunc.exp: New file.
3907 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3909 * gdb.base/structs.exp: Check for correct struct on finish.
3911 2015-02-26 Yao Qi <yao.qi@linaro.org>
3913 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3916 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3918 * gdb.arch/cordic.ko.bz2: New file.
3919 * gdb.arch/cordic.ko.debug.bz2: New file.
3920 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3922 2015-02-25 Yao Qi <yao.qi@linaro.org>
3924 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3925 aarch64*-*-* target.
3927 2015-02-23 Pedro Alves <palves@redhat.com>
3929 * lib/gdb.exp (delete_breakpoints): Rewrite using
3932 2015-02-23 Pedro Alves <palves@redhat.com>
3934 * gdb.base/info-os.c: Include stdlib.h.
3936 2015-02-22 Doug Evans <xdje42@gmail.com>
3939 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
3940 is read after symbols have been re-read.
3941 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
3942 * gdb.ada/exec_changed/second.adb (Second): Ditto.
3944 2015-02-21 Doug Evans <dje@google.com>
3946 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
3948 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
3951 * gdb.arch/i386-biarch-core.core.bz2: New file.
3952 * gdb.arch/i386-biarch-core.exp: New file.
3954 2015-02-21 Pedro Alves <palves@redhat.com>
3956 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
3959 2015-02-20 Pedro Alves <palves@redhat.com>
3961 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
3964 2015-02-20 Pedro Alves <palves@redhat.com>
3966 * gdb.threads/multi-create-ns-info-thr.exp: New file.
3968 2015-02-20 Pedro Alves <palves@redhat.com>
3970 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
3971 clean_restart before gdb_target_supports_trace.
3973 2015-02-20 Pedro Alves <palves@redhat.com>
3976 * gdb.threads/clone-thread_db.c: New file.
3977 * gdb.threads/clone-thread_db.exp: New file.
3979 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
3981 PR breakpoints/16812
3982 * gdb.base/catch-gdb-caused-signals.c: New file.
3983 * gdb.base/catch-gdb-caused-signals.exp: New file.
3985 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
3987 * configure: Regenerated.
3988 * configure.ac: Use GDB_AC_TRANSFORM.
3989 * aclocal.m4: sinclude ../transform.m4.
3991 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
3993 * lib/dtrace.exp: New file.
3994 * gdb.base/dtrace-probe.exp: Likewise.
3995 * gdb.base/dtrace-probe.d: Likewise.
3996 * gdb.base/dtrace-probe.c: Likewise.
3997 * lib/pdtrace.in: Likewise.
3998 * configure.ac: Output variables with the transformed names of
3999 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4000 * configure: Regenerated.
4002 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4004 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4005 expected message when trying to access $_probe_* convenience
4006 variables while not on a probe.
4008 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4010 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4012 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4014 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4015 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4017 2015-02-10 Doug Evans <xdje42@gmail.com>
4019 * lib/gdb.exp (gdb_load): Always return a result.
4021 2015-02-10 Pedro Alves <palves@redhat.com>
4023 * gdb.threads/signal-sigtrap.c: New file.
4024 * gdb.threads/signal-sigtrap.exp: New file.
4026 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4028 * gdb.trace/no-attach-trace.c: New file.
4029 * gdb.trace/no-attach-trace.exp: New file.
4031 2015-02-09 Mark Wielaard <mjw@redhat.com>
4033 * gdb.dwarf2/atomic.c: New file.
4034 * gdb.dwarf2/atomic-type.exp: Likewise.
4036 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4038 * gdb.btrace/buffer-size.exp: Update "info record" output.
4039 * gdb.btrace/delta.exp: Update "info record" output.
4040 * gdb.btrace/enable.exp: Update "info record" output.
4041 * gdb.btrace/finish.exp: Update "info record" output.
4042 * gdb.btrace/instruction_history.exp: Update "info record" output.
4043 * gdb.btrace/next.exp: Update "info record" output.
4044 * gdb.btrace/nexti.exp: Update "info record" output.
4045 * gdb.btrace/step.exp: Update "info record" output.
4046 * gdb.btrace/stepi.exp: Update "info record" output.
4047 * gdb.btrace/nohist.exp: Update "info record" output.
4049 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4051 * gdb.btrace/buffer-size: New.
4053 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4055 * gdb.btrace/delta.exp: Update "info record" output.
4056 * gdb.btrace/enable.exp: Update "info record" output.
4057 * gdb.btrace/finish.exp: Update "info record" output.
4058 * gdb.btrace/instruction_history.exp: Update "info record" output.
4059 * gdb.btrace/next.exp: Update "info record" output.
4060 * gdb.btrace/nexti.exp: Update "info record" output.
4061 * gdb.btrace/step.exp: Update "info record" output.
4062 * gdb.btrace/stepi.exp: Update "info record" output.
4063 * gdb.btrace/nohist.exp: Update "info record" output.
4065 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4068 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4070 2015-02-06 Pedro Alves <palves@redhat.com>
4072 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4074 (seconds_left, again): New globals.
4075 (main): Wait seconds_left in a 1-second sleep loop instead of
4076 sleeping 180 seconds. If 'again' is set, reset the seconds
4078 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4079 'again' in the inferior before detaching. Print the seconds left.
4080 (options): New global.
4081 (top level): Build program with -DTIMEOUT=$timeout.
4083 2015-02-06 Pedro Alves <palves@redhat.com>
4085 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4086 determine how many seconds to pass to 'alarm'.
4087 * gdb.base/gdb-sigterm.exp (top level): Build program with
4089 (do_test): Return success/failure indication. Add more verbose
4090 logging. Don't fail if 200 single steps are seen. Instead, fail
4091 when the test times out.
4092 (passes): New global.
4093 (top level): Break the testing loop if testing fails on any
4094 iteration. Use gdb_assert.
4096 2015-02-04 Don Breazeal <donb@codesourcery.com>
4098 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4099 and initialize them.
4100 (ipc_cleanup): New function.
4101 (main): Don't declare shmid, semid, and msqid. Add a call to
4102 atexit so that we call ipc_cleanup on exit.
4104 2015-02-04 Pedro Alves <palves@redhat.com>
4106 * boards/native-extended-gdbserver.exp: Remove any target variant
4107 specifications from the board name before clearing the isremote
4108 flag from board_info.
4110 2015-01-31 Doug Evans <xdje42@gmail.com>
4112 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4114 2015-01-31 Gary Benson <gbenson@redhat.com>
4116 * gdb.base/completion.exp: Disable completion limiting for
4117 existing tests. Add new tests to check completion limiting.
4118 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4120 2015-01-31 Doug Evans <xdje42@gmail.com>
4122 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4124 2015-01-31 Doug Evans <xdje42@gmail.com>
4126 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4127 entries. Duplicate file section script entries.
4128 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4129 inlined entries. Add test for safe-path rejection.
4130 * gdb.python/py-section-script.c: Add duplicate inlined section script
4131 entries. Duplicate file section script entries.
4132 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4133 inlined entries. Add test for safe-path rejection.
4135 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4137 * gdb.ada/disc_arr_bound: New testcase.
4139 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4141 * gdb.ada/mi_var_array: New testcase.
4143 2015-01-27 Doug Evans <dje@google.com>
4145 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4146 Add test for objfile.filename, objfile.username after objfile
4149 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4151 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4152 the second test to print the name attribute of value
4153 returned by the call to gdb.lookup_type, and adjust
4154 the expected output accordingly.
4156 2015-01-25 Mark Wielaard <mjw@redhat.com>
4158 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4159 * gdb.base/disp-step-fork.c: Include unistd.h.
4160 * gdb.base/siginfo-obj.c: Include stdio.h.
4161 * gdb.base/siginfo-thread.c: Likewise.
4162 * gdb.mi/non-stop.c: Include unistd.h.
4163 * gdb.mi/nsthrexec.c: Include stdio.h.
4164 * gdb.mi/pthreads.c: Include unistd.h.
4165 * gdb.modula2/unbounded1.c (main): Declare returns int.
4166 * gdb.reverse/consecutive-reverse.c: Likewise.
4167 * gdb.threads/create-fail.c: Include unistd.h.
4168 * gdb.threads/killed.c: Likewise.
4169 * gdb.threads/linux-dp.c: Likewise.
4170 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4171 * gdb.threads/non-ldr-exc-2.c: Likewise.
4172 * gdb.threads/non-ldr-exc-3.c: Likewise.
4173 * gdb.threads/non-ldr-exc-4.c: Likewise.
4174 * gdb.threads/pthreads.c: Include unistd.h.
4175 (main): Declare returns int.
4176 * gdb.threads/tls-main.c (foo): New declaration.
4177 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4179 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4181 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4182 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4184 2015-01-15 Mark Wielaard <mjw@redhat.com>
4186 * gdb.base/noreturn-return.c: New file.
4187 * gdb.base/noreturn-return.exp: New file.
4188 * gdb.base/noreturn-finish.c: New file.
4189 * gdb.base/noreturn-finish.exp: New file.
4191 2015-01-23 Pedro Alves <palves@redhat.com>
4193 * gdb.threads/continue-pending-after-query.c: New file.
4194 * gdb.threads/continue-pending-after-query.exp: New file.
4196 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4197 Simon Marchi <simon.marchi@ericsson.com>
4199 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4200 * gdb.base/valgrind-db-attach.exp: Same.
4201 * gdb.base/valgrind-infcall.exp: Same.
4202 * lib/mi-support.exp (default_mi_gdb_start): Same.
4203 * lib/prompt.exp (default_prompt_gdb_start): Same.
4204 * lib/gdb.exp (default_gdb_spawn): Same.
4205 (gdb_interact): New.
4208 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4210 * gdb.compile/compile.exp (pointer to jit function): New test.
4212 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4214 * lib/gdb.exp (supports_process_record): Return true for
4216 (supports_reverse): Likewise.
4218 2015-01-15 Don Breazeal <donb@codesourcery.com>
4220 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4221 instead of checking whether the target board is remote and
4222 use spawn_wait_for_attach instead of exec/sleep.
4223 * gdb.base/attach-twice.exp: Likewise.
4225 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4227 * gdb.ada/var_arr_attrs: New testcase.
4229 2015-01-14 Pedro Alves <palves@redhat.com>
4230 Joel Brobecker <brobecker@adacore.com>
4233 * gdb.base/bp-cmds-execution-x-script.c: New file.
4234 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4235 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4237 2015-01-14 Pedro Alves <palves@redhat.com>
4240 * gdb.base/batch-preserve-term-settings.c: New file.
4241 * gdb.base/batch-preserve-term-settings.exp: New file.
4243 2015-01-13 Doug Evans <dje@google.com>
4245 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4248 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4250 * Makefile.in (clean mostlyclean): Do not delete *.py.
4252 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4254 * gdb.python/py-lookup-type.exp: New file.
4256 2015-01-12 Pedro Alves <palves@redhat.com>
4258 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4259 restore GDBFLAGS before returning.
4261 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4263 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4264 is_amd64_regs_target and is_x86_like_target.
4266 2015-01-11 Doug Evans <xdje42@gmail.com>
4268 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4269 is given without an explicit form.
4270 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4272 * gdb.dwarf/corrupt.exp: Ditto.
4273 * gdb.dwarf2/enum-type.exp: Ditto.
4274 * gdb.trace/entry-values.exp: Ditto.
4275 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4277 2015-01-11 Doug Evans <xdje42@gmail.com>
4280 * gdb.base/maint.exp: Remove references to "maint demangle".
4281 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4282 Add tests for explicitly specifying language to demangle.
4283 * gdb.dlang/demangle.exp: Ditto.
4285 2015-01-09 Pedro Alves <palves@redhat.com>
4287 * gdb.threads/non-stop-fair-events.c: New file.
4288 * gdb.threads/non-stop-fair-events.exp: New file.
4290 2015-01-09 Pedro Alves <palves@redhat.com>
4292 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4293 the global scope. Set a breakpoint after all threads are started
4294 rather than stepping over two source lines. Expect the prompt.
4295 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4298 (main): Use threads_started_barrier to wait for all threads to
4299 start. Main thread no longer calls thread_function. Exit after
4301 (loop): New function.
4302 (thread_function): Wait on threads_started_barrier barrier. Call
4303 'loop' at each iteration.
4304 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4305 threads have started, instead of hardcoding number of "next"
4306 steps. Use an access watchpoint instead of a write watchpoint.
4308 2015-01-09 Pedro Alves <palves@redhat.com>
4310 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4311 (thread_func): Wait on barrier.
4312 (main): Wait for all threads to start before stopping GDB.
4313 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4315 (thread1_func, thread2_func): Wait on barrier.
4316 (main): Wait for all threads to start before stopping GDB.
4317 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4319 (thread1_func, thread2_func): Wait on barrier.
4320 (main): Wait for all threads to start before stopping GDB.
4322 2015-01-09 Pedro Alves <palves@redhat.com>
4324 * gdb.threads/attach-many-short-lived-threads.c: New file.
4325 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4327 2014-01-09 Pedro Alves <palves@redhat.com>
4329 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4330 instead of to thread 2.
4331 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4332 Add barrier around each pthread_create call instead of around all
4334 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4335 Set a break on thread_function and have the child threads hit it
4338 2015-01-09 Pedro Alves <palves@redhat.com>
4340 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4341 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4343 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4344 checking whether the target board is remote.
4345 * gdb.multi/multi-attach.exp: Likewise.
4346 * gdb.python/py-sync-interp.exp: Likewise.
4347 * gdb.server/ext-attach.exp: Likewise.
4348 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4349 tests that need to attach, instead of checking whether the target
4350 board is remote at the top of the file.
4352 2015-01-08 Yao Qi <yao@codesourcery.com>
4354 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4356 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4358 Fix testcase compilation.
4359 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4361 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4363 * gdb.python/py-type.exp: Add a couple test about empty
4364 array creation, and negative-length array creation.
4366 2015-01-02 Doug Evans <xdje42@gmail.com>
4368 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4370 2015-01-02 Doug Evans <dje@google.com>
4372 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4374 2014-12-29 Yao Qi <yao@codesourcery.com>
4376 * gdb.trace/entry-values.exp: Update comments. Rename variable
4377 bar_call_foo to returned_from_foo.
4379 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4382 * gdb.linespec/break-asm-file.c: New file.
4383 * gdb.linespec/break-asm-file.exp: New file.
4384 * gdb.linespec/break-asm-file0.s: New file.
4385 * gdb.linespec/break-asm-file1.s: New file.
4387 2014-12-18 Nigel Stephens <nigel@mips.com>
4388 Maciej W. Rozycki <macro@codesourcery.com>
4390 * gdb.base/float.exp: Handle the new output from "info float" on
4393 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4395 Fix MinGW compilation.
4396 * gdb.compile/compile-ops.exp: Update untested message if
4397 !skip_compile_feature_tests.
4398 * gdb.compile/compile-setjmp.exp: Likewise.
4399 * gdb.compile/compile-tls.exp: Likewise.
4400 * gdb.compile/compile.exp: Likewise.
4401 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4402 supported on this host".
4404 2014-12-16 Doug Evans <xdje42@gmail.com>
4406 * boards/stabs.exp: New file.
4408 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4410 * gdb.base/completion.exp: Adjust to format changes of "maint
4411 print user-registers".
4413 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4416 * gdb.arch/aarch64-fp.c: New file.
4417 * gdb.arch/aarch64-fp.exp: New file.
4419 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4421 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4422 r210637, r210913, r211666, r215400, r215817).
4424 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4425 * dg-extract-results.py: New file.
4426 * dg-extract-results.sh: Use it if the environment seems
4429 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4431 * dg-extract-results.py (parse_run): Handle warnings that
4432 are printed before a test harness is run.
4434 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4436 * dg-extract-results.py (Named): Remove __cmp__ method.
4437 (output_variation): Use a key to sort variation.harnesses.
4439 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4441 * dg-extract-results.py: For Python 3, force sys.stdout to
4442 handle surrogate escape sequences.
4443 (safe_open): New function.
4444 (output_segment, main): Use it.
4446 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4448 * dg-extract-results.py (Prog.result_re): Include options
4451 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4453 * dg-extract-results.py (output_variation): Always sort if
4456 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4458 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4459 as long as we get pagination notifications.
4461 2014-12-15 Jason Merrill <jason@redhat.com>
4463 * Makefile.in (check-gdb.%): Restore.
4464 * README: Mention it.
4466 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4468 * gdb.ada/str_uninit: New testcase.
4470 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4473 * gdb.base/vla-stub-define.c: New file.
4474 * gdb.base/vla-stub.c: New file.
4475 * gdb.base/vla-stub.exp: New file.
4477 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4478 Jan Kratochvil <jan.kratochvil@redhat.com>
4479 Tom Tromey <tromey@redhat.com>
4481 * configure.ac: Add gdb.compile/.
4482 * configure: Regenerate.
4483 * gdb.compile/Makefile.in: New file.
4484 * gdb.compile/compile-ops.exp: New file.
4485 * gdb.compile/compile-ops.c: New file.
4486 * gdb.compile/compile-tls.c: New file.
4487 * gdb.compile/compile-tls.exp: New file.
4488 * gdb.compile/compile-constvar.S: New file.
4489 * gdb.compile/compile-constvar.c: New file.
4490 * gdb.compile/compile-mod.c: New file.
4491 * gdb.compile/compile-nodebug.c: New file.
4492 * gdb.compile/compile-setjmp-mod.c: New file.
4493 * gdb.compile/compile-setjmp.c: New file.
4494 * gdb.compile/compile-setjmp.exp: New file.
4495 * gdb.compile/compile-shlib.c: New file.
4496 * gdb.compile/compile.c: New file.
4497 * gdb.compile/compile.exp: New file.
4498 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4500 2014-12-12 Tom Tromey <tromey@redhat.com>
4502 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4503 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4505 2014-12-12 Doug Evans <dje@google.com>
4507 * lib/gdb-python.exp (get_python_valueof): New function.
4508 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4510 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4512 * gdb.base/completion.exp: Add test for completion of "info
4515 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4517 * gdb.base/func-ptrs.c: New file.
4518 * gdb.base/func-ptrs.exp: New file.
4520 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4522 PR breakpoints/17012
4523 * gdb.base/dprintf-detach.c: New file.
4524 * gdb.base/dprintf-detach.exp: New file.
4526 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4528 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4529 * lib/gdb.exp (target_is_gdbserver): New procedure.
4531 2014-12-08 Doug Evans <dje@google.com>
4533 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4535 2014-12-05 Yao Qi <yao@codesourcery.com>
4537 * gdb.guile/scm-error.exp: Remove the third argument to
4538 gdb_remote_download.
4539 * gdb.guile/scm-frame-args.exp: Likewise.
4540 * gdb.guile/scm-section-script.exp: Likewise.
4542 2014-12-05 Yao Qi <yao@codesourcery.com>
4544 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4546 2014-12-04 Doug Evans <dje@google.com>
4548 * gdb.python/py-objfile.exp: Add tests for
4549 objfile.add_separate_debug_file.
4551 2014-12-04 Doug Evans <dje@google.com>
4553 * lib/gdb.exp (get_build_id): New function.
4554 (build_id_debug_filename_get): Rewrite to use it.
4555 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4557 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4559 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4560 `method(long)', not just 0x0.
4561 * gdb.cp/nsalias.exp: Align code labels to 4.
4562 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4563 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4564 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4565 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4566 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4567 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4569 2014-12-02 Doug Evans <dje@google.com>
4572 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4573 * gdb.cp/anon-ns2.cc: ... here. New file.
4574 * gdb.cp/anon-ns.exp: Update.
4576 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4578 * gdb.python/py-events.py (inferior_call_handler): New.
4579 (register_changed_handler, memory_changed_handler): New.
4580 (test_events.invoke): Register new handlers.
4581 * gdb.python/py-events.exp: Add tests for inferior call,
4582 memory_changed and register_changed events.
4584 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4586 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4587 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4588 if the linker doesn't understand this.
4590 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4592 * gdb.python/python.exp: Change expected reply to help().
4594 2014-12-01 Yao Qi <yao@codesourcery.com>
4596 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4597 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4598 * configure: Re-generated.
4600 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4602 * gdb.cp/chained-calls.cc: New file.
4603 * gdb.cp/chained-calls.exp: New file.
4604 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4606 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4608 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4609 * gdb.dwarf2/symtab-producer.exp: Same.
4610 * gdb.gdb/python-interrupts.exp: Same.
4611 * gdb.gdb/python-selftest.exp: Same.
4612 * gdb.python/py-linetable.exp: Same.
4613 * gdb.python/py-type.exp: Same.
4614 * gdb.python/py-value-cc.exp: Same.
4615 * gdb.python/py-value.exp: Same.
4617 2014-11-28 Yao Qi <yao@codesourcery.com>
4619 * gdb.base/break-probes.exp: Match library name prefixed with
4622 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4624 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4625 test expected output. Add parentheses for the call to print.
4626 Remove L suffix from integers.
4628 2014-11-26 Doug Evans <dje@google.com>
4630 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4632 2014-11-22 Yao Qi <yao@codesourcery.com>
4634 * gdb.trace/entry-values.c: Remove asms.
4635 (foo): Add foo_label.
4636 (bar): Add bar_label.
4637 * gdb.trace/entry-values.exp: Remove code computing foo's
4638 length and bar's length.
4639 (Dwarf::assemble): Invoke function_range for bar and use
4640 MACRO_AT_func for foo.
4642 2014-11-22 Yao Qi <yao@codesourcery.com>
4644 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4645 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4646 Use .Lgcc43_procstart instead of gcc43.
4648 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4650 * gdb.ada/n_arr_bound: New testcase.
4652 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4654 PR breakpoints/10737
4655 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4656 test_catch_syscall_multi_arch.
4657 (test_catch_syscall_multi_arch): New function.
4659 2014-11-20 Doug Evans <xdje42@gmail.com>
4661 * gdb.base/maint.exp: Update expected output.
4663 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4665 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4666 4-byte instruction on S390.
4668 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4670 * gdb.ada/arr_arr: New testcase.
4672 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4674 * gdb.ada/pkd_arr_elem: New Testcase.
4676 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4678 * gdb.reverse/break-precsave: Expect completion message for
4680 * gdb.reverse/consecutive-precsave.exp: Likewise.
4681 * gdb.reverse/finish-precsave.exp: Likewise.
4682 * gdb.reverse/i386-precsave.exp: Likewise.
4683 * gdb.reverse/machinestate-precsave.exp: Likewise.
4684 * gdb.reverse/sigall-precsave.exp: Likewise.
4685 * gdb.reverse/solib-precsave.exp: Likewise.
4686 * gdb.reverse/step-precsave.exp: Likewise.
4687 * gdb.reverse/until-precsave.exp: Likewise.
4688 * gdb.reverse/watch-precsave.exp: Likewise.
4690 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4692 * gdb.base/bp-permanent.c: Include unistd.h.
4693 * gdb.python/py-framefilter-mi.c (main): Add return type.
4694 * gdb.python/py-framefilter.c (main): Likewise.
4695 * gdb.trace/actions-changed.c (main): Likewise.
4697 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4699 * gdb.mi/until.c: Add eye-catchers.
4700 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4703 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4705 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4706 function header variants in break1.c.
4707 * gdb.base/ena-dis-br.exp: Likewise.
4708 * gdb.base/hbreak2.exp: Likewise.
4709 * gdb.reverse/until-precsave.exp: Drop references to removed
4710 non-prototype function header variants in ur1.c.
4711 * gdb.reverse/until-reverse.exp: Likewise.
4713 2014-11-17 Petr Machata <pmachata@redhat.com>
4715 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4716 ${_cu_offset_size} bytes abbrev offset.
4718 2014-11-15 Doug Evans <xdje42@gmail.com>
4721 * gdb.base/line-symtabs.exp: New file.
4722 * gdb.base/line-symtabs.c: New file.
4723 * gdb.base/line-symtabs.h: New file.
4725 2014-11-14 Yao Qi <yao@codesourcery.com>
4727 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4728 (func): Add label func_label.
4729 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4730 Replace low_pc and high_pc with MACRO_AT_range.
4731 Replace name, low_pc and high_pc with MACRO_AT_func.
4733 2014-11-14 Yao Qi <yao@codesourcery.com>
4735 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4736 Replace name, low_pc and high_pc with MACRO_AT_func.
4738 2014-11-14 Yao Qi <yao@codesourcery.com>
4740 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4741 produce debug information.
4742 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4744 2014-11-14 Yao Qi <yao@codesourcery.com>
4746 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4747 object and get function length.
4748 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4750 (top-level): Replace gdb_compile and clean_restart with
4751 prepare_for_testing.
4752 * gdb.dwarf2/main.c (main): Add label main_label.
4754 2014-11-14 Yao Qi <yao@codesourcery.com>
4756 * lib/dwarf.exp (function_range): New procedure.
4757 (Dwarf::_handle_macro_at_func): New procedure.
4758 (Dwarf::_handle_macro_at_range): New procedure.
4759 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4761 2014-11-14 Yao Qi <yao@codesourcery.com>
4763 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4764 (_handle_attribute): New procedure.
4766 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4768 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4769 * gdb.base/call-sc.c (zed): Likewise.
4770 * gdb.base/checkpoint.c (main): Likewise.
4771 * gdb.base/dump.c (main): Likewise.
4772 * gdb.base/gcore.c (main): Likewise.
4773 * gdb.base/huge.c (main): Likewise.
4774 * gdb.base/multi-forks.c (main): Likewise.
4775 * gdb.base/pr10179-a.c (main): Likewise.
4776 * gdb.base/savedregs.c (main): Likewise.
4777 * gdb.base/sigaltstack.c (main): Likewise.
4778 * gdb.base/siginfo.c (main): Likewise.
4779 * gdb.base/structs.c (zed): Likewise.
4780 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4781 * gdb.mi/mi-syn-frame.c (main): Likewise.
4782 * gdb.mi/until.c (foo, main): Likewise.
4783 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4784 * gdb.base/solib-weak.c (foo): Declare.
4785 * gdb.base/attach-twice.c: Include stdio.h.
4786 * gdb.base/weaklib1.c: Likewise.
4787 * gdb.base/weaklib2.c: Likewise.
4788 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4789 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4791 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4792 * gdb.mi/mi-exit-code.c: Likewise.
4793 * gdb.base/break-interp-lib.c: Include string.h.
4794 * gdb.base/coremaker.c: Likewise.
4795 * gdb.base/testenv.c: Likewise.
4796 * gdb.python/py-finish-breakpoint.c: Likewise.
4797 * gdb.base/inferior-died.c: Include sys/wait.h.
4798 * gdb.base/fileio.c: Include time.h.
4799 * gdb.base/async-shell.c: Include unistd.h.
4800 * gdb.base/dprintf-non-stop.c: Likewise.
4801 * gdb.base/info-os.c: Likewise.
4802 * gdb.mi/mi-console.c: Likewise.
4803 * gdb.mi/watch-nonstop.c: Likewise.
4804 * gdb.python/py-events.c: Likewise.
4805 * gdb.base/async.c (baz): Move up before its invocation.
4806 * gdb.base/code_elim2.c (my_global_func): Likewise.
4807 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4808 * gdb.base/advance.c (func2): Likewise.
4810 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4812 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4814 * gdb.base/annota3.c: Likewise.
4815 * gdb.base/async.c: Likewise.
4816 * gdb.base/average.c: Likewise.
4817 * gdb.base/call-ar-st.c: Likewise.
4818 * gdb.base/call-rt-st.c: Likewise.
4819 * gdb.base/call-sc.c: Likewise.
4820 * gdb.base/call-strs.c: Likewise.
4821 * gdb.base/ending-run.c: Likewise.
4822 * gdb.base/execd-prog.c: Likewise.
4823 * gdb.base/exprs.c: Likewise.
4824 * gdb.base/foll-exec.c: Likewise.
4825 * gdb.base/foll-fork.c: Likewise.
4826 * gdb.base/foll-vfork.c: Likewise.
4827 * gdb.base/funcargs.c: Likewise.
4828 * gdb.base/gcore.c: Likewise.
4829 * gdb.base/jump.c: Likewise.
4830 * gdb.base/langs0.c: Likewise.
4831 * gdb.base/langs1.c: Likewise.
4832 * gdb.base/langs2.c: Likewise.
4833 * gdb.base/mips_pro.c: Likewise.
4834 * gdb.base/nodebug.c: Likewise.
4835 * gdb.base/opaque0.c: Likewise.
4836 * gdb.base/opaque1.c: Likewise.
4837 * gdb.base/recurse.c: Likewise.
4838 * gdb.base/run.c: Likewise.
4839 * gdb.base/scope0.c: Likewise.
4840 * gdb.base/scope1.c: Likewise.
4841 * gdb.base/setshow.c: Likewise.
4842 * gdb.base/setvar.c: Likewise.
4843 * gdb.base/shmain.c: Likewise.
4844 * gdb.base/shr1.c: Likewise.
4845 * gdb.base/shr2.c: Likewise.
4846 * gdb.base/sigall.c: Likewise.
4847 * gdb.base/signals.c: Likewise.
4848 * gdb.base/so-indr-cl.c: Likewise.
4849 * gdb.base/solib2.c: Likewise.
4850 * gdb.base/structs.c: Likewise.
4851 * gdb.base/sum.c: Likewise.
4852 * gdb.base/vforked-prog.c: Likewise.
4853 * gdb.base/watchpoint.c: Likewise.
4854 * gdb.reverse/shr2.c: Likewise.
4855 * gdb.reverse/until-reverse.c: Likewise.
4856 * gdb.reverse/ur1.c: Likewise.
4857 * gdb.reverse/watch-reverse.c: Likewise.
4859 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4861 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4863 * gdb.base/sepdebug.exp: Drop references to removed code.
4865 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4867 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4868 variant. Preserve original line numbering.
4869 * gdb.base/list1.c: Likewise.
4871 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4873 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4875 * gdb.base/break1.c: Likewise.
4876 * gdb.base/break.exp: Drop references to removed code.
4878 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4880 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4883 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4885 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4887 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4889 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4890 logic into perform_all_tests() and invoke it with and without
4891 function header prototypes.
4892 (do_function_calls): Remove conditional XFAIL for PR 5318.
4893 (rerun_and_prepare): Remove duplicate code.
4894 (perform_all_tests): New. Main logic moved here.
4896 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4898 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4899 code guarded by #ifdef NO_PROTOTYPES.
4900 (t_double_many_args): Likewise.
4901 (DEF_FUNC_MANY_ARGS_1): Likewise.
4902 (DEF_FUNC_VALUES_1): Likewise.
4903 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4904 guarded by #ifdef PROTOTYPES.
4906 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4908 * gdb.mi/mi-console.c: Add eye-catcher.
4909 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4910 instead of literal line number.
4912 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4914 * gdb.base/shr2.c: Add eye-catcher.
4915 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4918 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4920 * gdb.base/jump.c: Add eye-catchers.
4921 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4924 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4926 * gdb.base/execd-prog.c: Add eye-catchers.
4927 * gdb.base/foll-exec.c: Likewise.
4928 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4931 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4933 * gdb.base/ending-run.c: Add eye-catchers.
4934 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
4935 literal line numbers.
4937 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4939 * gdb.base/call-rt-st.c: Add eye-catchers.
4940 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
4941 literal line numbers.
4943 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4945 * gdb.base/call-ar-st.c: Add eye-catchers.
4946 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
4947 literal line numbers.
4949 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4951 * gdb.base/average.c: Add eye-catchers.
4952 * gdb.base/sum.c: Likewise.
4953 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
4954 regexps dynamically.
4956 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4958 * gdb.base/solib1.c: Add eye-catchers.
4959 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
4960 literal line numbers.
4962 2014-11-12 Pedro Alves <palves@redhat.com>
4964 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
4967 2014-11-12 Pedro Alves <palves@redhat.com>
4969 * gdb.arch/i386-bp_permanent.c: New file.
4970 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
4971 (srcfile): Set to i386-bp_permanent.c.
4972 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
4973 that stepi does not execute the 'leave' instruction, instead of
4974 testing it does execute.
4975 * gdb.base/bp-permanent.c: New file.
4976 * gdb.base/bp-permanent.exp: New file.
4978 2014-11-10 Doug Evans <xdje42@gmail.com>
4981 * gdb.base/symtab-search-order.exp: New file.
4982 * gdb.base/symtab-search-order.c: New file.
4983 * gdb.base/symtab-search-order-1.c: New file.
4984 * gdb.base/symtab-search-order-shlib-1.c: New file.
4986 2014-11-07 Pedro Alves <palves@redhat.com>
4989 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
4992 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
4995 * gdb.cp/pr17494.cc: New file.
4996 * gdb.cp/pr17494.exp: New file.
4998 2014-11-02 Yao Qi <yao@codesourcery.com>
5000 * gdb.python/python.exp: Get working directory and match the
5001 output of "set extended-prompt \\w " with it.
5003 2014-10-30 Doug Evans <dje@google.com>
5005 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5007 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5010 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5012 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5013 * gdb.base/realname-expand.exp: Likewise.
5014 * gdb.linespec/macro-relative.exp: Likewise.
5016 2014-10-29 Pedro Alves <palves@redhat.com>
5019 * gdb.threads/schedlock.c (some_function): New function.
5020 (call_function): New global.
5021 (MAYBE_CALL_SOME_FUNCTION): New macro.
5022 (thread_function): Call it.
5023 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5024 and use it instead of a global counter. Adjust all callers.
5025 (get_current_thread): Use "find current thread" for test message
5026 here rather than having all callers pass down the same string.
5027 (goto_loop): New procedure, factored out from ...
5028 (my_continue): ... this.
5029 (step_ten_loops): Change parameter from test message to command to
5031 (list_count): Delete global.
5032 (check_result): New procedure, factored out from duplicate top
5034 (continue tests): Wrap in with_test_prefix.
5035 (test_step): New procedure, factored out from duplicate top level
5037 (top level): Test "step" in combination with all scheduler-locking
5038 modes. Test "next" in combination with all scheduler-locking
5039 modes, and in combination with stepping over a function call or
5041 * gdb.threads/next-bp-other-thread.c: New file.
5042 * gdb.threads/next-bp-other-thread.exp: New file.
5044 2014-10-29 Pedro Alves <palves@redhat.com>
5047 * gdb.python/python.exp: Test a multi-line command that spawns
5049 * gdb.base/multi-line-starts-subshell.exp: New file.
5051 2014-10-29 Yao Qi <yao@codesourcery.com>
5053 * gdb.base/fileio.exp: Make directories on host.
5055 2014-10-29 Yao Qi <yao@codesourcery.com>
5057 * gdb.base/fileio.c (test_write): Close the file.
5059 2014-10-28 Pedro Alves <palves@redhat.com>
5062 * gdb.base/sigstep.c (no_handler): New global.
5063 (main): If 'no_handler is true, set the signal handlers to
5065 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5066 with_sw_watch and no_handler parameters. Handle them.
5067 (top level) <stepping over handler when stopped at a breakpoint
5068 test>: Add a test axis for testing with a software watchpoint, and
5069 another for testing with the signal handler set to SIG_IGN.
5070 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5071 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5073 2014-10-28 Pedro Alves <palves@redhat.com>
5076 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5077 * gdb.base/sigstep.exp (other_handler_location): New global.
5078 (advance): Support stepping into the signal handler, and running
5079 commands while in the handler.
5080 (in_handler_map): New global.
5081 (top level): In the advance test, add combinations for getting
5082 into the handler with stepping commands, and for running commands
5083 in the handler. Add comment descripting the advancei tests.
5085 2014-10-28 Pedro Alves <palves@redhat.com>
5087 * gdb.base/sigstep.exp: Use build_executable instead of
5088 prepare_for_testing.
5089 (top level): Move code that starts GDB, runs to main and creates a
5091 (restart): ... this new procedure.
5092 (top level): Move backtrace from signal handler test to ...
5093 (validate_backtrace): ... this new procedure.
5094 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5095 with_test_prefix. Always restart GDB.
5096 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5097 with_test_prefix. Always restart GDB. No need to delete
5098 breakpoints after the test.
5099 (test_skip_handler): Remove prefix parameter.
5100 (skip_over_handler, breakpoint_to_handler)
5101 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5102 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5103 restart GDB. No need to delete breakpoints after the test.
5104 (top level): Use foreach to call the test procedures with
5107 2014-10-28 Pedro Alves <palves@redhat.com>
5109 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5110 instead of GNATS numbers.
5111 * gdb.base/sigbpt.exp: Likewise.
5112 * gdb.base/siginfo.exp: Likewise.
5113 * gdb.base/sigstep.exp: Likewise.
5115 2014-10-27 Pedro Alves <palves@redhat.com>
5117 * gdb.base/sigstep.c (dummy): New global.
5118 (main): Issue a couple writes to the new global.
5119 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5121 (skip_over_handler): Use test_skip_handler.
5122 (top level): Call skip_over_handler for stepi and nexti too.
5123 (breakpoint_over_handler): Use test_skip_handler.
5124 (top level): Call breakpoint_over_handler for stepi and nexti too.
5126 2014-10-27 Yao Qi <yao@codesourcery.com>
5128 * gdb.trace/tfile.c (adjust_function_address)
5129 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5130 function descriptor.
5132 2014-10-24 Don Breazeal <donb@codesourcery.com>
5134 * gdb.base/foll-fork.exp (test_follow_fork,
5135 catch_fork_child_follow): Check for updated fork messages emitted
5137 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5138 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5139 vfork_and_exec_child_follow_through_step): Check for updated vfork
5140 messages emitted from infrun.c.
5142 2014-10-24 Pedro Alves <palves@redhat.com>
5144 * gdb.base/corefile.exp: Remove references to ultrix.
5145 * gdb.base/interrupt.exp: Likewise.
5146 * gdb.base/whatis.exp: Likewise.
5147 * gdb.gdb/selftest.exp: Likewise.
5148 * gdb.threads/manythreads.exp: Likewise.
5149 * gdb.threads/print-threads.exp: Likewise.
5150 * gdb.threads/pthreads.exp:: Likewise.
5151 * gdb.threads/schedlock.exp: Likewise.
5153 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5155 * gdb.cp/non-trivial-retval.cc: Add a test case.
5156 * gdb.cp/non-trivial-retval.exp: Add a test.
5158 2014-10-20 Yao Qi <yao@codesourcery.com>
5160 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5161 * gdb.python/py-objfile-script-gdb.py: New file.
5162 * gdb.python/py-objfile-script.exp: Update reference to
5163 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5164 of remote_download. Remove the dest file.
5166 2014-10-20 Yao Qi <yao@codesourcery.com>
5168 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5169 * gdb.base/step-line.exp: Likewise.
5170 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5171 * gdb.dwarf2/dw2-basic.exp: Likewise.
5172 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5173 * gdb.dwarf2/dw2-filename.exp: Likewise.
5174 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5175 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5176 * gdb.dwarf2/dw2-producer.exp: Likewise.
5177 * gdb.dwarf2/mac-fileno.exp: Likewise.
5178 * gdb.python/py-frame-args.exp: Likewise.
5179 * gdb.python/py-framefilter.exp: Likewise.
5180 * gdb.python/py-mi.exp: Likewise.
5181 * gdb.python/py-objfile-script.exp: Likewise
5182 * gdb.python/py-pp-integral.exp: Likewise.
5183 * gdb.python/py-pp-re-notag.exp: Likewise.
5184 * gdb.python/py-prettyprint.exp: Likewise.
5185 * gdb.python/py-section-script.exp: Likewise.
5186 * gdb.python/py-typeprint.exp: Likewise.
5187 * gdb.python/py-xmethods.exp: Likewise.
5188 * gdb.stabs/weird.exp: Likewise.
5189 * gdb.xml/tdesc-regs.exp: Likewise.
5191 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5193 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5194 (out_cu): Use addr_len for the size of addresses.
5195 (out_line): Likewise. Size DW_LNE_set_address instruction
5196 according to addr_len.
5197 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5198 (FUNC): Add START_INSNS to definition.
5200 2014-10-18 Yao Qi <yao@codesourcery.com>
5202 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5203 gdb_has_argv0 return true.
5204 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5205 check [target_info exists noargs], check [gdb_has_argv0]
5207 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5208 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5211 2014-10-17 Doug Evans <dje@google.com>
5213 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5215 * gdb.python/py-events.py: Add clear_objfiles event.
5217 2014-10-17 Doug Evans <dje@google.com>
5219 * gdb.python/py-objfile.exp: Test progspace attribute.
5221 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5223 * gdb.guile/scm-breakpoint.exp: Do not assume any
5224 directory separators when matching source file paths.
5225 * gdb.python/py-breakpoint.exp: Likewise.
5226 * gdb.reverse/break-precsave.exp: Likewise.
5227 * gdb.reverse/break-reverse.exp: Likewise.
5228 * gdb.reverse/consecutive-precsave.exp: Likewise.
5229 * gdb.reverse/finish-precsave.exp: Likewise.
5230 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5231 * gdb.reverse/finish-reverse.exp: Likewise.
5232 * gdb.reverse/i386-precsave.exp: Likewise.
5233 * gdb.reverse/i387-env-reverse.exp: Likewise.
5234 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5235 * gdb.reverse/machinestate-precsave.exp: Likewise.
5236 * gdb.reverse/machinestate.exp: Likewise.
5237 * gdb.reverse/sigall-precsave.exp: Likewise.
5238 * gdb.reverse/solib-precsave.exp: Likewise.
5239 * gdb.reverse/step-precsave.exp: Likewise.
5240 * gdb.reverse/until-precsave.exp: Likewise.
5241 * gdb.reverse/watch-precsave.exp: Likewise.
5242 * gdb.reverse/watch-reverse.exp: Likewise.
5244 2014-10-17 Yao Qi <yao@codesourcery.com>
5246 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5247 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5249 2014-10-17 Pedro Alves <palves@redhat.com>
5252 * gdb.base/bg-execution-repeat.c: New file.
5253 * gdb.base/bg-execution-repeat.exp: New file.
5255 2014-10-17 Pedro Alves <palves@redhat.com>
5258 * gdb.base/continue-all-already-running.c: New file.
5259 * gdb.base/continue-all-already-running.exp: New file.
5261 2014-10-17 Pedro Alves <palves@redhat.com>
5264 * gdb.base/annota-input-while-running.c: New file.
5265 * gdb.base/annota-input-while-running.exp: New file.
5267 2014-10-17 Pedro Alves <palves@redhat.com>
5269 * gdb.base/callfuncs.exp: emove references to osf.
5270 * gdb.base/sigall.exp: Likewise.
5271 * gdb.gdb/selftest.exp: Likewise.
5272 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5273 * gdb.mi/non-stop.c: Likewise.
5274 * gdb.mi/pthreads.c: Likewise.
5275 * gdb.reverse/sigall-precsave.exp: Likewise.
5276 * gdb.reverse/sigall-reverse.exp: Likewise.
5277 * gdb.threads/pthreads.c: Likewise.
5278 * gdb.threads/pthreads.exp: Likewise.
5280 2014-10-17 Yao Qi <yao@codesourcery.com>
5282 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5283 check 'target_info exists noargs'.
5284 (test_command_prompt_position): Likewise.
5285 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5287 (progvar_simple_while_test): Likewise.
5288 (progvar_complex_if_while_test): Likewise.
5289 (if_while_breakpoint_command_test): Likewise.
5290 (infrun_breakpoint_command_test): Likewise.
5291 (breakpoint_command_test): Likewise.
5292 (watchpoint_command_test): Likewise.
5293 (bp_deleted_in_command_test): Likewise.
5294 (temporary_breakpoint_commands): Likewise.
5296 2014-10-16 Yao Qi <yao@codesourcery.com>
5298 * gdb.base/remotetimeout.exp: Remove noargs checking.
5300 2014-10-15 Pedro Alves <palves@redhat.com>
5303 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5304 * gdb.base/breakpoint-in-ro-region.exp
5305 (probe_target_hardware_step): New procedure.
5306 (top level): Probe hardware stepping and hardware breakpoint
5307 support. Test stepping through a read-only region, with both
5308 "breakpoint auto-hw" on and off and both "always-inserted" on and
5311 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5313 * gdb.dlang/demangle.exp: Update for demangling changes.
5315 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5317 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5318 * gdb.cp/non-trivial-retval.exp: Add new tests.
5320 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5324 * gdb.cp/non-trivial-retval.cc: New file.
5325 * gdb.cp/non-trivial-retval.exp: New file.
5327 2014-10-15 Yao Qi <yao@codesourcery.com>
5329 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5332 2014-10-15 Yao Qi <yao@codesourcery.com>
5334 * gdb.python/py-symbol.exp: Match file base name if host is
5335 remote, otherwise match file name with dir name.
5336 * gdb.python/py-symtab.exp: Likewise.
5337 * gdb.python/python.exp: Likewise.
5339 2014-10-15 Yao Qi <yao@codesourcery.com>
5341 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5343 * gdb.python/py-symtab.exp: Likewise.
5344 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5347 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5349 * gdb.ada/addr_arith: New testcase.
5351 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5353 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5354 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5355 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5356 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5358 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5360 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5361 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5362 * gdb.arch/stap-eval-lang-ada.exp: New file.
5364 2014-10-14 Yao Qi <yao@codesourcery.com>
5366 * gdb.mi/mi-var-child.c (nothing1): New function.
5367 (nothing2): New function.
5368 (do_children_tests): Set function pointers by nothing1 and
5370 * gdb.mi/mi-var-child.exp: Step over new added statements.
5371 Update test to match the new output.
5372 * gdb.mi/var-cmd.c (nothing1): New function.
5373 (nothing2): New function.
5374 (do_children_tests): Set function pointers by nothing1 and
5376 * gdb.mi/mi-var-display.exp: Update test to match output.
5377 Step to the line specified by $line_dct_nothing.
5378 Increase the number of lines to step.
5380 2014-10-14 Yao Qi <yao@codesourcery.com>
5382 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5384 * gdb.mi/mi2-var-child.exp: Likewise.
5386 2014-10-13 Doug Evans <dje@google.com>
5388 * gdb.python/py-objfile.exp: Change name of file name test.
5390 2014-10-13 Doug Evans <dje@google.com>
5392 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5393 from the start of the CU.
5395 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5396 Yao Qi <yao@codesourcery.com>
5398 Fix "save breakpoints" for "catch" command.
5399 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5400 Remove -nonewline. Match also the added "main" line.
5402 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5404 Fix "save breakpoints" for "disable $bpnum" command.
5405 * gdb.base/save-bp.c (main): Add label.
5406 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5408 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5410 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5412 2014-10-11 Yao Qi <yao@codesourcery.com>
5414 * gdb.server/server-kill.exp: Execute command
5415 "set remote trace-status-packet on" before "tstatus".
5417 2014-10-11 Yao Qi <yao@codesourcery.com>
5419 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5420 (main): Call getppid.
5421 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5422 and continue to it. Read variable "server_pid".
5424 2014-10-11 Yao Qi <yao@codesourcery.com>
5426 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5428 2014-10-11 Yao Qi <yao@codesourcery.com>
5430 * gdb.threads/thread-find.exp: Don't execute command
5432 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5433 * gdb.threads/linux-dp.exp: Don't check the condition
5434 $threads_created equals to zero.
5436 2014-10-10 Pedro Alves <palves@redhat.com>
5438 * gdb.base/bigcore.exp: Remove references to IRIX.
5439 * gdb.base/funcargs.exp: Likewise.
5440 * gdb.base/interrupt.exp: Likewise.
5441 * gdb.base/mips_pro.exp: Likewise.
5442 * gdb.base/nodebug.exp: Likewise.
5443 * gdb.base/setvar.exp: Likewise.
5444 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5446 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5447 Pedro Alves <palves@redhat.com>
5450 * gdb.base/vdso-warning.c: New file.
5451 * gdb.base/vdso-warning.exp: New file.
5453 2014-10-02 Doug Evans <dje@google.com>
5455 * gdb.base/structs.c (main): Don't run forever.
5457 2014-10-02 Pedro Alves <palves@redhat.com>
5459 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5460 (top level) <stop threads 1, stop threads 2>: Use it.
5462 2014-10-02 Pedro Alves <palves@redhat.com>
5464 * gdb.threads/break-while-running.exp (test): Add new
5465 'update_thread_list' argument. Skip "info threads" if false.
5466 (top level): Add new 'update_thread_list' axis.
5468 2014-10-02 Pedro Alves <palves@redhat.com>
5470 PR breakpoints/17431
5471 * gdb.base/execl-update-breakpoints.c: New file.
5472 * gdb.base/execl-update-breakpoints.exp: New file.
5474 2014-10-01 Pedro Alves <palves@redhat.com>
5476 * gdb.base/breakpoint-in-ro-region.c: New file.
5477 * gdb.base/breakpoint-in-ro-region.exp: New file.
5479 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5481 * gdb.mi/mi-exit-code.exp: New file.
5482 * gdb.mi/mi-exit-code.c: New file.
5484 2014-09-30 Yao Qi <yao@codesourcery.com>
5486 * lib/prelink-support.exp (build_executable_own_libs): Error if
5487 the target isn't native.
5489 2014-09-30 Yao Qi <yao@codesourcery.com>
5491 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5494 2014-09-22 Pedro Alves <palves@redhat.com>
5496 * gdb.threads/break-while-running.exp: New file.
5497 * gdb.threads/break-while-running.c: New file.
5499 2014-09-19 Yao Qi <yao@codesourcery.com>
5501 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5502 Invoke test. Restart GDB with --readnow and invoke test again.
5504 2014-09-19 Yao Qi <yao@codesourcery.com>
5506 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5507 proc set_breakpoint_on_gcd_function. Invoke
5508 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5509 invoke set_breakpoint_on_gcd_function again.
5511 2014-09-18 Doug Evans <dje@google.com>
5513 * gdb.dwarf2/symtab-producer.exp: New file.
5515 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5517 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5518 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5519 * gdb.base/global-var-nested-by-dso.c: Likewise.
5520 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5522 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5523 Pedro Alves <palves@redhat.com>
5525 * gdb.base/watch-bitfields.exp: Pass string other than test file
5526 name to prepare_for_testing.
5527 (watch): New procedure.
5528 (expect_watchpoint): Use with_test_prefix.
5529 (top level): Factor out tests to ...
5530 (test_watch_location, test_regular_watch): ... these new
5531 procedures, and use with_test_prefix and gdb_continue_to_end.
5533 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5535 PR breakpoints/12526
5536 * gdb.base/watch-bitfields.exp: New file.
5537 * gdb.base/watch-bitfields.c: New file.
5539 2014-09-16 Pedro Alves <palves@redhat.com>
5541 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5542 software and hardware addresses, not software address against
5545 2014-09-16 Pedro Alves <palves@redhat.com>
5547 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5548 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5550 2014-09-16 Pedro Alves <palves@redhat.com>
5552 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5554 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5555 "*-*-vxworks*" throughout.
5556 * gdb.base/break.exp: Likewise.
5557 * gdb.base/default.exp: Likewise.
5558 * gdb.base/scope.exp: Likewise.
5559 * gdb.base/sepdebug.exp: Likewise.
5560 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5562 * gdb.base/run.c: Likewise.
5563 * gdb.base/sepdebug.c: Likewise.
5564 * gdb.hp/gdb.aCC/run.c: Likewise.
5565 * gdb.reverse/until-reverse.c: Likewise.
5566 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5568 2014-09-16 Yao Qi <yao@codesourcery.com>
5570 * boards/local-remote-host-native.exp: New file.
5572 2014-09-14 Doug Evans <xdje42@gmail.com>
5574 * gdb.threads/queue-signal.c (thread_count): New variable.
5575 (thread_count_mutex, thread_count_condvar): New variables.
5576 (incr_thread_count, wait_all_threads_running): New functions.
5577 (main): Wait for all threads to be in their thread functions.
5579 2014-09-13 Doug Evans <xdje42@gmail.com>
5581 * gdb.threads/queue-signal.c: New file.
5582 * gdb.threads/queue-signal.exp: New file.
5584 2014-09-13 Doug Evans <xdje42@gmail.com>
5586 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5587 be consistent with what default_gdb_init uses.
5588 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5589 the plain text of the prompt. Add some logging printfs.
5590 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5592 2014-09-12 Pedro Alves <palves@redhat.com>
5594 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5595 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5596 * gdb.arch/i386-size-overlap.exp: Likewise.
5597 * gdb.arch/i386-size.exp: Likewise.
5598 * gdb.arch/i386-unwind.exp: Likewise.
5599 * gdb.base/a2-run.exp: Likewise.
5600 * gdb.base/break.exp: Likewise.
5601 * gdb.base/charset.exp: Likewise.
5602 * gdb.base/chng-syms.exp: Likewise.
5603 * gdb.base/commands.exp: Likewise.
5604 * gdb.base/dbx.exp: Likewise.
5605 * gdb.base/find.exp: Likewise.
5606 * gdb.base/funcargs.exp: Likewise.
5607 * gdb.base/jit-simple.exp: Likewise.
5608 * gdb.base/reread.exp: Likewise.
5609 * gdb.base/sepdebug.exp: Likewise.
5610 * gdb.base/step-bt.exp: Likewise.
5611 * gdb.cp/mb-inline.exp: Likewise.
5612 * gdb.cp/mb-templates.exp: Likewise.
5613 * gdb.objc/basicclass.exp: Likewise.
5614 * gdb.threads/killed.exp: Likewise.
5616 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5619 * gdb.arch/powerpc-stackless.S: New file.
5620 * gdb.arch/powerpc-stackless.exp: New file.
5622 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5624 * gdb.base/attach.c: Include unistd.h.
5625 (main): Call alarm. Add label postloop.
5626 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5627 gdb_breakpoint, gdb_continue_to_breakpoint.
5628 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5630 2014-09-11 Pedro Alves <palves@redhat.com>
5633 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5634 * gdb.base/attach.exp (test_command_line_attach_run): New
5636 (top level): Call it.
5638 2014-09-11 Pedro Alves <palves@redhat.com>
5640 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5641 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5642 (do_command_attach_tests): Use spawn_wait_for_attach.
5643 * gdb.base/solib-overlap.exp: Likewise.
5644 * gdb.multi/multi-attach.exp: Likewise.
5645 * gdb.python/py-prompt.exp: Likewise.
5646 * gdb.python/py-sync-interp.exp: Likewise.
5647 * gdb.server/ext-attach.exp: Likewise.
5649 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5651 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5652 command in testcase. Simplify testcase.
5654 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5656 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5658 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5660 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5662 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5664 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5666 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5668 * gdb.dwarf2/dynarr-ptr.c: New file.
5669 * gdb.dwarf2/dynarr-ptr.exp: New file.
5671 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5673 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5674 of 30 rather than hardcoding 120 for a slow test case. Take the
5675 `gdb,timeout' target setting into account for this calculation.
5676 Don't extend the timeout for the test cases that don't need it.
5678 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5680 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5681 a factor of 2 for a slow test case. Take the `gdb,timeout'
5682 target setting into account for this calculation.
5683 * gdb.reverse/until-precsave.exp: Increase the timeout by
5684 a factor of 15 and 3 respectively rather than adding 120
5685 for a pair of slow test cases. Take the `gdb,timeout'
5686 target setting into account for this calculation.
5688 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5690 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5691 timeout, don't pass one down to gdb_expect.
5692 (gdb_expect): Rework timeout selection.
5694 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5696 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5697 exception on timeout.
5698 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5699 (gdbserver_start_extended): Catch any `gdbserver_start' error
5701 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5702 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5703 `gdbserver_gdb_load' error exceptions.
5705 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5707 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5708 120 on waiting for the TCP socket to open.
5710 2014-09-09 Doug Evans <xdje42@gmail.com>
5712 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5713 _caller_matches, _any_caller_is, _any_caller_matches.
5715 2014-09-09 Doug Evans <xdje42@gmail.com>
5717 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5719 2014-09-09 Yao Qi <yao@codesourcery.com>
5721 * gdb.mi/mi-var-display.exp: Set print symbol off.
5723 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5726 * gdb.base/commands.exp: Add tests to verify user-defined
5727 commands with empty bodies.
5728 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5729 python commands in `show user command`.
5730 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5731 scheme commands in `show user command`.
5733 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5736 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5737 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5738 * gdb.python/py-framefilter-invalidarg.exp: New file.
5739 * gdb.python/py-framefilter-invalidarg.py: New file.
5741 2014-09-06 Doug Evans <xdje42@gmail.com>
5744 * gdb.python/py-caller-is.c: New file.
5745 * gdb.python/py-caller-is.exp: New file.
5747 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5750 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5751 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5753 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5756 * gdb.fortran/print-formatted.exp: New file.
5757 * gdb.fortran/print-formatted.f90: Likewise.
5759 2014-09-03 Sasha Smundak <asmundak@google.com>
5761 * gdb.python/py-frame.exp: Test Frame.read_register.
5763 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5766 * gdb.python/py-completion.exp: New file.
5767 * gdb.python/py-completion.py: Likewise.
5769 2014-08-28 Doug Evans <dje@google.com>
5771 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5772 eax,etc. are live with values set by gdb and thus the compiler can't
5774 * gdb.arch/i386-pseudo.c (main): Ditto.
5776 2014-08-27 Doug Evans <dje@google.com>
5778 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5780 2014-08-25 Doug Evans <dje@google.com>
5782 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5785 2014-08-25 Doug Evans <dje@google.com>
5787 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5789 2014-08-24 Yao Qi <yao@codesourcery.com>
5791 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5793 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5795 2014-08-22 Doug Evans <dje@google.com>
5798 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5799 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5800 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5802 2014-08-22 Yao Qi <yao@codesourcery.com>
5804 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5805 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5806 * gdb.python/python.exp: Likewise. Use .py file on the host
5807 instead of the build.
5809 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5811 * gdb.threads/gcore-stale-thread.c: New file.
5812 * gdb.threads/gcore-stale-thread.exp: New file.
5814 2014-08-21 Pedro Alves <palves@redhat.com>
5816 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5817 * gdb.base/gcore-relro-pie.exp: Likewise.
5818 * gdb.base/gcore-relro.exp: Likewise.
5819 * gdb.base/gcore.exp: Likewise.
5820 * gdb.base/print-symbol-loading.exp: Likewise.
5821 * gdb.threads/gcore-thread.exp: Likewise.
5822 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5824 2014-08-20 Pedro Alves <palves@redhat.com>
5825 Jan Kratochvil <jan.kratochvil@redhat.com>
5827 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5829 (EXPECT): Handle READ1 being set.
5830 (all): Depend on EXTRA_RULES.
5831 (check-read1, expect-read1, read1.so, read1): New rules.
5832 * README (Testsuite Parameters): Document the READ1 make variable.
5833 (Race detection): New section.
5834 * configure: Regenerate.
5835 * configure.ac: If build==host==target, and running under a
5836 GNU/glibc system, add read1 to the extra Makefile rules.
5837 (EXTRA_RULES): AC_SUBST it.
5838 * lib/read1.c: New file.
5840 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5842 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5843 the handling of variables declared as a typedef to an array
5844 which a DW_AT_data_location attribute.
5846 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5847 Pedro Alves <palves@redhat.com>
5851 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5854 2014-08-19 Pedro Alves <palves@redhat.com>
5856 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5858 2014-08-19 Yao Qi <yao@codesourcery.com>
5860 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5863 2014-08-18 David Blaikie <dblaikie@gmail.com>
5865 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5867 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5869 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5870 attribute in array range.
5872 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5874 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5876 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5879 * gdb.cp/pr17132.cc: New file.
5880 * gdb.cp/pr17132.exp: New file.
5882 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5884 * gdb.python/py-xmethods.py (A_getarrayind)
5885 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5886 Use 'print' with function call syntax.
5887 (E_method_matcher.match): Fix tab vs space indentation mixup.
5889 2014-08-15 Yao Qi <yao@codesourcery.com>
5891 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5894 2014-08-15 Yao Qi <yao@codesourcery.com>
5896 * gdb.cp/casts.exp: Set print symbol off.
5897 * gdb.cp/class2.exp: Likewise.
5898 * gdb.cp/overload.exp: Likewise.
5899 * gdb.cp/templates.exp: Likewise.
5901 2014-08-11 Doug Evans <dje@google.com>
5903 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5904 (test_load_shlib): Update.
5906 2014-08-09 Yao Qi <yao@codesourcery.com>
5908 * gdb.base/display.exp: Invoke is_address_zero_readable.
5909 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5910 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5911 * gdb.base/hbreak-unmapped.exp: Return if
5912 is_address_zero_readable returns true.
5913 * gdb.base/signest.exp: Likewise.
5914 * gdb.base/signull.exp: Likewise.
5915 * gdb.base/sigbpt.exp: Likewise.
5916 * gdb.guile/scm-disasm.exp: Do the test if
5917 is_address_zero_readable returns false.
5918 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5919 * gdb.python/py-arch.exp: Likewise.
5920 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5921 * lib/gdb.exp (is_address_zero_readable): New proc.
5923 2014-08-09 Yao Qi <yao@codesourcery.com>
5926 * gdb.mi/mi-var-display.exp: Make test messages unique.
5928 2014-08-04 Tom Tromey <tromey@redhat.com>
5930 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5933 2014-08-04 Tom Tromey <tromey@redhat.com>
5935 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
5938 2014-08-01 Joel Brobecker <brobecker@adacore.com>
5940 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
5941 inner_vla_struct_object_size.
5942 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
5945 2014-07-30 Pedro Alves <palves@redhat.com>
5947 * gdb.threads/signal-command-handle-nopass.exp (test): Add
5950 2014-07-29 Yao Qi <yao@codesourcery.com>
5953 * gdb.base/until-nodebug.exp: New.
5955 2014-07-28 Doug Evans <xdje42@gmail.com>
5958 * gdb.guile/scm-parameter.exp: Add tests for trying to create
5959 previously existing parameter, and previously ambiguously spelled
5962 2014-07-28 Will Newton <will.newton@linaro.org>
5964 * gdb.base/varargs.exp: Remove KFAILs for ARM.
5966 2014-07-26 Ludovic Courtès <ludo@gnu.org>
5967 Doug Evans <xdje42@gmail.com>
5970 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
5972 2014-07-25 Pedro Alves <palves@redhat.com>
5974 * gdb.threads/signal-command-handle-nopass.c: New file.
5975 * gdb.threads/signal-command-handle-nopass.exp: New file.
5976 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
5977 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
5978 * gdb.threads/signal-delivered-right-thread.c: New file.
5979 * gdb.threads/signal-delivered-right-thread.exp: New file.
5981 2014-07-25 Pedro Alves <palves@redhat.com>
5983 * gdb.base/double-prompt-target-event-error.exp
5984 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
5986 (cancel_pagination_in_target_event): Rework double prompt
5988 * gdb.base/paginate-after-ctrl-c-running.exp
5989 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
5991 * gdb.base/paginate-bg-execution.exp
5992 (test_bg_execution_pagination_return)
5993 (test_bg_execution_pagination_cancel): Remove '-notransfer
5995 * gdb.base/paginate-execution-startup.exp
5996 (test_fg_execution_pagination_return)
5997 (test_fg_execution_pagination_cancel): Remove '-notransfer
5999 * gdb.base/paginate-inferior-exit.exp
6000 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6002 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6003 * lib/gdb.exp (pagination_prompt): Run text through
6005 (gdb_test_multiple): Match $pagination_prompt instead of
6007 (string_to_regexp): Move to lib/gdb-utils.exp.
6009 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6011 * gdb.arch/amd64-entry-value-paramref.S: New file.
6012 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6013 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6014 * gdb.arch/amd64-optimout-repeat.S: New file.
6015 * gdb.arch/amd64-optimout-repeat.c: New file.
6016 * gdb.arch/amd64-optimout-repeat.exp: New file.
6018 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6021 * gdb.base/statistics.exp: New file.
6023 2014-07-17 Doug Evans <dje@google.com>
6026 * gdb.base/maint.exp: Update testing of per-command stats.
6028 2014-07-16 Pedro Alves <palves@redhat.com>
6030 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6031 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6032 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6033 (tfile_write_buf): New functions.
6034 (add_memory_block): Rewrite using the above.
6035 (adjust_function_address): New function.
6036 (FUNCTION_ADDRESS): New macro.
6037 (write_basic_trace_file): Remove short_x local, and use
6038 tfile_write_16. Change type of func_addr local to unsigned long
6039 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6040 here. Cast argument of add_memory_block to char pointer.
6041 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6042 (main): Remove parameters.
6043 * gdb.trace/tfile.exp: Remove nowarnings.
6045 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6047 * gdb.base/debug-expr.exp: Test string evaluation with
6048 "debug expression" on.
6050 2014-07-15 Pedro Alves <palves@redhat.com>
6052 * gdb.base/reread.exp: Use clean_restart.
6054 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6056 * gdb.arch/avr-flash-qualifer.c: New.
6057 * gdb.arch/avr-flash-qualifer.exp: New.
6059 2014-07-14 Pedro Alves <palves@redhat.com>
6061 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6062 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6064 2014-07-14 Pedro Alves <palves@redhat.com>
6066 * gdb.base/double-prompt-target-event-error.c: New file.
6067 * gdb.base/double-prompt-target-event-error.exp: New file.
6069 2014-07-14 Pedro Alves <palves@redhat.com>
6072 * gdb.base/paginate-inferior-exit.c: New file.
6073 * gdb.base/paginate-inferior-exit.exp: New file.
6075 2014-07-14 Pedro Alves <palves@redhat.com>
6078 * gdb.base/paginate-bg-execution.c: New file.
6079 * gdb.base/paginate-bg-execution.exp: New file.
6081 2014-07-14 Pedro Alves <palves@redhat.com>
6084 * gdb.base/paginate-execution-startup.c: New file.
6085 * gdb.base/paginate-execution-startup.exp: New file.
6086 * lib/gdb.exp (pagination_prompt): New global.
6087 (default_gdb_spawn): New procedure, factored out from
6089 (default_gdb_start): Adjust to call default_gdb_spawn.
6090 (gdb_spawn): New procedure.
6092 2014-07-14 Pedro Alves <palves@redhat.com>
6094 * lib/gdb.exp (gdb_assert): New procedure.
6095 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6097 2014-07-14 Pedro Alves <palves@redhat.com>
6099 * gdb.base/execution-termios.c: New file.
6100 * gdb.base/execution-termios.exp: New file.
6102 2014-07-14 Tom Tromey <tromey@redhat.com>
6104 * gdb.cp/vla-cxx.cc: New file.
6105 * gdb.cp/vla-cxx.exp: New file.
6107 2014-07-14 Tom Tromey <tromey@redhat.com>
6109 * gdb.reverse/rerun-prec.c: New file.
6110 * gdb.reverse/rerun-prec.exp: New file.
6112 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6113 Maciej W. Rozycki <macro@codesourcery.com>
6115 * lib/gdb-utils.exp: New file.
6116 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6117 inline `gdb_init_command' processing.
6118 (gdb_start_cmd): Likewise.
6119 * lib/mi-support.exp (mi_run_cmd): Likewise.
6120 * README: Document `gdb_init_command' and `gdb_init_commands'.
6122 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6124 Fix false FAIL running under a very long directory name.
6125 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6126 and "set print elements 10000". Twice.
6128 2014-07-11 Yao Qi <yao@codesourcery.com>
6130 * gdb.base/exprs.exp: "set print symbol off".
6132 2014-07-11 Pedro Alves <palves@redhat.com>
6134 * gdb.threads/kill.c: New file.
6135 * gdb.threads/kill.exp: New file.
6137 2014-07-10 Yao Qi <yao@codesourcery.com>
6139 * gdb.trace/tfile.c (write_basic_trace_file)
6140 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6141 address written to trace file.
6143 2014-07-09 Pedro Alves <palves@redhat.com>
6145 * gdb.base/attach-wait-input.exp: New file.
6146 * gdb.base/attach-wait-input.c: New file.
6148 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6150 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6151 setting up test structures.
6152 (main): Call new test function.
6153 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6154 test function, continue into test function and walk test
6157 2014-07-02 Yao Qi <yao@codesourcery.com>
6159 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6160 'bar_start' at the beginning of functions 'foo' and 'bar'
6162 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6163 instead of 'foo' and 'bar'.
6165 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6167 * gdb.btrace/segv.exp: New.
6168 * gdb.btrace/segv.c: New.
6170 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6172 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6175 2014-06-30 Mark Wielaard <mjw@redhat.com>
6177 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6178 vulture, vilify, villar): New volatile array constants.
6179 (vindictive, vegetation): New const volatile array constants.
6180 * gdb.base/volatile.exp: Test volatile and const volatile array
6183 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6185 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6186 target lacks support for awatch, rwatch, or hbreak.
6188 2014-06-27 Yao Qi <yao@codesourcery.com>
6190 * gdb.multi/dummy-frame-restore.exp: New.
6191 * gdb.multi/dummy-frame-restore.c: New.
6193 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6195 * gdb.btrace/gcore.exp: New.
6197 2014-06-23 Pedro Alves <palves@redhat.com>
6199 * gdb.base/watchpoint-reuse-slot.c: New file.
6200 * gdb.base/watchpoint-reuse-slot.exp: New file.
6202 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6204 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6205 progspace's filename in 'info', 'enable' and 'disable' command
6208 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6210 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6211 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6212 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6214 2014-06-20 Gary Benson <gbenson@redhat.com>
6216 * gdb.arch/i386-avx.exp: Fix include file location.
6217 * gdb.arch/i386-sse.exp: Likewise.
6219 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6221 * gdb.dlang/expression.exp: New file.
6223 2014-06-19 Pedro Alves <palves@redhat.com>
6225 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6227 (top level): ... here. Iterate running tests under different
6228 scheduler-locking settings.
6230 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6232 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6233 to DW_FORM_addr and use non-zero addresses.
6235 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6238 * gdb.python/py-xmethods.cc: Add global function call counters and
6239 increment them in their respective functions. Remove "cout"
6241 * gdb.python/py-xmethods.exp: Make tests check the global function
6242 call counters instead of depending on inferior IO.
6244 2014-06-18 Don Breazeal <donb@codesourcery.com>
6246 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6248 (explicit_fork_parent_follow): Deleted procedure.
6249 (explicit_fork_child_follow): Deleted procedure.
6250 (test_follow_fork): New procedure.
6251 (do_fork_tests): Replace calls to deleted procedures with
6252 calls to test_follow_fork and reset GDB for subsequent
6255 2014-06-17 Yao Qi <yao@codesourcery.com>
6257 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6260 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6262 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6263 Initialize ptr and S explicitly.
6264 (skip_type_update_when_not_use_rtti_test): Likewise.
6266 2014-06-16 Keith Seitz <keiths@redhat.com>
6269 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6270 the inferior is started.
6272 2014-06-16 Pedro Alves <palves@redhat.com>
6274 * gdb.base/break-main-file-remove-fail.c: New file.
6275 * gdb.base/break-main-file-remove-fail.exp: New file.
6276 * gdb.base/break-unload-file.exp: Use build_executable instead of
6277 prepare_for_testing.
6278 (test_break): New parameter "initial_load". Handle it.
6279 (top level): Add initial_load cmdline/file axis.
6281 2014-06-12 Tom Tromey <tromey@redhat.com>
6283 * gdb.base/completion.exp: Don't use directory name in test.
6285 2014-06-09 Gary Benson <gbenson@redhat.com>
6287 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6288 separate the always-available ANSI-standard signals from the
6289 signals that require checking.
6291 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6295 2014-06-07 Keith Seitz <keiths@redhat.com>
6299 * gdb.cp/var-tag.cc: New file.
6300 * gdb.cp/var-tag.exp: New file.
6301 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6302 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6303 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6304 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6306 2014-06-06 Doug Evans <xdje42@gmail.com>
6308 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6310 2014-06-06 Pedro Alves <palves@redhat.com>
6312 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6313 in target debug output instead of looking at RSP packets,
6314 disabling the test on any target that uses hardware stepping.
6317 2014-06-06 Pedro Alves <palves@redhat.com>
6319 * gdb.base/break-unload-file.exp: Fix typo.
6321 2014-06-06 Yao Qi <yao@codesourcery.com>
6323 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6324 from "jit_function" to "^jit_function".
6326 2014-06-06 Yao Qi <yao@codesourcery.com>
6328 * gdb.base/async.c (foo): Add one statement.
6329 * gdb.base/async.exp: Get the next instruction address and
6330 match the output of "nexti" by instruction address. Match
6331 the hex address in the output of "finish".
6333 2014-06-06 Gary Benson <gbenson@redhat.com>
6335 * gdb.base/call-signals.c: Remove preprocessor conditionals
6336 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6337 SIGSEGV and SIGTERM.
6338 * gdb.base/sigall.c: Likewise.
6339 * gdb.base/unwindonsignal.c: Likewise.
6340 * gdb.reverse/sigall-reverse.c: Likewise.
6342 2014-06-06 Yao Qi <yao@codesourcery.com>
6344 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6345 readable, skip the test.
6347 2014-06-06 Yao Qi <yao@codesourcery.com>
6349 * gdb.threads/staticthreads.c (thread_function): Move the line
6350 setting breakpoint on forward.
6351 * gdb.threads/staticthreads.exp: Update comments.
6353 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6355 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6356 "history-append! type error".
6358 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6360 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6361 erroneous dprintf expected input.
6363 2014-06-04 Doug Evans <xdje42@gmail.com>
6365 * gdb.guile/scm-generics.exp: Delete.
6367 2014-06-04 Doug Evans <xdje42@gmail.com>
6369 * gdb.guile/scm-breakpoint.exp: Update.
6370 Add tests for breakpoint registration.
6372 2014-06-04 Tom Tromey <tromey@redhat.com>
6374 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6376 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6377 inner_vla_struct, vla_union types. Initialize objects of those
6378 types and compute their sizes.
6380 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6381 Hui Zhu <hui@codesourcery.com>
6383 * gdb.base/fileio.exp: Add test for shell not available as well as
6385 * gdb.base/fileio.c (test_system): Check for shell twice.
6387 2014-06-04 Yao Qi <yao@codesourcery.com>
6389 * gdb.base/auto-connect-native-target.exp: Remove redundant
6390 space from the regexp pattern.
6392 2014-06-04 Yao Qi <yao@codesourcery.com>
6394 * gdb.base/default.exp: Replace "child" with "native" in
6397 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6399 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6400 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6401 * gdb.python/py-xmethods.py: Python script supporting the
6402 new testcase and tests.
6404 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6405 Pedro Alves <palves@redhat.com>
6407 PR breakpoints/17000
6408 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6409 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6411 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6413 * gdb.base/subst.exp: Add tests to verify partial path matching
6416 2014-06-03 Pedro Alves <palves@redhat.com>
6418 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6419 target that doesn't use software single-stepping.
6421 2014-06-03 Pedro Alves <palves@redhat.com>
6423 PR breakpoints/17000
6424 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6425 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6427 2014-06-02 Doug Evans <xdje42@gmail.com>
6429 * gdb.guile/scm-parameter.exp: New file.
6431 2014-06-02 Doug Evans <xdje42@gmail.com>
6433 * gdb.guile/scm-cmd.c: New file.
6434 * gdb.guile/scm-cmd.exp: New file.
6436 2014-06-02 Doug Evans <xdje42@gmail.com>
6438 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6439 pretty-printer lookup.
6440 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6441 (make-pp_s-printer): Call it.
6442 (make-pretty-printer-from-dict): New function.
6443 (lookup-pretty-printer-maker-from-dict): New function.
6444 (*pretty-printer*): Simplify.
6445 (make-objfile-pp_s-printer): New function.
6446 (install-objfile-pretty-printers!): New function.
6447 (make-progspace-pp_s-printer): New function.
6448 (install-progspace-pretty-printers!): New function.
6449 * gdb.guile/scm-progspace.c: New file.
6450 * gdb.guile/scm-progspace.exp: New file.
6452 2014-06-02 Pedro Alves <palves@redhat.com>
6454 * gdb.base/dprintf-bp-same-addr.c: New file.
6455 * gdb.base/dprintf-bp-same-addr.exp: New file.
6457 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6459 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6460 * gdb.arch/powerpc-power.s: Likewise.
6462 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6464 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6466 2014-06-01 Yao Qi <yao@codesourcery.com>
6468 * gdb.base/watchpoint.exp (test_watch_location): Check null
6469 pointer can be dereferenced. If not, do the test, otherwise
6472 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6474 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6476 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6478 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6480 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6481 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6482 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6483 * gdb.arch/amd64-invalid-stack-top.c: New file.
6484 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6486 2014-05-30 Pedro Alves <palves@redhat.com>
6488 PR breakpoints/17000
6489 * gdb.base/sss-bp-on-user-bp.c: New file.
6490 * gdb.base/sss-bp-on-user-bp.exp: New file.
6492 2014-05-30 David Blaikie <dblaikie@gmail.com>
6494 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6495 gnu_inline semantics via attribute.
6496 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6497 source explicitly specifies the required semantics.
6499 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6501 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6503 2014-05-29 Pedro Alves <palves@redhat.com>
6504 Tom Tromey <tromey@redhat.com>
6506 * gdb.base/async-shell.exp: Don't enable target-async.
6507 * gdb.base/async.exp
6508 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6510 (top level): Don't test with "target-async".
6511 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6512 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6513 * gdb.base/inferior-died.exp: Don't enable target-async.
6514 * gdb.base/interrupt-noterm.exp: Likewise.
6515 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6516 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6517 * gdb.mi/mi-nonstop.exp: Likewise.
6518 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6519 * gdb.mi/mi-nsintrall.exp: Likewise.
6520 * gdb.mi/mi-nsmoribund.exp: Likewise.
6521 * gdb.mi/mi-nsthrexec.exp: Likewise.
6522 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6523 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6524 * gdb.python/py-evsignal.exp: Don't enable target-async.
6525 * gdb.python/py-evthreads.exp: Likewise.
6526 * gdb.python/py-prompt.exp: Likewise.
6527 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6528 * gdb.server/solib-list.exp: Don't enable target-async.
6529 * gdb.threads/thread-specific-bp.exp: Likewise.
6530 * lib/mi-support.exp: Adjust to use mi-async.
6532 2014-05-29 Pedro Alves <palves@redhat.com>
6535 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6536 reason, even in sync mode.
6538 2014-05-29 Pedro Alves <palves@redhat.com>
6539 Hui Zhu <hui@codesourcery.com>
6542 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6543 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6544 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6545 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6547 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6549 * config/monitor.exp (gdb_target_monitor): Replace use of
6550 "set remotebaud" by "set serial baud".
6552 2014-05-26 Andy Wingo <wingo@igalia.com>
6554 * gdb.guile/scm-breakpoint.exp:
6555 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6556 properties instead of gdb-object-properties.
6558 2014-05-26 Yao Qi <yao@codesourcery.com>
6560 * gdb.server/no-thread-db.exp: Specify source file name
6561 explicitly when setting a breakpoint.
6563 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6565 * gdb.btrace/vdso.c: New.
6566 * gdb.btrace/vdso.exp: New.
6568 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6570 * gdb.base/gcore.exp (capture_command_output): Move ...
6571 * lib/gdb.exp (capture_command_output): ... here.
6573 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6575 * gdb.btrace/data.exp: Test memory access during btrace replay.
6577 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6579 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6581 2014-05-21 Pedro Alves <palves@redhat.com>
6584 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6585 (top level): Test that output related to execution commands is
6586 sent to the console with CLI commands, but not with MI commands.
6587 Test that breakpoint events are always mirrored to the console.
6588 Also expect the new source line to be output after a "next" in
6589 async mode too. Make it a pass/fail test.
6590 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6592 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6594 2014-05-21 Pedro Alves <palves@redhat.com>
6596 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6597 Use them to test variations of "list" after reaching a breakpoint.
6598 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6599 Test "list" with listsize 10 after reaching a breakpoint.
6600 * gdb.python/python.exp (decode_line current location line
6601 number): Adjust expected line number.
6603 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6605 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6606 behavior for $args, pass it directly to "run".
6608 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6610 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6613 2014-05-21 Pedro Alves <palves@redhat.com>
6615 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6616 auto-connect-native-target off".
6617 * gdb.base/auto-connect-native-target.c: New file.
6618 * gdb.base/auto-connect-native-target.exp: New file.
6620 2014-05-21 Pedro Alves <palves@redhat.com>
6622 * gdb.base/default.exp: Test "target native" instead of "target
6625 2014-05-21 Mark Wielaard <mjw@redhat.com>
6627 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6629 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6631 Fix TLS access for -static -pthread.
6632 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6633 <HAVE_TLS> (thread_function, main): Initialize it.
6634 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6636 <$have_tls != "">: Check TLSVAR.
6638 2014-05-21 Pedro Alves <palves@redhat.com>
6640 * gdb.base/dcache-line-read-error.c: New.
6641 * gdb.base/dcache-line-read-error.exp: New.
6643 2014-05-20 Pedro Alves <palves@redhat.com>
6645 * gdb.base/compare-sections.c: New file.
6646 * gdb.base/compare-sections.exp: New file.
6648 2014-05-20 Pedro Alves <palves@redhat.com>
6650 * gdb.base/break-idempotent.c: New file.
6651 * gdb.base/break-idempotent.exp: New file.
6653 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6655 * gdb.btrace/nohist.exp: New.
6657 2014-05-20 Yao Qi <yao@codesourcery.com>
6659 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6660 gdb.reverse directory and gdb_reverse_timeout exists in board
6662 * README: Document gdb_reverse_timeout.
6664 2014-05-20 Yao Qi <yao@codesourcery.com>
6666 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6667 'test_file_name'. Treat args as a string instead of a list.
6668 (gdb_init): Rename argument 'args' by 'test_file_name'.
6670 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6672 * gdb.arch/powerpc-power.exp: New file.
6673 * gdb.arch/powerpc-power.s: New file.
6675 2014-05-16 Doug Evans <dje@google.com>
6677 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6678 * gdb.base/completion.exp: Check that all expected files exist
6679 before doing file completion.
6681 2014-05-16 Doug Evans <dje@google.com>
6683 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6685 (do_syscall_tests_without_xml): Update.
6687 2014-05-16 Pedro Alves <palves@redhat.com>
6689 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6690 instead of "unknown output after running".
6692 2014-05-16 Yao Qi <yao@codesourcery.com>
6694 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6695 file1.txt from host at the end.
6696 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6698 2014-05-15 Doug Evans <dje@google.com>
6700 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6701 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6702 loading file. Add test for TU lookup.
6704 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6706 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6707 calling "-exec-arguments" or "set args" before running the
6710 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6712 * lib/mi-support.exp (mi_expect_stop): Expect message for
6713 inferiors that exit with non-zero exit code.
6715 2014-05-14 Yao Qi <yao@codesourcery.com>
6717 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6718 match absolute path on remote host.
6719 (test_file_list_exec_source_files): Remove "/" from the
6722 2014-05-14 Yao Qi <yao@codesourcery.com>
6724 * boards/local-remote-host-notty.exp (${board}_file): New
6727 2014-05-07 Kyle McMartin <kyle@redhat.com>
6729 Pushed by Joel Brobecker <brobecker@adacore.com>.
6730 * gdb.arch/aarch64-atomic-inst.c: New file.
6731 * gdb.arch/aarch64-atomic-inst.exp: New file.
6733 2014-05-07 Yao Qi <yao@codesourcery.com>
6735 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6736 in current context" too.
6738 2014-05-05 Keith Seitz <keiths@redhat.com>
6740 * gdb.linespec/ls-dollar.exp: Add test for linespec
6741 file:convenience_variable.
6743 2014-05-05 Yao Qi <yao@codesourcery.com>
6745 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6746 traceframes into tfile and ctf trace files. Read data from
6747 trace file and test collected data.
6748 (gdb_collect_locals_test): Likewise.
6749 (gdb_unavailable_registers_test): Likewise.
6750 (gdb_unavailable_floats): Likewise.
6751 (gdb_collect_globals_test): Likewise.
6752 (top-level): Append "ctf" to trace_file_targets if GDB
6755 2014-05-05 Yao Qi <yao@codesourcery.com>
6757 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6759 (gdb_collect_args_test_1): ... it. New proc.
6760 (gdb_collect_locals_test): Move some code to ...
6761 (gdb_collect_locals_test_1): ... it. New proc.
6762 (gdb_unavailable_registers_test): Move some code to ...
6763 (gdb_unavailable_registers_test_1): ... it. New proc.
6764 (gdb_unavailable_floats): Move some code to ...
6765 (gdb_unavailable_floats_1): ... it. New proc.
6767 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6769 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6770 probes to test for bitness recognition.
6771 * gdb.arch/amd64-stap-optional-prefix.exp
6772 (test_probe_value_without_reg): New procedure.
6773 Add code to test for different kinds of bitness.
6775 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6777 PR breakpoints/16889
6778 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6779 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6781 2014-05-01 Pedro Alves <palves@redhat.com>
6783 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6784 gdb_file_cmd if no file is specified.
6785 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6786 last_loaded_file to set the remote exec-file.
6788 2014-05-01 Pedro Alves <palves@redhat.com>
6790 * boards/local-remote-host.exp: New file.
6792 2014-05-01 Pedro Alves <palves@redhat.com>
6794 * boards/local-remote-host.exp: Rename to ...
6795 * boards/local-remote-host-notty.exp: ... this.
6797 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6799 * gdb.ada/dyn_arrayidx: New testcase.
6801 2014-04-26 Yao Qi <yao@codesourcery.com>
6803 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6804 and compute the length of function main. Save it in
6806 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6807 (top-level): Use gdb_compile to compile objects into
6808 executable and restart GDB. Remove invocation to
6809 prepare_for_testing.
6811 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6812 Pedro Alves <palves@redhat.com>
6815 * gdb.multi/multi-attach.c: New file.
6816 * gdb.multi/multi-attach.exp: New file.
6818 2014-04-25 Pedro Alves <palves@redhat.com>
6820 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6822 (top level): Test that "set remote conditional-breakpoints-packet
6823 off" works as intended.
6824 * gdb.base/dprintf.exp: Test that "set remote
6825 breakpoint-commands-packet off" works as intended.
6826 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6828 (top level): Call it.
6829 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6830 remote fast-tracepoints-packet off" works as intended.
6831 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6832 * lib/gdb.exp (gdb_is_target_remote): ... here.
6834 2014-04-24 David Blaikie <dblaikie@gmail.com>
6836 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6837 ensure clang would not discard them.
6838 * gdb.base/gdbvars.c: Ditto.
6839 * gdb.base/memattr.c: Ditto.
6840 * gdb.base/whatis.c: Ditto.
6841 * gdb.python/py-prettyprint.c: Ditto.
6842 * gdb.trace/actions.c: Ditto.
6843 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6844 ensure clang would not discard it.
6846 2014-04-24 David Blaikie <dblaikie@gmail.com>
6848 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6849 clang to emit the full definition of type required by the test
6850 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6852 2014-04-24 David Blaikie <dblaikie@gmail.com>
6854 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6855 coax Clang into emitting the definition of the type.
6856 * gdb.cp/pr10728-x.h (y): Ditto.
6857 * gdb.cp/pr10728-y.cc (y): Ditto.
6859 2014-04-24 David Blaikie <dblaikie@gmail.com>
6861 * gdb.base/label.exp: XFAIL label related tests under Clang.
6862 * gdb.cp/cplabel.exp: Ditto.
6863 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6864 under Clang those using labels.
6866 2014-04-25 Yao Qi <yao@codesourcery.com>
6868 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6870 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6871 partial_label and double_label.
6873 2014-04-24 David Blaikie <dblaikie@gmail.com>
6875 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6877 2014-04-24 David Blaikie <dblaikie@gmail.com>
6879 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6880 of the function to work across GCC and Clang.
6881 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6882 pointer types (const void ** const V void **).
6884 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6885 Walfred Tedeschi <walfred.tedeschi@intel.com>
6887 * Makefile.in (EXECUTABLES): Added i386-avx512.
6888 * gdb.arch/i386-avx512.c: New file.
6889 * gdb.arch/i386-avx512.exp: Likewise.
6891 2014-04-23 Keith Seitz <keiths@redhat.com>
6893 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6894 (mi_make_breakpoint_table): New procedure.
6895 (mi_create_breakpoint): Use mi_make_breakpoint
6896 and return the result.
6897 (mi_make_breakpoint): New procedure.
6898 (mi_build_kv_pairs): New procedure.
6900 * gdb.mi/mi-break.exp: Remove unused globals,
6901 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6902 All callers updated.
6903 * gdb.mi/mi-dprintf.exp: Use variable to track command
6905 Update all callers of mi_create_breakpoint and use
6906 mi_make_breakpoint_table.
6907 Remove any unused global variables.
6908 * gdb.mi/mi-nonstop.exp: Likewise.
6909 * gdb.mi/mi-nsintrall.exp: Likewise.
6910 * gdb.mi/mi-nsmoribund.exp: Likewise.
6911 * gdb.mi/mi-nsthrexec.exp: Likewise.
6912 * gdb.mi/mi-reverse.exp: Likewise.
6913 * gdb.mi/mi-simplerun.exp: Likewise.
6914 * gdb.mi/mi-stepn.exp: Likewise.
6915 * gdb.mi/mi-syn-frame.exp: Likewise.
6916 * gdb.mi/mi-until.exp: Likewise.
6917 * gdb.mi/mi-var-cp.exp: Likewise.
6918 * gdb.mi/mi-var-display.exp: Likewise.
6919 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6920 * gdb.mi/mi2-var-child.exp: Likewise.
6921 * gdb.mi/mi-vla-c99.exp: Likewise.
6922 * lib/mi-support.exp: Likewise.
6924 From Ian Lance Taylor <iant@cygnus.com>:
6925 * lib/gdb.exp (parse_args): New procedure.
6927 2014-04-23 Pedro Alves <palves@redhat.com>
6929 * gdb.base/break-unload-file.c: New file.
6930 * gdb.base/break-unload-file.exp: New file.
6931 * gdb.base/sym-file-lib.c (baz): New function.
6932 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
6934 (load): Store the segment's mapped size.
6935 (unload): New function.
6936 (unload_shlib): New function.
6937 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
6938 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
6939 set a breakpoint at baz, and call it.
6940 * gdb.base/sym-file.exp: New tests for stale breakpoint
6943 2014-04-23 Pedro Alves <palves@redhat.com>
6945 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
6946 * gdb.base/hbreak-in-shr-unsupported.c: New file.
6947 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
6948 * gdb.base/hbreak-unmapped.c: New file.
6949 * gdb.base/hbreak-unmapped.exp: New file.
6950 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
6951 * lib/gdb.exp (gdb_is_target_remote): ... here.
6953 2014-04-22 Pedro Alves <palves@redhat.com>
6955 * gdb.base/consecutive-step-over.c: New file.
6956 * gdb.base/consecutive-step-over.exp: New file.
6958 2014-04-22 Pedro Alves <palves@redhat.com>
6960 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
6961 instead of send_gdb/gdb_expect.
6963 2014-04-22 Yao Qi <yao@codesourcery.com>
6965 * lib/trace-support.exp (generate_tracefile): New procedure.
6966 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
6968 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
6969 if generate_tracefile returns 1.
6971 2014-04-18 Tom Tromey <palves@redhat.com>
6972 Pedro alves <tromey@redhat.com>
6975 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
6976 with a backtrace limit.
6977 * gdb.python/py-frame-inline.exp: Test running to an inline
6978 function with a backtrace limit, and printing the newest frame.
6979 * gdb.python/py-frame-inline.c (main): Call f.
6981 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6983 * gdb.java/jnpe.exp: Drop srcdir from untested path.
6985 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
6987 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
6988 Drop prefix from unsupported source file path.
6990 2014-04-17 Yao Qi <yao@codesourcery.com>
6992 * lib/gdb.exp (with_target_charset): New proc.
6993 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
6994 with_target_charset.
6995 (test_print_strings): Likewise.
6996 (test_repeat_bytes): Likewise.
6997 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7000 2014-04-16 Keith Seitz <keiths@redhat.com>
7003 * gdb.dwarf2/corrupt.c: New file.
7004 * gdb.dwarf2/corrupt.exp: New file.
7006 2014-04-16 Keith Seitz <keiths@redhat.com>
7009 * gdb.cp/namelessclass.cc: New file.
7010 * gdb.cp/namelessclass.exp: New file.
7011 * gdb.cp/namelessclass.S: New file.
7013 2014-04-16 Doug Evans <dje@google.com>
7015 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7017 (gdbserver_default_get_comm_port): New function.
7018 (gdbserver_start): Check if board file provided
7019 "gdbserver,get_comm_port" and use it if so.
7020 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7021 (gdb,socketport): Set to "stdio".
7022 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7023 (stdio_gdbserver_template): Delete.
7024 (${board}_get_remote_address): Update.
7025 (${board}_build_remote_cmd): Delete.
7026 (${board}_get_comm_port): New function.
7027 (${board}_spawn): Update.
7028 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7030 (${board}_get_remote_address): Update.
7031 (${board}_get_comm_port): New function.
7033 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7035 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7036 appearing in any order.
7038 2014-04-15 Doug Evans <dje@google.com>
7040 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7041 uninitialized value of "description".
7043 2014-04-15 Keith Seitz <keiths@redhat.com>
7045 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7046 Remove unused globals.
7047 (test_running_the_program): Likewise.
7048 (test_controlled_execution): Likewise.
7049 (test_controlling_breakpoints): Likewise.
7050 (test_program_termination): Likewise.
7052 2014-04-15 Keith Seitz <keiths@redhat.com>
7054 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7056 (test_rbreak_creation_and_listing): Likewise.
7057 (test_ignore_count): Likewise.
7058 (test_error): Likewise.
7060 2014-04-15 Pedro Alves <palves@redhat.com>
7062 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7063 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7065 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7066 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7067 to sym-file-loader.c.
7068 (struct library): Forward declare.
7069 (load_shlib, lookup_function): Change prototypes.
7070 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7071 (translate_offset): Remove declarations.
7072 (get_text_addr): New declaration.
7073 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7074 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7076 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7077 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7078 here from sym-file-loader.h.
7079 (struct library): New structure.
7080 (load_shlib, lookup_function): Change prototypes and adjust to
7081 work with a struct library.
7082 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7083 (translate_offset): Make static.
7084 (get_text_addr): New function.
7085 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7087 2014-04-15 Pedro Alves <palves@redhat.com>
7089 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7091 2014-04-15 Pedro Alves <palves@redhat.com>
7093 * gdb.base/sym-file-loader.c: Include <limits.h>.
7094 (SELF_LINK): New define.
7095 (get_origin): New function.
7096 (load_shlib): Use it.
7097 * gdb.base/sym-file.exp: Don't early return if the target is
7098 remote. Use runto_main, and issue fail is that fails. Use
7100 (shlib_name): Delete.
7101 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7103 2014-04-15 Pedro Alves <palves@redhat.com>
7105 * gdb.base/sym-file.exp: Remove regex characters from test
7106 message. Don't refer to breakpoint numbers in test messages.
7108 2014-04-14 Keith Seitz <keiths@redhat.com>
7111 * gdb.cp/var-tag.cc: New file.
7112 * gdb.cp/var-tag.exp: New file.
7113 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7114 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7115 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7116 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7118 2014-04-14 Tom Tromey <tromey@redhat.com>
7120 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7121 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7123 * gdb.cp/enum-class.exp: New file.
7124 * gdb.cp/enum-class.cc: New file.
7126 2014-04-14 Tom Tromey <tromey@redhat.com>
7128 * gdb.dwarf2/enum-type.exp: New file.
7130 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7132 * gdb.mi/mi-vla-c99.exp: New file.
7133 * gdb.mi/vla.c: New file.
7135 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7137 * gdb.base/vla-datatypes.c: New file.
7138 * gdb.base/vla-datatypes.exp: New file.
7140 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7142 * gdb.base/vla-ptr.c: New file.
7143 * gdb.base/vla-ptr.exp: New file.
7145 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7147 * gdb.dwarf2/count.exp: New file.
7149 2014-04-14 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-14 David Blaikie <dblaikie@gmail.com>
7156 * gdb.mi/non-stop.c: Add return value for non-void function return
7158 * gdb.threads/staticthreads.c: Ditto.
7160 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7161 Doug Evans <xdje42@gmail.com>
7163 * gdb.guile/scm-value.c: Improve test case.
7164 * gdb.guile/scm-value.exp: Add new test.
7166 2014-04-11 David Blaikie <dblaikie@gmail.com>
7168 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7169 override Clang's default.
7171 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7173 Revert the following changes (regressions):
7175 * gdb.base/vla-sideeffect.c: New file.
7176 * gdb.base/vla-sideeffect.exp: New file.
7178 * gdb.dwarf2/count.exp: New file.
7180 * gdb.base/vla-multi.c: New file.
7181 * gdb.base/vla-multi.exp: New file.
7183 * gdb.base/vla-ptr.c: New file.
7184 * gdb.base/vla-ptr.exp: New file.
7186 * gdb.base/vla-datatypes.c: New file.
7187 * gdb.base/vla-datatypes.exp: New file.
7189 * gdb.mi/mi-vla-c99.exp: New file.
7190 * gdb.mi/vla.c: New file.
7192 2014-04-11 Keith Seitz <keiths@redhat.com>
7195 * gdb.cp/cpsizeof.exp: New file.
7196 * gdb.cp/cpsizeof.cc: New file.
7198 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7200 * gdb.mi/mi-vla-c99.exp: New file.
7201 * gdb.mi/vla.c: New file.
7203 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7205 * gdb.base/vla-datatypes.c: New file.
7206 * gdb.base/vla-datatypes.exp: New file.
7208 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7210 * gdb.base/vla-ptr.c: New file.
7211 * gdb.base/vla-ptr.exp: New file.
7213 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7215 * gdb.base/vla-multi.c: New file.
7216 * gdb.base/vla-multi.exp: New file.
7218 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7220 * gdb.dwarf2/count.exp: New file.
7222 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7224 * gdb.base/vla-sideeffect.c: New file.
7225 * gdb.base/vla-sideeffect.exp: New file.
7227 2014-04-11 Yao Qi <yao@codesourcery.com>
7229 * gdb.base/completion.exp: Check file exists before running tests
7232 2014-04-10 Pedro Alves <palves@redhat.com>
7234 * gdb.base/cond-eval-mode.c: New file.
7235 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7236 prepare_for_testing to build the new file. Check result of
7238 (test_break, test_watch): New procedures.
7239 (top level): Use them.
7241 2014-04-08 Pierre Muller <muller@sourceware.org>
7243 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7244 Ctrl-V use for mingw hosts.
7246 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7248 * gdb.python/py-value.c: Improve test case.
7249 * gdb.python/py-value.exp: Add new test.
7251 2014-04-07 David Blaikie <dblaikie@gmail.com>
7253 * lib/compiler.c: Identify the clang compiler.
7254 * lib/compiler.cc: Ditto.
7256 2014-04-03 Yao Qi <yao@codesourcery.com>
7258 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7260 2014-04-01 Anton Blanchard <anton@samba.org>
7262 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7265 2014-04-01 Anton Blanchard <anton@samba.org>
7267 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7268 prepare_for_testing.
7270 2014-04-01 Anton Blanchard <anton@samba.org>
7272 * gdb.arch/ppc64-atomic-inst.c: Remove.
7273 * gdb.arch/ppc64-atomic-inst.S: New file.
7274 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7276 2014-03-31 Doug Evans <dje@google.com>
7278 * gdb.base/print-symbol-loading-lib.c: New file.
7279 * gdb.base/print-symbol-loading-main.c: New file.
7280 * gdb.base/print-symbol-loading.exp: New file.
7282 2014-03-31 Yao Qi <yao@codesourcery.com>
7284 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7286 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7288 * gdb.ada/mi_dyn_arr: New testcase.
7290 2014-03-27 Doug Evans <dje@google.com>
7292 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7294 2014-03-27 Yao Qi <yao@codesourcery.com>
7296 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7297 if target is nios2-*-*.
7299 2014-03-26 Yao Qi <yao@codesourcery.com>
7301 * lib/gdb.exp (readline_is_used): New proc.
7302 * gdb.base/completion.exp: Move tests on command complete up.
7303 Skip the rest of tests if readline is not used.
7304 * gdb.ada/complete.exp: Skp the test if readline is not
7306 * gdb.base/filesym.exp: Likewise.
7307 * gdb.base/macscp.exp: Likewise.
7308 * gdb.base/readline-ask.exp: Likewise.
7309 * gdb.base/readline.exp: Likewise.
7310 * gdb.python/py-cmd.exp: Likewise.
7311 * gdb.trace/tfile.exp: Likewise.
7313 2014-03-26 Yao Qi <yao@codesourcery.com>
7315 * gdb.base/macscp.exp: Fix code format issues.
7317 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7319 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7320 * gdb.asm/powerpc64le.inc: New file.
7322 2014-03-25 Pedro Alves <palves@redhat.com>
7323 Doug Evans <dje@google.com>
7325 * gdb.base/source-execution.c: New file.
7326 * gdb.base/source-execution.exp: New file.
7327 * gdb.base/source-execution.gdb: New file.
7329 2014-03-24 Doug Evans <dje@google.com>
7331 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7334 2014-03-24 Hui Zhu <hui@codesourcery.com>
7335 Pedro Alves <palves@redhat.com>
7337 PR breakpoints/16101
7338 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7339 test pass/fail messages. Detect missing support for dprintf when
7340 breakpoints are actually inserted.
7341 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7342 breakpoints are actually inserted.
7343 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7346 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7348 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7350 2014-03-22 Doug Evans <xdje42@gmail.com>
7352 * gdb.python/python.exp (python not supported): Verify multi-line
7353 python command issues an error.
7354 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7355 guile command issues an error.
7357 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7359 * gdb.threads/thread-specific.exp: Handle the lack of usable
7360 $this_breakpoint and $this_thread.
7362 2014-03-21 Hui Zhu <hui@codesourcery.com>
7364 * gdb.base/attach.exp (do_command_attach_tests): New.
7366 2014-03-20 Tom Tromey <tromey@redhat.com>
7367 Pedro Alves <palves@redhat.com>
7370 * gdb.base/condbreak-call-false.c: New file.
7371 * gdb.base/condbreak-call-false.exp: New file.
7373 2014-03-20 Pedro Alves <palves@redhat.com>
7375 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7377 (block_signals, unblock_signals): Delete.
7378 (child_function_2, main): Remove references to deleted variable
7381 2014-03-20 Pedro Alves <palves@redhat.com>
7383 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7384 Use pthread_kill to signal thread 2.
7385 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7386 Adjust to make the test send itself a signal rather than using the
7387 host's "kill" command.
7389 2014-03-20 Pedro Alves <palves@redhat.com>
7391 * gdb.threads/multiple-step-overs.c: New file.
7392 * gdb.threads/multiple-step-overs.exp: New file.
7393 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7394 Adjust expected infrun debug output.
7396 2014-03-20 Pedro Alves <palves@redhat.com>
7398 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7399 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7401 2014-03-20 Pedro Alves <palves@redhat.com>
7404 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7405 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7406 of gdb_test_multiple.
7407 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7408 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7410 2014-03-20 Pedro Alves <palves@redhat.com>
7412 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7413 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7415 2014-03-19 Pedro Alves <palves@redhat.com>
7417 * gdb.base/async.exp: Remove early return.
7419 2014-03-19 Pedro Alves <palves@redhat.com>
7421 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7423 2014-03-19 Pedro Alves <palves@redhat.com>
7425 * gdb.base/async.exp (test_background): Expect \r\n after
7426 "completed." in the fail pattern.
7428 2014-03-19 Pedro Alves <palves@redhat.com>
7430 * gdb.base/async.exp (test_background): New procedure.
7431 Use it for all background execution command tests.
7433 2014-03-19 Pedro Alves <palves@redhat.com>
7435 * gdb.base/async.exp: Use prepare_for_testing.
7437 2014-03-19 Pedro Alves <palves@redhat.com>
7439 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7442 2014-03-19 Pedro Alves <palves@redhat.com>
7444 * gdb.base/async.c (main): Add "jump here" and "until here" line
7446 * gdb.base/async.exp (jump_here): New global.
7447 (jump& test): Use it.
7448 (until_here): New global.
7449 (until& test): Use it.
7451 2014-03-19 Pedro Alves <palves@redhat.com>
7453 * gdb.base/async.exp: Don't frob gdb_protocol.
7455 2014-03-18 Doug Evans <xdje42@gmail.com>
7457 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7458 Fix spelling of exec-done-display.
7460 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7463 * gdb.base/gdb-sigterm.c: New file.
7464 * gdb.base/gdb-sigterm.exp: New file.
7466 2014-03-18 Pedro Alves <palves@redhat.com>
7469 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7470 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7473 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7475 * gdb.ada/pckd_arr_ren: New testcase.
7477 2014-03-13 Doug Evans <xdje42@gmail.com>
7480 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7481 collect after discarding symbols.
7483 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7484 Doug Evans <xdje42@gmail.com>
7486 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7487 to history survives a gc.
7489 2014-03-13 Pedro Alves <palves@redhat.com>
7491 * gdb.base/default.exp: Don't test "target procfs".
7493 2014-03-13 Pedro Alves <palves@redhat.com>
7495 * gdb.base/default.exp: Update "target child" and "target procfs"
7496 tests to not expect "Unix".
7498 2014-03-12 Tom Tromey <tromey@redhat.com>
7500 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7501 New procs. Add target-async tests.
7502 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7503 Add target-async tests.
7505 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7507 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7508 'func_start' and 'func_end' for the beginning and end of the
7509 function code, respectively.
7510 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7511 'func_end' instead of 'func' and 'main'.
7513 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7515 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7516 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7517 generate the debug info assembler source.
7519 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7521 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7522 * gdb.dwarf2/arr-subrange.exp: Likewise.
7523 * gdb.dwarf2/dwz.exp: Likewise.
7524 * gdb.dwarf2/method-ptr.exp: Likewise.
7525 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7526 * gdb.dwarf2/subrange.exp: Likewise.
7527 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7528 * gdb.dwarf2/implptrpiece.exp: Likewise.
7529 * gdb.dwarf2/nostaticblock.exp: Likewise.
7531 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7533 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7534 directory to absolute path name arguments.
7536 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7538 * gdb.ada/tagged_access: New testcase.
7540 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7542 * gdb.btrace/data.exp: Update expected output.
7544 2014-03-06 Yao Qi <yao@codesourcery.com>
7546 * gdb.trace/pr16508.exp: New file.
7548 2014-03-05 Pedro Alves <palves@redhat.com>
7551 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7553 (top level): Adjust to use it. Add tests that exercise breakpoint
7554 interaction with the code-cache.
7556 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7558 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7559 test for 'history-append!'.
7561 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7563 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7564 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7565 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7566 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7567 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7568 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7570 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7572 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7573 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7574 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7576 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7578 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7580 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7582 * gdb.dwarf2/arr-stride.c: New file.
7583 * gdb.dwarf2/arr-stride.exp: New file.
7585 2014-02-26 Pedro Alves <palves@redhat.com>
7587 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7588 that won't ever trigger. Make sure that GDB reports the correct
7589 breakpoint that caused the stop.
7591 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7594 * gdb.base/auto-load-script: New file.
7595 * gdb.base/auto-load.c: New file.
7596 * gdb.base/auto-load.exp: New file.
7599 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7601 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7603 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7604 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7606 2014-02-24 Doug Evans <dje@google.com>
7608 * lib/gdb.exp (run_on_host): Log error output if program fails.
7610 2014-02-21 Pedro Alves <palves@redhat.com>
7612 * gdb.threads/step-after-sr-lock.c: Rename to ...
7613 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7614 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7615 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7618 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7621 * gdb.arch/amd64-stap-special-operands.exp: New file.
7622 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7623 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7624 * gdb.arch/amd64-stap-triplet.S: Likewise.
7625 * gdb.arch/amd64-stap-triplet.c: Likewise.
7627 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7629 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7630 in .section pseudo-op.
7632 2014-02-20 lin zuojian <manjian2006@gmail.com>
7633 Joel Brobecker <brobecker@adacore.com>
7634 Doug Evans <xdje42@gmail.com>
7637 * gdb.dwarf2/dw2-icycle.S: New file.
7638 * gdb.dwarf2/dw2-icycle.c: New file.
7639 * gdb.dwarf2/dw2-icycle.exp: New file.
7641 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7643 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7644 operations on gdb.Value objects.
7645 * gdb.python/py-value-cc.exp: Add new test to test operations on
7648 2014-02-18 Doug Evans <dje@google.com>
7650 * Makefile.in (TESTS): New variable.
7651 (expanded_tests, expanded_tests_or_none): New variables
7652 (check-single): Pass $(expanded_tests_or_none) to runtest.
7653 (check-parallel): Only run tests in $(TESTS) if non-empty.
7654 (check/no-matching-tests-found): New rule.
7655 * README: Document TESTS makefile variable.
7657 2014-02-18 Doug Evans <dje@google.com>
7659 * Makefile.in (check-parallel): rm -rf outputs temp.
7661 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7663 Fix "ERROR: no fileid for" in the testsuite.
7664 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7666 2014-02-12 Doug Evans <dje@google.com>
7668 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7669 (MISCELLANEOUS): New variable.
7670 (clean): rm -rf $(MISCELLANEOUS).
7671 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7672 dwp live in the same directory as symlinks, with each symlink pointed
7673 to a differently named file in a different directory.
7675 2014-02-11 Doug Evans <dje@google.com>
7677 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7678 of Tcl file commands.
7680 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7682 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7685 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7687 * gdb.ada/tick_length_array_enum_idx: New testcase.
7689 2014-02-10 Doug Evans <xdje42@gmail.com>
7691 * configure.ac (AC_OUTPUT): Add gdb.guile.
7692 * configure: Regenerate.
7693 * lib/gdb-guile.exp: New file.
7694 * lib/gdb.exp (get_target_charset): New function.
7695 * gdb.base/help.exp: Update expected output from "apropos apropos".
7696 * gdb.guile/Makefile.in: New file.
7697 * gdb.guile/guile.exp: New file.
7698 * gdb.guile/scm-arch.c: New file.
7699 * gdb.guile/scm-arch.exp: New file.
7700 * gdb.guile/scm-block.c: New file.
7701 * gdb.guile/scm-block.exp: New file.
7702 * gdb.guile/scm-breakpoint.c: New file.
7703 * gdb.guile/scm-breakpoint.exp: New file.
7704 * gdb.guile/scm-disasm.c: New file.
7705 * gdb.guile/scm-disasm.exp: New file.
7706 * gdb.guile/scm-equal.c: New file.
7707 * gdb.guile/scm-equal.exp: New file.
7708 * gdb.guile/scm-error.exp: New file.
7709 * gdb.guile/scm-error.scm: New file.
7710 * gdb.guile/scm-frame-args.c: New file.
7711 * gdb.guile/scm-frame-args.exp: New file.
7712 * gdb.guile/scm-frame-args.scm: New file.
7713 * gdb.guile/scm-frame-inline.c: New file.
7714 * gdb.guile/scm-frame-inline.exp: New file.
7715 * gdb.guile/scm-frame.c: New file.
7716 * gdb.guile/scm-frame.exp: New file.
7717 * gdb.guile/scm-generics.exp: New file.
7718 * gdb.guile/scm-gsmob.exp: New file.
7719 * gdb.guile/scm-iterator.c: New file.
7720 * gdb.guile/scm-iterator.exp: New file.
7721 * gdb.guile/scm-math.c: New file.
7722 * gdb.guile/scm-math.exp: New file.
7723 * gdb.guile/scm-objfile-script-gdb.in: New file.
7724 * gdb.guile/scm-objfile-script.c: New file.
7725 * gdb.guile/scm-objfile-script.exp: New file.
7726 * gdb.guile/scm-objfile.c: New file.
7727 * gdb.guile/scm-objfile.exp: New file.
7728 * gdb.guile/scm-ports.exp: New file.
7729 * gdb.guile/scm-pretty-print.c: New file.
7730 * gdb.guile/scm-pretty-print.exp: New file.
7731 * gdb.guile/scm-pretty-print.scm: New file.
7732 * gdb.guile/scm-section-script.c: New file.
7733 * gdb.guile/scm-section-script.exp: New file.
7734 * gdb.guile/scm-section-script.scm: New file.
7735 * gdb.guile/scm-symbol.c: New file.
7736 * gdb.guile/scm-symbol.exp: New file.
7737 * gdb.guile/scm-symtab-2.c: New file.
7738 * gdb.guile/scm-symtab.c: New file.
7739 * gdb.guile/scm-symtab.exp: New file.
7740 * gdb.guile/scm-type.c: New file.
7741 * gdb.guile/scm-type.exp: New file.
7742 * gdb.guile/scm-value-cc.cc: New file.
7743 * gdb.guile/scm-value-cc.exp: New file.
7744 * gdb.guile/scm-value.c: New file.
7745 * gdb.guile/scm-value.exp: New file.
7746 * gdb.guile/source2.scm: New file.
7747 * gdb.guile/types-module.cc: New file.
7748 * gdb.guile/types-module.exp: New file.
7750 2014-02-10 Yao Qi <yao@codesourcery.com>
7753 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7754 * configure: Regenerated.
7755 * Makefile.in: New file.
7757 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7759 * gdb.python/py-framefilter.exp: Fix typo.
7761 2014-02-08 Yao Qi <yao@codesourcery.com>
7763 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7764 that no =breakpoint-modified is emitted when breakpoints are
7765 modified through MI commands.
7767 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7768 Pedro Alves <palves@redhat.com>
7770 * gdb.threads/step-after-sr-lock.c: New file.
7771 * gdb.threads/step-after-sr-lock.exp: New file.
7773 2014-02-07 Pedro Alves <palves@redhat.com>
7775 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7777 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7779 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7780 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7782 2014-02-06 Doug Evans <xdje42@gmail.com>
7784 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7787 * gdb.gdb/python-interrupts.exp: New file.
7789 2014-02-05 Yao Qi <yao@codesourcery.com>
7791 * gdb.trace/report.exp (use_collected_data): Test the output
7792 of "info threads" and "info inferiors".
7794 2014-02-05 Yao Qi <yao@codesourcery.com>
7798 2013-05-24 Yao Qi <yao@codesourcery.com>
7800 * gdb.trace/tfile.exp: Test inferior and thread.
7802 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7804 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7806 * gdb.base/step-bt.c: Call hello via function pointer to make
7807 sure its first instruction is executed on powerpc64le-linux.
7809 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7811 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7813 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7815 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7816 of the test patterns for use on little-endian systems.
7818 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7820 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7821 (decimal_vector): Fix for little-endian.
7823 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7825 * gdb.arch/sparc-sysstep.exp: New file.
7826 * gdb.arch/sparc-sysstep.c: Likewise.
7828 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7830 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7832 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7834 2014-01-23 Tom Tromey <tromey@redhat.com>
7836 * gdb.ada/array_char_idx: New testcase.
7838 2014-01-23 Tom Tromey <tromey@redhat.com>
7841 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7842 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7845 2014-01-23 Tom Tromey <tromey@redhat.com>
7848 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7849 string from an inferior frame.
7850 * gdb.python/py-framefilter-mi.exp: Update.
7852 2014-01-22 Doug Evans <dje@google.com>
7854 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7856 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7858 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7860 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7862 * gdb.trace/entry-values.exp: Remove excess space character from
7863 regex patterns. Handle s390 call instruction.
7865 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7867 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7868 define "*_start" label. Make "name" static.
7869 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7870 ${name} by references to ${name}_start.
7872 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7874 * gdb.base/info-macros.exp: Remove "debug" from the compile
7877 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7879 * gdb.dlang/demangle.exp: New file.
7881 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7883 * gdb.dlang/primitive-types.exp: New file.
7885 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7887 * configure.ac: Create gdb.dlang/Makefile.
7888 * configure: Regenerate.
7889 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7890 * gdb.dlang/Makefile.in: New file.
7891 * lib/d-support.exp: New file.
7892 * lib/gdb.exp (skip_d_tests): New proc.
7894 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7896 * gdb.btrace/delta.exp: Check reverse stepi.
7897 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7898 * gdb.btrace/finish.exp: New.
7899 * gdb.btrace/next.exp: New.
7900 * gdb.btrace/nexti.exp: New.
7901 * gdb.btrace/record_goto.c: Add comments.
7902 * gdb.btrace/step.exp: New.
7903 * gdb.btrace/stepi.exp: New.
7904 * gdb.btrace/multi-thread-step.c: New.
7905 * gdb.btrace/multi-thread-step.exp: New.
7906 * gdb.btrace/rn-dl-bind.c: New.
7907 * gdb.btrace/rn-dl-bind.exp: New.
7908 * gdb.btrace/data.c: New.
7909 * gdb.btrace/data.exp: New.
7910 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7912 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7914 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7915 * gdb.btrace/exception.exp: Update.
7916 * gdb.btrace/instruction_history.exp: Update.
7917 * gdb.btrace/record_goto.exp: Update.
7918 * gdb.btrace/tailcall.exp: Update.
7919 * gdb.btrace/unknown_functions.exp: Update.
7920 * gdb.btrace/delta.exp: New.
7922 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7924 * gdb.btrace/record_goto.exp: Add backtrace test.
7925 * gdb.btrace/tailcall.exp: Add backtrace test.
7927 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7929 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7930 * gdb.btrace/record_goto.c: New.
7931 * gdb.btrace/record_goto.exp: New.
7932 * gdb.btrace/x86-record_goto.S: New.
7934 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7936 * gdb.btrace/function_call_history.exp: Update tests.
7937 * gdb.btrace/instruction_history.exp: Update tests.
7939 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7941 * gdb.btrace/function_call_history.exp: Fix expected field
7942 order for "record function-call-history".
7943 Add new tests for "record function-call-history /c".
7944 * gdb.btrace/exception.cc: New.
7945 * gdb.btrace/exception.exp: New.
7946 * gdb.btrace/tailcall.exp: New.
7947 * gdb.btrace/x86-tailcall.S: New.
7948 * gdb.btrace/x86-tailcall.c: New.
7949 * gdb.btrace/unknown_functions.c: New.
7950 * gdb.btrace/unknown_functions.exp: New.
7951 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7953 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7955 * gdb.btrace/instruction_history.exp: Update.
7956 * gdb.btrace/function_call_history.exp: Update.
7958 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7960 * gdb.btrace/function_call_history.exp: Fix expected function
7962 * gdb.btrace/instruction_history.exp: Initialize traced.
7963 Remove traced_functions.
7965 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7967 * gdb.btrace/function_call_history.exp: Update
7968 * gdb.btrace/instruction_history.exp: Update.
7970 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7972 * gdb.btrace/enable.exp: Update expected text.
7974 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
7976 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
7979 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
7981 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
7983 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
7985 * lib/gdb.exp (supports_process_record): Return true for
7986 arm*-linux*. (supports_reverse): Likewise.
7988 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
7992 * gdb.python/py-type.c: Enhance test case.
7993 * gdb.python/py-value-cc.cc: Likewise
7994 * gdb.python/py-type.exp: Add new tests.
7995 * gdb.python/py-value-cc.exp: Likewise
7997 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
7998 Pedro Alves <palves@redhat.com>
8000 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8002 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8003 references to ${name}_start by references to ${name}.
8005 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8007 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8009 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8011 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8013 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8014 Pedro Alves <palves@redhat.com>
8016 * gdb.mi/mi-info-os.exp: Connect to the target with
8019 2014-01-08 Pedro Alves <palves@redhat.com>
8021 * gdb.threads/reconnect-signal.c: New file.
8022 * gdb.threads/reconnect-signal.exp: New file.
8024 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8026 * gdb.base/source-dir.exp: New file.
8028 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8030 * gdb.ada/mi_interface: New testcase.
8032 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8034 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8035 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8036 gdb.ada/pp-rec-component/pck.ads: New files.
8038 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8040 * gdb.python/py-pp-integral.c: New file.
8041 * gdb.python/py-pp-integral.py: New file.
8042 * gdb.python/py-pp-integral.exp: New file.
8044 For older changes see ChangeLog-1993-2013.
8050 ;; version-control: never
8053 Copyright 2014-2016 Free Software Foundation, Inc.
8054 Copying and distribution of this file, with or without modification,
8055 are permitted provided the copyright notice and this notice are preserved.