1 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
3 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
4 use it in info sharedlibrary test.
5 * gdb.trace/ftrace-lock.exp: Likewise.
6 * gdb.trace/ftrace.exp: Likewise.
7 * gdb.trace/range-stepping.exp: Likewise.
8 * gdb.trace/trace-break.exp: Likewise.
9 * gdb.trace/trace-condition.exp: Likewise.
10 * gdb.trace/trace-mt.exp: Likewise.
12 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
14 * lib/gdb.exp (gdb_load_shlibs): Rename to...
15 (gdb_load_shlib): ... this.
16 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
18 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
19 * gdb.base/ctxobj.exp: Likewise.
20 * gdb.base/dprintf-pending.exp: Likewise.
21 * gdb.base/dso2dso.exp: Likewise.
22 * gdb.base/fixsection.exp: Likewise.
23 * gdb.base/gcore-relro.exp: Likewise.
24 * gdb.base/gdb1555.exp: Likewise.
25 * gdb.base/global-var-nested-by-dso.exp: Likewise.
26 * gdb.base/gnu-ifunc.exp: Likewise.
27 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
28 * gdb.base/jit-so.exp (one_jit_test): Likewise.
29 * gdb.base/pending.exp: Likewise.
30 * gdb.base/print-file-var.exp: Likewise.
31 * gdb.base/print-symbol-loading.exp: Likewise.
32 * gdb.base/shlib-call.exp: Likewise.
33 * gdb.base/shreloc.exp: Likewise.
34 * gdb.base/so-impl-ld.exp: Likewise.
35 * gdb.base/solib-disc.exp: Likewise.
36 * gdb.base/solib-nodir.exp: Likewise.
37 * gdb.base/solib-overlap.exp: Likewise.
38 * gdb.base/solib-symbol.exp: Likewise.
39 * gdb.base/solib-weak.exp (do_test): Likewise.
40 * gdb.base/sym-file.exp: Likewise.
41 * gdb.base/symtab-search-order.exp: Likewise.
42 * gdb.base/type-opaque.exp: Likewise.
43 * gdb.base/unload.exp: Likewise.
44 * gdb.base/watchpoint-solib.exp: Likewise.
45 * gdb.compile/compile.exp: Likewise.
46 * gdb.cp/gdb2384.exp: Likewise.
47 * gdb.cp/infcall-dlopen.exp: Likewise.
48 * gdb.cp/re-set-overloaded.exp: Likewise.
49 * gdb.fortran/library-module.exp: Likewise.
50 * gdb.opt/solib-intra-step.exp: Likewise.
51 * gdb.python/py-finish-breakpoint.exp: Likewise.
52 * gdb.python/py-shared.exp: Likewise.
53 * gdb.reverse/solib-precsave.exp: Likewise.
54 * gdb.reverse/solib-reverse.exp: Likewise.
55 * gdb.server/solib-list.exp: Likewise.
56 * gdb.threads/dlopen-libpthread.exp: Likewise.
57 * gdb.threads/tls-shared.exp: Likewise.
58 * gdb.threads/tls-so_extern.exp: Likewise.
59 * gdb.trace/change-loc.exp: Likewise.
60 * gdb.trace/ftrace-lock.exp: Likewise.
61 * gdb.trace/ftrace.exp: Likewise.
62 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
63 * gdb.trace/pending.exp: Likewise.
64 * gdb.trace/range-stepping.exp: Likewise.
65 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
66 (strace_info_marker): Likewise.
67 (strace_probe_marker): Likewise.
68 (strace_trace_on_same_addr): Likewise.
69 (strace_trace_on_diff_addr): Likewise.
70 * gdb.trace/trace-break.exp: Likewise.
71 * gdb.trace/trace-condition.exp: Likewise.
72 * gdb.trace/trace-mt.exp: Likewise.
74 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
76 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
77 result of gdb_remote_download.
78 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
79 * gdb.base/dso2dso.exp: Likewise.
80 * gdb.base/global-var-nested-by-dso.exp: Likewise.
81 * gdb.base/print-file-var.exp: Likewise.
82 * gdb.base/shlib-call.exp: Likewise.
83 * gdb.base/shreloc.exp: Likewise.
84 * gdb.base/solib-overlap.exp: Likewise.
85 * gdb.base/solib-weak.exp (do_test): Likewise.
86 * gdb.base/unload.exp: Likewise.
88 2016-04-27 Yao Qi <yao.qi@linaro.org>
90 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
93 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
95 * vla-type.exp: Print structure from toplevel.
97 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
99 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
101 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
104 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
106 * gdb.fortran/vla-type.f90: New file.
107 * gdb.fortran/vla-type.exp: New file.
109 2016-04-25 Yao Qi <yao.qi@linaro.org>
111 * gdb.base/branch-to-self.c: New file.
112 * gdb.base/branch-to-self.exp: New file.
114 2016-04-22 Yao Qi <yao.qi@linaro.org>
116 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
119 2016-04-22 Yao Qi <yao.qi@linaro.org>
121 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
122 * gdb.base/annota3.exp: Likewise.
124 2016-04-22 Yao Qi <yao.qi@linaro.org>
126 * gdb.reverse/step-precsave.exp: Do one step and test program
127 stops in "callee" and do multiple steps until program goes out
129 * gdb.reverse/step-reverse.exp: Likewise.
131 2016-04-22 Yao Qi <yao.qi@linaro.org>
133 * gdb.trace/signal.exp: Also pass if
134 $tracepoint_hits($i) > $iterations.
136 2016-04-22 Yao Qi <yao.qi@linaro.org>
138 * gdb.trace/signal.c: New file.
139 * gdb.trace/signal.exp: New file.
141 2016-04-19 Doug Evans <xdje42@gmail.com>
143 * gdb.base/bad-file.exp: New file.
145 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
147 * gdb.dwarf2/implref.exp: New file.
149 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
151 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
152 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
153 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
154 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
155 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
156 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
157 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
158 * lib/fortran.exp (fortran_int4): New procedure.
159 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
160 (fortran_logical4): Likewise.
162 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
164 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
166 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
168 * lib/compiler.c: Add Intel specific preprocessor macros.
169 * lib/compiler.cc: Likewise.
171 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
173 * gdb.server/connect-with-no-symbol-file.c: New file.
174 * gdb.server/connect-with-no-symbol-file.exp: New file.
176 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
178 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
180 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
182 * boards/gdbserver-base.exp (${board}_download): Copy source file to
183 standard output directory.
185 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
187 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
189 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
191 * gdb.btrace/instruction_history.c (loop): Add declaration.
193 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
195 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
197 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
199 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
200 parentheses to print.
201 (continue_handler): Likewise.
203 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
205 * gdb.server/solib-list.exp: Remove is_remote check.
206 Pass shlib= to gdb_compile. Don't link shared library with
207 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
208 Run binary filename through "readlink -f" on the target.
210 2016-04-08 Pedro Alves <palves@redhat.com>
212 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
213 interpreter filename as argument to gdbserver_spawn.
214 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
215 Return empty if $last_loaded_file does not exist.
217 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
219 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
220 * gdb.base/jit-main.c: Use exit after usage.
222 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
224 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
225 GDBHISTSIZE prior to the tests.
226 * gdb.base/gdbinit-history.exp: Likewise.
228 2016-04-07 Pedro Alves <palves@redhat.com>
230 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
231 instead of build_executable. Use gdb_load_shlibs.
233 2016-04-07 Yao Qi <yao.qi@linaro.org>
235 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
236 Execute "si" command.
238 2016-04-07 Yao Qi <yao.qi@linaro.org>
240 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
241 number instead of the comments on some line.
243 2016-04-06 Don Breazeal <donb@codesourcery.com>
245 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
246 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
248 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
250 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
251 standard_output_file. Remove unused binfile variable.
253 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
255 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
256 * gdb.python/py-mi-objfile.exp: Match "list main" output
259 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
261 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
264 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
266 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
268 * gdb.trace/ftrace.exp: Likewise.
269 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
271 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
272 (gdb_load_shlibs): Copy libraries to test directory when testing
273 natively. Only set solib-search-path if testing remotely.
274 * lib/mi-support.exp (mi_load_shlibs): Likewise.
276 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
278 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
279 gdb_download. Use it even if the target is not remote.
280 * gdb.base/jit.exp (compile_jit_test): Likewise.
281 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
282 output directory if the destination board is local, otherwise use
283 the standard remote_download from DejaGnu.
284 (gdb_download): Remove.
285 (gdb_load_shlibs): Use gdb_remote_download instead of
287 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
288 Use gdb_remote_download instead of gdb_download. Use it even if
289 the target is not remote.
290 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
291 instead of gdb_download.
293 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
295 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
296 (test_insert_delete_modify): Call mi_load_shlibs before trying to
299 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
302 * gdb.base/printcmds.exp: Add artificial arrays tests.
304 2016-03-31 Pedro Alves <palves@redhat.com>
307 * gdb.base/jit-main.c: Include unistd.h.
308 (ATTACH): Define to 0 if not already defined.
309 (wait_for_gdb, mypid): New globals.
310 (WAIT_FOR_GDB): New macro.
311 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
312 some breakpoint locations.
313 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
315 (one_jit_test): Add REATTACH parameter, and handle it. Use
316 continue_to_test_location.
317 (top level): Test attach, and adjusts calls to one_jit_test.
319 2016-03-31 Pedro Alves <palves@redhat.com>
322 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
323 BINSUFFIX parameter, and handle it.
324 (top level): Adjust calls compile_jit_test.
326 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
329 * gdb.python/py-mi-events-gdb.py: New file.
330 * gdb.python/py-mi-events.c: New file.
331 * gdb.python/py-mi-events.exp: New file.
333 2016-03-30 Yao Qi <yao.qi@linaro.org>
335 * gdb.reverse/until-precsave.exp: Match function name only.
336 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
337 Move malloc to a condition block.
338 * gdb.reverse/until-reverse.exp: Match function name only.
340 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
342 * gdb.trace/ftrace.exp: Set arg0exp for s390.
343 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
344 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
345 variable for GPR 0 instead of assuming it is register 0.
346 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
347 * lib/trace-support.exp: Add s390 registers.
349 2016-03-29 Yao Qi <yao.qi@linaro.org>
351 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
353 2016-03-24 Yao Qi <yao.qi@linaro.org>
355 * gdb.reverse/break-reverse.exp: Add quotation mark in the
358 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
360 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
361 maintaining separate logic for constructing the output path.
363 2016-03-16 Don Breazeal <donb@codesourcery.com>
365 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
366 Retry fork and waitpid on interrupted system call errors.
367 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
368 Use with_timeout_factor to increase timeout by factor of 10.
370 2016-03-15 Don Breazeal <donb@codesourcery.com>
372 * gdb.cp/scope-err.cc: New test program.
373 * gdb.cp/scope-err.exp: New test script.
374 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
375 lines and "set breakpoint here" comment.
376 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
377 Fixed some whitespace and format issues.
378 * gdb.mi/mi-linespec-err-cp.cc: New test program.
379 * gdb.mi/mi-linespec-err-cp.exp: New test script.
381 2016-03-15 Doug Evans <dje@google.com>
383 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
384 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
385 All callers updated. Add tests for enums, mixed flags register.
387 2016-03-15 Doug Evans <dje@google.com>
389 * gdb.base/skip.c (main): Call test_skip_file_and_function.
390 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
392 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
394 * gdb.base/default.exp: Add $_as_string to the list of expected
395 convenience functions.
397 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
399 * gdb.base/maint.exp: New tests for 'maint info line-table'.
401 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
403 * gdb.python/py-as-string.exp: New file.
404 * gdb.python/py-as-string.c: New file.
406 2016-03-09 Pedro Alves <palves@redhat.com>
408 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
409 signal" -> "Thread NN received signal" output change.
410 * gdb.threads/ia64-sigill.exp: Likewise.
411 * gdb.threads/linux-dp.exp: Likewise.
412 * gdb.threads/manythreads.exp: Likewise.
413 * gdb.threads/pending-step.exp: Likewise.
414 * gdb.threads/print-threads.exp: Likewise.
415 * gdb.threads/sigstep-threads.exp: Likewise.
416 * gdb.threads/staticthreads.exp: Likewise.
417 * gdb.threads/tls.exp: Likewise.
419 2016-03-09 Pedro Alves <palves@redhat.com>
421 * gdb.base/command-line-input.exp: New file.
423 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
425 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
426 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
427 * gdb.trace/pending.exp: Accept leading dot before function name.
428 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
429 * lib/trace-support.exp: Set registers for ppc.
431 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
433 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
434 use it for disassembly; accept .main in addition to main in backtrace.
436 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
437 Marcin Kościelnicki <koriakin@0x04.net>
439 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
440 (gdb_recursion_test_ptr): New global variable.
441 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
445 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
447 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
450 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
452 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
453 (bar): Add bar_start_lbl label.
454 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
455 of foo/bar for emitting DWARF and tracing.
457 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
459 * analyze-racy-logs.py: Set executable bit.
461 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
463 * Makefile.in (DEFAULT_RACY_ITER): New variable.
464 (CHECK_TARGET_TMP): Likewise.
465 (check-single-racy): New rule.
466 (check-parallel-racy): Likewise.
467 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
468 (do-check-parallel-racy): New rule.
469 (check-racy/%.exp): Likewise.
470 * README (Racy testcases): New section.
471 * analyze-racy-logs.py: New file.
473 2016-03-03 Doug Evans <dje@google.com>
475 * gdb.base/skip.exp: Use with_test_prefix.
477 2016-03-03 Yao Qi <yao.qi@linaro.org>
479 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
480 Invoke step_over_syscall "clone" and break_cond_on_syscall
482 * gdb.base/step-over-clone.c: New file.
484 2016-03-03 Yao Qi <yao.qi@linaro.org>
486 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
489 2016-03-03 Yao Qi <yao.qi@linaro.org>
491 * gdb.base/disp-step-fork.c: Rename to ...
492 * gdb.base/step-over-fork.c: ... it. New file.
493 * gdb.base/disp-step-vfork.c: Rename to ...
494 * gdb.base/step-over-vfork.c: ... it. New file.
495 * gdb.base/disp-step-syscall.exp: Rename to ...
496 * gdb.base/step-over-syscall.exp: ... it. New file.
497 (disp_step_cross_syscall): Rename to ...
498 (step_over_syscall): ... it.
500 2016-03-03 Yao Qi <yao.qi@linaro.org>
502 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
503 If target supports condition evaluation on target, invoke
504 break_cond_on_syscall for fork and vfork.
506 2016-03-03 Yao Qi <yao.qi@linaro.org>
508 * gdb.base/disp-step-syscall.exp: Don't invoke
509 support_displaced_stepping.
510 (disp_step_cross_syscall): Test with displaced stepping off and
513 2016-03-03 Yao Qi <yao.qi@linaro.org>
515 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
518 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
521 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
523 * gdb.fortran/vla-history.exp: Remove breakpoint.
525 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
527 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
529 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
531 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
533 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
535 * gdb.mi/vla.f90: Nullify pointer after declaration.
537 2016-03-01 Pedro Alves <palves@redhat.com>
539 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
541 2016-03-01 Pedro Alves <palves@redhat.com>
543 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
544 before anything else.
545 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
547 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
548 before anything else.
549 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
551 2016-03-01 Pedro Alves <palves@redhat.com>
553 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
555 2016-03-01 Yao Qi <yao.qi@linaro.org>
557 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
560 2016-03-01 Yao Qi <yao.qi@linaro.org>
562 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
564 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
566 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
567 manually constructing the output path.
569 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
571 * gdb.arch/s390-stackless.S: New.
572 * gdb.arch/s390-stackless.exp: New.
574 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
576 * gdb.dlang/circular.c: New file.
577 * gdb.dlang/circular.exp: New file.
579 2016-02-26 Yao Qi <yao.qi@linaro.org>
581 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
582 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
585 2016-02-26 Yao Qi <yao.qi@linaro.org>
587 * gdb.reverse/aarch64.c: Rename to ...
588 * gdb.reverse/insn-reverse.c: ... it.
589 * gdb.reverse/aarch64.exp: Rename to ...
590 * gdb.reverse/insn-reverse.exp: ... it.
592 2016-02-26 Yao Qi <yao.qi@linaro.org>
594 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
595 (testcase_ftype): New.
596 (testcases): New array.
598 (main): Call each element in testcases.
599 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
600 (read_testcase): New.
601 Do the tests in a loop.
603 2016-02-25 Yao Qi <yao.qi@linaro.org>
605 * gdb.base/branches.c: Remove.
607 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
610 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
612 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
614 * gdb.trace/ftrace.exp: Remove unnecessary target check.
616 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
618 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
619 change x86_64 call_insn to 'callq'.
621 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
623 * gdb.trace/tfile-avx.c: Move to...
624 * gdb.trace/tracefile-pseudo-reg.c: Here.
625 * gdb.trace/tfile-avx.exp: Move to...
626 * gdb.trace/tracefile-pseudo-reg.exp: Here.
628 2016-02-24 Gary Benson <gbenson@redhat.com>
630 * gdb.base/attach-pie-noexec.exp: Do not expect an error
633 2016-02-23 Doug Evans <dje@google.com>
635 * gdb.base/skip.c (test_skip): New function.
636 (end_test_skip_file_and_function): New function.
637 (test_skip_file_and_function): New function.
638 * gdb.base/skip1.c (test_skip): New function.
639 (skip1_test_skip_file_and_function): New function.
640 * gdb.base/skip.exp: Add tests for new skip options.
641 * gdb.base/skip-solib.exp: Update expected output.
642 * gdb.perf/skip-command.cc: New file.
643 * gdb.perf/skip-command.exp: New file.
644 * gdb.perf/skip-command.py: New file.
646 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
648 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
649 info registers pattern.
651 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
653 * lib/future.exp: Add D support.
654 (gdb_find_gdc): New proc.
655 (gdb_default_target_compile): Add D support.
657 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
659 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
661 (trace_speed_test): Determine the iteration count for a time
662 between 15..30 seconds.
664 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
666 * gdb.arch/i386-mpx-sigsegv.c: New file.
667 * gdb.arch/i386-mpx-sigsegv.exp: New file.
668 * gdb.arch/i386-mpx-simple_segv.c: New file.
669 * gdb.arch/i386-mpx-simple_segv.exp: New file.
671 2016-02-18 Yao Qi <yao.qi@linaro.org>
673 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
674 Don't call setup_kfail.
676 2016-02-18 Yao Qi <yao.qi@linaro.org>
678 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
679 Set "set breakpoint condition-evaluation" per $cond_bp_target.
681 2016-02-16 Doug Evans <dje@google.com>
683 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
684 * gdb.base/skip1.c: Ditto.
685 * gdb.base/skip.exp: Whitespace cleanup.
687 2016-02-16 Don Breazeal <donb@codesourcery.com>
690 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
691 Remove kfail for PR remote/19496.
693 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
695 * lib/gdb.exp (standard_temp_file): Return a path specific to
696 the runtest invocation.
698 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
700 * gdb.trace/save-trace.exp: Change relative path to be in the
701 standard output directory.
703 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
705 * gdb.arch/i386-prologue.c: Add missing prototypes.
707 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
709 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
710 * gdb.arch/i386-prologue.exp: Likewise.
711 * gdb.arch/i386-size.exp: Likewise.
713 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
715 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
716 define object file path.
717 * gdb.btrace/gcore.exp: Use standard_output_file to define core
719 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
720 standard_output_file to define binfile.
722 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
724 Fix compatibility with recent gfortran-5.3.1.
725 * gdb.fortran/vla-history.exp (print vla1 allocated)
726 (print vla2 allocated, print $2, print $3): Remove
727 (print $4): Rename to ...
728 (print $2): ... here.
729 (print $9): Rename to ...
730 (print $5): ... here.
731 (print $10): Rename to ...
732 (print $6): ... here.
733 * gdb.fortran/vla.f90: Add pvla initialization.
735 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
737 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
739 * gdb.fortran/vla-value-sub.exp: Likewise.
741 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
743 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
745 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
747 * i386-biarch-core.exp: Define corefile using
748 standard_output_file.
750 2016-02-12 Yao Qi <yao.qi@linaro.org>
752 * gdb.arch/arm-single-step-kernel-helper.c: New.
753 * gdb.arch/arm-single-step-kernel-helper.exp: New.
755 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
757 * gdb.btrace/tailcall-only.exp: New.
758 * gdb.btrace/tailcall-only.c: New.
759 * gdb.btrace/x86_64-tailcall-only.S: New.
760 * gdb.btrace/i686-tailcall-only.S: New.
762 2016-02-11 Pedro Alves <palves@redhat.com>
764 * README (Parallel testing): Add missing double quotes.
766 2016-02-11 Pedro Alves <palves@redhat.com>
768 * README (Parallel testing): New section.
769 (GDB_PARALLEL): Rewrite.
770 (FORCE_PARALLEL): Document.
772 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
774 * gdb.trace/tfile-avx.c: New test.
775 * gdb.trace/tfile-avx.exp: New test.
777 2016-02-09 Keith Seitz <keiths@redhat.com>
780 * gdb.base/infcall-exec.c: New file.
781 * gdb.base/infcall-exec2.c: New file.
782 * gdb.base/infcall-exec.exp: New file.
784 2016-02-09 Keith Seitz <keiths@redhat.com>
786 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
787 (toplevel): Call test_bkpt_address.
789 2016-02-09 Keith Seitz <keiths@redhat.com>
792 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
793 (toplevel): Call test_bkpt_address.
795 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
797 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
799 * configure: Regenerate.
801 2016-02-09 Pedro Alves <palves@redhat.com>
804 * gdb.base/execl-update-breakpoints.c (some_function): New
807 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
808 Tighten expected GDB output.
810 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
812 * Makefile.in (ALL_SUBDIRS): Remove.
813 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
814 (distclean maintainer-clean realclean): Likewise.
815 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
816 * configure: Regenerate.
817 * gdb.ada/Makefile.in: Delete.
818 * gdb.arch/Makefile.in: Likewise.
819 * gdb.asm/Makefile.in: Likewise.
820 * gdb.base/Makefile.in: Likewise.
821 * gdb.btrace/Makefile.in: Likewise.
822 * gdb.cell/Makefile.in: Likewise.
823 * gdb.compile/Makefile.in: Likewise.
824 * gdb.cp/Makefile.in: Likewise.
825 * gdb.disasm/Makefile.in: Likewise.
826 * gdb.dlang/Makefile.in: Likewise.
827 * gdb.dwarf2/Makefile.in: Likewise.
828 * gdb.fortran/Makefile.in: Likewise.
829 * gdb.gdb/Makefile.in: Likewise.
830 * gdb.go/Makefile.in: Likewise.
831 * gdb.guile/Makefile.in: Likewise.
832 * gdb.java/Makefile.in: Likewise.
833 * gdb.linespec/Makefile.in: Likewise.
834 * gdb.mi/Makefile.in: Likewise.
835 * gdb.modula2/Makefile.in: Likewise.
836 * gdb.multi/Makefile.in: Likewise.
837 * gdb.objc/Makefile.in: Likewise.
838 * gdb.opencl/Makefile.in: Likewise.
839 * gdb.opt/Makefile.in: Likewise.
840 * gdb.pascal/Makefile.in: Likewise.
841 * gdb.perf/Makefile.in: Likewise.
842 * gdb.python/Makefile.in: Likewise.
843 * gdb.reverse/Makefile.in: Likewise.
844 * gdb.server/Makefile.in: Likewise.
845 * gdb.stabs/Makefile.in: Likewise.
846 * gdb.threads/Makefile.in: Likewise.
847 * gdb.trace/Makefile.in: Likewise.
848 * gdb.xml/Makefile.in: Likewise.
849 * lib/gdb.exp (make_gdb_parallel_path): Add check for
851 (standard_output_file): Remove check for GDB_PARALLEL, always
852 return path in outputs/$subdir/$testname.
854 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
856 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
857 (site.exp): Assign abs_srcdir to tcl's srcdir.
859 2016-02-04 Yao Qi <yao.qi@linaro.org>
861 * gdb.base/foll-exec-mode.c: Include limits.h.
862 (main): Add parameters argc and argv. Get directory from
864 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
866 * gdb.base/foll-exec.c: Include limits.h.
867 (main): Add parameters argc and argv.
868 Get directory from argv[0].
869 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
870 Adjust tests on the number of lines as source code changed.
871 * gdb.base/foll-vfork-exit.c: Include limits.h.
872 (main): Add one line of statement before vfork.
873 * gdb.base/foll-vfork.c: Include limits.h and string.h.
874 (main): Add parameters argc and argv. Get directory from
876 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
877 (setup_gdb): Set tbreak to skip some source lines.
878 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
879 (main): Add parameters argc and argv. Get directory from
881 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
883 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
884 (main): Add parameters argc and argv. Get directory from
886 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
889 2016-02-01 Doug Evans <dje@google.com>
891 * gdb.base/skip.exp: Clean up multiple references to same test name.
893 2016-02-01 Pedro Alves <palves@redhat.com>
896 * gdb.threads/forking-threads-plus-breakpoint.exp
897 (displaced_stepping_supported): New global.
898 (probe_displaced_stepping_support): New procedure.
899 (do_test): Add 'displaced' parameter, and use it.
900 (top level): Check for displaced stepping support. Add displaced
901 stepping on/off testing axis.
903 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
905 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
906 pointer. Don't perform further tests on the unassociated pointer
907 if the first test fails.
909 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
911 * gdb.base/max-value-size.c: New file.
912 * gdb.base/max-value-size.exp: New file.
913 * gdb.base/huge.exp: Disable max-value-size for this test.
915 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
917 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
919 2016-01-28 Yao Qi <yao.qi@linaro.org>
921 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
923 2016-01-25 Pedro Alves <palves@redhat.com>
926 * gdb.base/fork-running-state.c: New file.
927 * gdb.base/fork-running-state.exp: New file.
929 2016-01-25 Pedro Alves <palves@redhat.com>
932 * gdb.base/catch-fork-kill.c: New file.
933 * gdb.base/catch-fork-kill.exp: New file.
935 2016-01-25 Pedro Alves <palves@redhat.com>
937 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
938 Delete, moved to lib/gdb.exp.
939 * gdb.threads/forking-threads-plus-breakpoint.exp
940 (foreach_with_prefix): Likewise.
941 * gdb.threads/process-dies-while-handling-bp.exp
942 (foreach_with_prefix): Likewise.
943 * lib/gdb.exp (foreach_with_prefix): New procedure.
945 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
947 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
948 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
950 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
952 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
955 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
956 Pedro Alves <palves@redhat.com>
958 Fix testsuite compatibility with Guile.
959 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
962 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
964 Fix testsuite compatibility with Guile.
965 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
966 (thread 1): New test for backtrace through signal handler.
968 2016-01-22 Yao Qi <yao.qi@linaro.org>
971 * gdb.base/multi-forks.c: Include
972 ../lib/unbuffer_output.c
973 (main): Call gdb_unbuffer_output.
975 2016-01-21 Doug Evans <dje@google.com>
977 * lib/ada.exp (gdb_compile_ada): Fix typo.
979 2016-01-21 Joel Brobecker <brobecker@adacore.com>
981 * gdb.base/break-fun-addr.exp: New file.
982 * gdb.base/break-fun-addr1.c: New file.
983 * gdb.base/break-fun-addr2.c: New file.
985 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
987 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
988 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
991 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
993 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
994 when GDB can not set the vector return value. Add more comments
997 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
999 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1002 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1004 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1006 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1008 * Makefile.in (check-single): Pass --status to runtest.
1009 (check/%.exp): Likewise.
1011 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1013 * Makefile.in (check-parallel): Propagate return code from make
1016 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1018 * gdb.trace/ftrace.exp: Fix expected message on continue.
1019 * gdb.trace/pending.exp: Fix expected message on continue.
1020 * gdb.trace/trace-break.exp: Fix expected message on continue.
1022 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1024 * lib/gdb.exp (gdb_test): Remove unused global references.
1026 2016-01-18 Pedro Alves <palves@redhat.com>
1028 * gdb.base/async-shell.exp: Adjust expected output.
1029 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1030 * gdb.base/siginfo-thread.exp: Adjust expected output.
1031 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1032 * gdb.java/jnpe.exp: Adjust expected output.
1033 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1034 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1035 * gdb.threads/leader-exit.exp: Adjust expected output.
1036 * gdb.threads/manythreads.exp: Adjust expected output.
1037 * gdb.threads/pthreads.exp: Adjust expected output.
1038 * gdb.threads/schedlock.exp: Adjust expected output.
1039 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1040 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1042 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1044 * gdb.threads/sigthread.exp: Adjust expected output.
1045 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1047 2016-01-18 Yao Qi <yao.qi@linaro.org>
1049 * gdb.guile/scm-section-script.c: Replace @progbits with
1051 * gdb.python/py-section-script.c: Likewise.
1053 2016-01-15 Pedro Alves <palves@redhat.com>
1055 * gdb.multi/tids.exp: Test star wildcard ranges.
1057 2016-01-15 Pedro Alves <palves@redhat.com>
1059 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1060 command from "thread apply" invocation.
1061 (thr_apply_info_thr_invalid): Default the expected output to the
1063 (top level): Add tests that use convenience variables. Add tests
1064 for "thread apply" with a valid TID list, but missing the command.
1066 2016-01-13 Pedro Alves <palves@redhat.com>
1068 * gdb.base/default.exp: Expect $_gthread as well.
1069 * gdb.multi/tids.exp: Test $_gthread.
1070 * gdb.threads/thread-specific.exp: Test $_gthread.
1072 2016-01-13 Pedro Alves <palves@redhat.com>
1074 * gdb.multi/tids.exp: Test "info threads -gid".
1076 2016-01-13 Pedro Alves <palves@redhat.com>
1078 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1080 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1082 2016-01-07 Pedro Alves <palves@redhat.com>
1084 * gdb.base/break.exp: Adjust to output changes.
1085 * gdb.base/hbreak2.exp: Likewise.
1086 * gdb.base/sepdebug.exp: Likewise.
1087 * gdb.base/watch_thread_num.exp: Likewise.
1088 * gdb.linespec/keywords.exp: Likewise.
1089 * gdb.multi/info-threads.exp: Likewise.
1090 * gdb.threads/thread-find.exp: Likewise.
1091 * gdb.multi/tids.c: New file.
1092 * gdb.multi/tids.exp: New file.
1094 2016-01-13 Pedro Alves <palves@redhat.com>
1096 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1098 2016-01-13 Pedro Alves <palves@redhat.com>
1100 * gdb.base/default.exp: Expect $_inferior as well.
1101 * gdb.multi/base.exp: Test $_inferior.
1103 2016-01-13 Pedro Alves <palves@redhat.com>
1105 PR breakpoints/19388
1106 * gdb.base/catch-signal-siginfo-cond.c: New file.
1107 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1109 2016-01-12 Josh Stone <jistone@redhat.com>
1110 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1112 * gdb.base/catch-syscall.c (do_execve): New variable.
1113 (main): Conditionally trigger an execve.
1114 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1115 (test_catch_syscall_execve): New, check entry/return across execve.
1116 (do_syscall_tests): Call test_catch_syscall_execve.
1118 2016-01-12 Pedro Alves <palves@redhat.com>
1120 * gdb.base/random-signal.exp (do_test): New procedure, with body
1121 of testcase moved in.
1123 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1124 Pedro Alves <palves@redhat.com>
1126 * gdb.base/funcargs.exp (finish from indirectly called function):
1127 Reintroduce the case for 'First'.
1129 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1130 Pedro Alves <palves@redhat.com>
1132 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1133 (tcatch_vfork_then_child_follow_exec)
1134 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1137 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1139 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1140 and repeats to unlimited.
1141 * gdb.python/py-value.exp: Likewise.
1142 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1143 and repeats to unlimited.
1145 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1147 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1148 and reordering the functions.
1149 * gdb.multi/hangout.c: Likewise.
1150 * gdb.multi/hello.c: Likewise.
1152 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1154 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1156 (SingleStatisticTestResult.report): Use dict.keys instead of
1159 2016-01-06 Pedro Alves <palves@redhat.com>
1161 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1163 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1165 * gdb.btrace/dlopen.exp: New.
1166 * gdb.btrace/dlopen.c: New.
1167 * gdb.btrace/dlopen-dso.c: New.
1169 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1171 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1172 PATTERN argument is optional.
1174 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1176 * lib/ada.exp (target_compile_ada_from_dir): New function.
1177 (gdb_compile_ada): Reimplement avoiding the use of project files.
1178 * gdb.ada/gnat_ada.gpr: Delete.
1179 * gdb.ada/cond_lang.exp: Adjust test to make path before
1181 * gdb.ada/small_reg_param.exp: Likewise.
1183 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1185 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1187 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1189 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1192 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1194 * gdb.base/break.exp: Remove dead code.
1195 * gdb.base/sepdebug.exp: Likewise.
1197 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1199 * gdb.asm/asm-source.exp: Remove HP-UX references.
1200 * gdb.base/annota1.exp: Likewise.
1201 * gdb.base/annota3.exp: Likewise.
1202 * gdb.base/attach.exp: Likewise.
1203 * gdb.base/bigcore.exp: Likewise.
1204 * gdb.base/break.exp: Likewise.
1205 * gdb.base/call-ar-st.exp: Likewise.
1206 * gdb.base/callfuncs.exp: Likewise.
1207 * gdb.base/catch-fork-static.exp: Likewise.
1208 * gdb.base/display.exp: Likewise.
1209 * gdb.base/foll-exec-mode.exp: Likewise.
1210 * gdb.base/foll-exec.exp: Likewise.
1211 * gdb.base/foll-fork.exp: Likewise.
1212 * gdb.base/foll-vfork.exp: Likewise.
1213 * gdb.base/funcargs.exp: Likewise.
1214 * gdb.base/hbreak2.exp: Likewise.
1215 * gdb.base/inferior-died.exp: Likewise.
1216 * gdb.base/interrupt.exp: Likewise.
1217 * gdb.base/multi-forks.exp: Likewise.
1218 * gdb.base/nodebug.exp: Likewise.
1219 * gdb.base/sepdebug.exp: Likewise.
1220 * gdb.base/solib1.c: Likewise.
1221 * gdb.base/step-test.exp: Likewise.
1222 * gdb.mi/non-stop.c: Likewise.
1223 * gdb.mi/pthreads.c: Likewise.
1224 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1225 * gdb.threads/pthreads.c: Likewise.
1226 * gdb.threads/staticthreads.exp: Likewise.
1227 * lib/future.exp: Likewise.
1228 * lib/gdb.exp: Likewise.
1229 * gdb.base/so-indr-cl.c: Remove.
1230 * gdb.base/so-indr-cl.exp: Likewise.
1231 * gdb.base/solib.c: Likewise.
1232 * gdb.base/solib.exp: Likewise.
1233 * gdb.base/solib2.c: Likewise.
1235 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1237 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1238 * gdb.base/call-ar-st.exp: Likewise.
1239 * gdb.base/callfuncs.exp: Likewise.
1240 * gdb.base/condbreak.exp: Likewise.
1241 * gdb.base/constvars.exp: Likewise.
1242 * gdb.base/hbreak2.exp: Likewise.
1243 * gdb.base/langs.exp: Likewise.
1244 * gdb.base/list.exp: Likewise.
1245 * gdb.base/long_long.exp: Likewise.
1246 * gdb.base/ptype.exp: Likewise.
1247 * gdb.base/scope.exp: Likewise.
1248 * gdb.base/signals.exp: Likewise.
1249 * gdb.base/so-impl-ld.exp: Likewise.
1250 * gdb.base/varargs.exp: Likewise.
1251 * gdb.base/volatile.exp: Likewise.
1252 * gdb.base/whatis.exp: Likewise.
1253 * gdb.cp/cplusfuncs.exp: Likewise.
1254 * gdb.cp/inherit.exp: Likewise.
1255 * gdb.cp/local.exp: Likewise.
1256 * gdb.cp/member-ptr.exp: Likewise.
1257 * gdb.cp/method.exp: Likewise.
1258 * gdb.cp/overload.exp: Likewise.
1259 * gdb.cp/templates.exp: Likewise.
1260 * gdb.stabs/weird.exp: Likewise.
1261 * lib/compiler.c: Likewise.
1262 * lib/compiler.cc: Likewise.
1263 * lib/cp-support.exp: Likewise.
1264 * lib/gdb.exp: Likewise.
1266 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1268 * configure.ac: Remove HP-UX case.
1269 * configure: Regenerate.
1271 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1273 * lib/gdb.exp (gdb_compile): Add function doc.
1275 2015-12-17 Pedro Alves <palves@redhat.com>
1278 * gdb.multi/info-threads.exp: New file.
1280 2015-12-15 Yao Qi <yao.qi@linaro.org>
1282 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1285 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1287 * gdb.base/history-duplicates.exp: Skip if no readline support.
1289 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1291 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1293 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1295 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1297 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1299 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1300 ctrl-C if nointerrupts target property is set.
1301 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1302 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1303 * gdb.base/paginate-bg-execution.exp: Likewise.
1304 * gdb.base/paginate-execution-startup.exp: Likewise.
1305 * gdb.base/random-signal.exp: Likewise.
1306 * gdb.base/range-stepping.exp: Likewise.
1307 * gdb.cp/annota2.exp: Likewise.
1308 * gdb.cp/annota3.exp: Likewise.
1309 * gdb.gdb/selftest.exp: Likewise.
1310 * gdb.threads/continue-pending-status.exp: Likewise.
1311 * gdb.threads/leader-exit.exp: Likewise.
1312 * gdb.threads/manythreads.exp: Likewise.
1313 * gdb.threads/pthreads.exp: Likewise.
1314 * gdb.threads/schedlock.exp: Likewise.
1315 * gdb.threads/sigthread.exp: Likewise.
1317 2015-12-11 Don Breazeal <donb@codesourcery.com>
1319 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1321 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1322 * gdb.base/foll-exec.exp (main): Enable for target remote.
1323 * gdb.base/foll-fork.exp (main): Likewise.
1324 * gdb.base/foll-vfork.exp (main): Likewise.
1325 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1326 (proc continue_to_exit_bp_loc): Use clean_restart.
1327 * gdb.base/pie-execl.exp (main): Disable for target remote.
1328 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1329 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1330 * gdb.threads/execl.exp (main): Likewise.
1331 * gdb.threads/fork-child-threads.exp (main): Likewise.
1332 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1334 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1336 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1337 pid.tid style ptids, instead of just tid.
1338 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1339 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1340 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1341 ptids, instead of just tid.
1343 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1345 * gdb.base/list.exp (test_list_forward): Add end of file error
1347 (test_repeat_list_command): Add end of file error test.
1348 (test_list_backwards): Add beginning of file error test.
1350 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1352 * gdb.base/list.exp (test_list_invalid_args): New function,
1353 defined, and called.
1355 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1357 * gdb.base/list.exp (test_list): Make test names unique.
1359 2015-12-11 Yao Qi <yao.qi@linaro.org>
1361 * gdb.base/coremaker2.c: Remove.
1363 2015-12-10 Pedro Alves <palves@redhat.com>
1365 * gdb.multi/base.exp: Remove stale "spaces" references.
1367 2015-12-10 Pedro Alves <palves@redhat.com>
1369 * gdb.multi/base.exp: Don't use nowarnings.
1370 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1371 * gdb.multi/hangout.c: Include stdio.h.
1372 * gdb.multi/hello.c: Include stdlib.h.
1373 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1374 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1375 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1377 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1379 * gdb.dwarf2/dw2-ranges-base.c: New file.
1380 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1381 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1382 support additional line table, and debug ranges generation.
1383 (Dwarf::ranges): New function, generate .debug_ranges.
1384 (Dwarf::lines): Support generating simple line table programs.
1385 (Dwarf::assemble): Initialise new namespace variables.
1387 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1389 * gdb.base/async.exp (proc test_background): Add case for
1390 asynchronous execution not supported.
1392 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1394 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1395 format and change test names to make them unique.
1397 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1398 Pedro Alves <pedro@redhat.com>
1401 Add checking of floatformats setup on x86_64 hosts.
1402 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1403 (smallval, bigval): New labels/constants.
1404 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1405 float" after loading bigval and smallval.
1407 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1409 * gdb.ada/fun_overload_menu.exp: New testcase.
1410 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1412 2015-12-04 Josh Stone <jistone@redhat.com>
1414 * gdb.base/catch-fork-static.exp: New.
1416 2015-12-03 Yao Qi <yao.qi@linaro.org>
1418 * gdb.base/sizeof.c: Don't include stdio.h and
1419 ../lib/unbuffer_output.c.
1420 (main): New variable 'size' and 'value'. Remove printf and
1421 gdb_unbuffer_output. Assign return value to size and value.
1422 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1424 (check_sizeof): Check the result by printing variable 'size'.
1425 (check_valueof): Check the result by printing variable 'value'.
1427 2015-12-01 Yao Qi <yao.qi@linaro.org>
1429 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1430 for aarch64*-*-linux* target.
1432 2015-11-30 Pedro Alves <palves@redhat.com>
1434 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1436 2015-11-30 Pedro Alves <palves@redhat.com>
1438 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1439 Handle non-stop mode vCont replies.
1441 2015-11-30 Pedro Alves <palves@redhat.com>
1443 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1444 prepare_for_testing. Start gdb with "set non-stop on" appended to
1445 GDBFLAGS. Lax expected stop output.
1447 2015-11-27 Yao Qi <yao.qi@linaro.org>
1449 * gdb.arch/arm-neon.exp: New.
1450 * gdb.arch/arm-neon.c: New.
1452 2015-11-27 Yao Qi <yao.qi@linaro.org>
1454 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1456 2015-11-27 Yao Qi <yao.qi@linaro.org>
1458 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1459 frames-invalid annotation.
1461 2015-11-27 Yao Qi <yao.qi@linaro.org>
1463 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1465 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1467 * gdb.threads/names.exp: New file.
1468 * gdb.threads/names.c: New file.
1469 * README: Mention gdb,no_thread_names.
1471 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1474 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1477 2015-11-24 Pedro Alves <palves@redhat.com>
1480 * gdb.base/display.exp: Expect displays to be sorted in ascending
1481 order. Use multi_line.
1482 * gdb.base/solib-display.exp: Likewise.
1484 2015-11-24 Pedro Alves <palves@redhat.com>
1487 * gdb.base/display.exp: Expect displays to be sorted in ascending
1488 order. Use multi_line.
1489 * gdb.base/solib-display.exp: Likewise.
1491 2015-11-24 Pedro Alves <palves@redhat.com>
1494 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1495 threads in ascending order.
1496 * gdb.base/foll-fork.exp: Likewise.
1497 * gdb.base/foll-vfork.exp: Likewise.
1498 * gdb.base/multi-forks.exp: Likewise.
1499 * gdb.mi/mi-nonstop.exp: Likewise.
1500 * gdb.mi/mi-nsintrall.exp: Likewise.
1501 * gdb.multi/base.exp: Likewise.
1502 * gdb.multi/multi-arch.exp: Likewise.
1503 * gdb.python/py-inferior.exp: Likewise.
1504 * gdb.threads/break-while-running.exp: Likewise.
1505 * gdb.threads/execl.exp: Likewise.
1506 * gdb.threads/gcore-thread.exp: Likewise.
1507 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1508 * gdb.threads/kill.exp: Likewise.
1509 * gdb.threads/linux-dp.exp: Likewise.
1510 * gdb.threads/multiple-step-overs.exp: Likewise.
1511 * gdb.threads/next-bp-other-thread.exp: Likewise.
1512 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1513 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1514 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1515 * gdb.threads/thread-find.exp: Likewise.
1516 * gdb.threads/tls.exp: Likewise.
1517 * lib/mi-support.exp (mi_reverse_list): Delete.
1518 (mi_check_thread_states): No longer reverse list.
1520 2015-11-24 Pedro Alves <palves@redhat.com>
1522 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1525 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1527 * gdb.trace/actions.c: Include trace-common.h.
1528 (main): Add a location for a fast tracepoint.
1529 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1530 the normal tracepoints.
1531 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1533 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1535 * save-trace.exp: Factor out code to these...
1536 (gdb_save_tracepoints): New.
1537 (gdb_load_tracepoints): New.
1538 (do_save_load_test): New.
1540 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1542 * gdb.base/asmlabel.exp: New test.
1543 * gdb.base/asmlabel.c: New test case.
1545 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1547 * gdb.base/wrong_frame_bt_full-main.c: New file.
1548 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1549 * gdb.base/wrong_frame_bt_full.exp: New file.
1551 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1553 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1555 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1557 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1558 pstate register when comparing registers values in
1559 sparc64-*-linux-gnu targets to avoid spurious differences.
1561 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1563 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1565 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1567 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1568 as type argument to gdb_compile.
1569 * gdb.base/nested-subp2.exp: Likewise.
1570 * gdb.base/nested-subp3.exp: Likewise.
1572 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1574 * lib/dwarf.exp (_note): Fix left shift of negative value.
1575 * gdb.trace/trace-condition.exp: Likewise.
1577 2015-11-13 Yao Qi <yao.qi@linaro.org>
1579 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1580 comments about d10v.
1581 (test_scalar_returns): Likewise.
1582 * gdb.base/d10v.ld: Remove.
1583 * gdb.base/overlays.exp: Remove the target triplet checking for
1585 * gdb.base/structs.exp (test_struct_returns): Remove the
1586 comments about d10v.
1587 (test_struct_calls): Likewise.
1589 2015-11-13 Yao Qi <yao.qi@linaro.org>
1591 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1592 * gdb.base/gnu_vector.c: Don't include stdio.h.
1593 (main): Don't print res and call add_some_intvecs.
1595 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1597 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1600 (func4): Use FAST_TRACEPOINT_LABEL.
1601 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1604 (thread_function): Use FAST_TRACEPOINT_LABEL.
1605 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1607 (marker): Use FAST_TRACEPOINT_LABEL.
1608 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1609 (pendfunc1): Remove.
1610 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1611 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1613 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1614 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1617 (marker): Use FAST_TRACEPOINT_LABEL.
1618 * gdb.trace/trace-common.h: New header.
1619 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1622 (marker): Use FAST_TRACEPOINT_LABEL.
1623 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1625 (thread_function): Use FAST_TRACEPOINT_LABEL.
1627 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1629 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1631 * gdb.trace/change-loc.exp: Use global pcreg definition.
1632 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1633 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1635 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1636 * gdb.trace/pending.exp: Likewise.
1637 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1638 * gdb.trace/trace-break.exp: Likewise.
1639 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1641 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1642 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1644 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1646 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1648 * gdb.ada/fin_fun_out: New testcase.
1650 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1652 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1653 value associated with DW_AT_byte_size.
1654 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1655 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1658 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1660 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1661 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1663 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1664 gdb.dwarf2/dw2-canonicalize-type.exp,
1665 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1666 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1667 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1668 provided by gdb_target_symbol_prefix_flags_asm.
1669 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1670 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1671 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1672 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1673 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1674 macros where needed). Use this macro for symbols which require
1675 the prefix provided by SYMBOL_PREFIX.
1677 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1679 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1681 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1682 representing expressions, of more than one list element.
1683 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1684 to prepend linker symbol prefix to f.
1685 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1686 table_1 and table_2.
1687 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1688 Likewise, for f and g.
1689 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1691 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1693 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1694 table_1_ptr and table_2_ptr.
1696 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1697 Joel Brobecker <brobecker@adacore.com>
1699 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1701 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1703 * gdb.reverse/s390-mvcle.c: New test.
1704 * gdb.reverse/s390-mvcle.exp: New file.
1705 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1707 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1709 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1711 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1713 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1715 * gdb.reverse/getresuid-reverse.exp: Likewise.
1716 * gdb.reverse/pipe-reverse.exp: Likewise.
1717 * gdb.reverse/readv-reverse.exp: Likewise.
1718 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1719 * gdb.reverse/time-reverse.exp: Likewise.
1720 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1722 2015-10-30 Yao Qi <yao.qi@linaro.org>
1724 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1725 (empty_cycle): Remove.
1726 (main): Don't call empty_cycle. Don't use watch_count_done.
1727 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1728 empty_cycle. Rewrite the code counting HW watchpoints.
1730 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1732 * gdb.reverse/fstatat-reverse.c: New test.
1733 * gdb.reverse/fstatat-reverse.exp: New file.
1734 * gdb.reverse/getresuid-reverse.c: New test.
1735 * gdb.reverse/getresuid-reverse.exp: New file.
1736 * gdb.reverse/pipe-reverse.c: New test.
1737 * gdb.reverse/pipe-reverse.exp: New file.
1738 * gdb.reverse/readv-reverse.c: New test.
1739 * gdb.reverse/readv-reverse.exp: New file.
1740 * gdb.reverse/recvmsg-reverse.c: New test.
1741 * gdb.reverse/recvmsg-reverse.exp: New file.
1742 * gdb.reverse/time-reverse.c: New test.
1743 * gdb.reverse/time-reverse.exp: New file.
1744 * gdb.reverse/waitpid-reverse.c: New test.
1745 * gdb.reverse/waitpid-reverse.exp: New file.
1747 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1749 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1751 2015-10-26 Doug Evans <dje@google.com>
1754 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1755 * gdb.dwarf2/bad-regnum.c: New file.
1756 * gdb.dwarf2/bad-regnum.exp: New file.
1758 2015-10-26 Doug Evans <dje@google.com>
1761 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1764 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1766 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1767 for a change by "Mention language in compile error message".
1769 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1772 * gdb.python/py-type.c (C::a_method): New.
1773 (C::a_const_method): New.
1774 (C::a_static_method): New.
1776 * gdb.python/py-type.exp (test_fields): Test getting fields
1777 from function and method.
1779 2015-10-21 Keven Boell <keven.boell@intel.com>
1781 * gdb.fortran/vla-alloc-assoc.exp: New file.
1782 * gdb.fortran/vla-datatypes.exp: New file.
1783 * gdb.fortran/vla-datatypes.f90: New file.
1784 * gdb.fortran/vla-history.exp: New file.
1785 * gdb.fortran/vla-ptype-sub.exp: New file.
1786 * gdb.fortran/vla-ptype.exp: New file.
1787 * gdb.fortran/vla-sizeof.exp: New file.
1788 * gdb.fortran/vla-sub.f90: New file.
1789 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1790 * gdb.fortran/vla-value-sub-finish.exp: New file.
1791 * gdb.fortran/vla-value-sub.exp: New file.
1792 * gdb.fortran/vla-value.exp: New file.
1793 * gdb.fortran/vla-ptr-info.exp: New file.
1794 * gdb.mi/mi-vla-fortran.exp: New file.
1795 * gdb.mi/vla.f90: New file.
1797 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1799 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1800 of hardwired timeout value.
1802 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1803 Pedro Alves <palves@redhat.com>
1805 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1806 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1808 2015-10-19 Josh Stone <jistone@redhat.com>
1810 * gdb.base/catch-syscall.c: Include <sched.h>.
1811 (unknown_syscall): New variable.
1812 (main): Trigger a vfork and an unknown syscall.
1813 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1814 (unknown_syscall_number): Likewise.
1815 (check_call_to_syscall): Accept an optional syscall pattern.
1816 (check_return_from_syscall): Likewise.
1817 (check_continue): Likewise.
1818 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1819 (test_catch_syscall_skipping_return): New test toggling off 'catch
1820 syscall' to step over the syscall return, then toggling back on.
1821 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1822 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1823 (do_syscall_tests): Call test_catch_syscall_without_args and
1824 test_catch_syscall_mid_vfork.
1825 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1826 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1828 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1830 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1831 print g_vE): Add new pass patterns.
1832 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1833 print various symbol names for vptr fields.
1835 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1837 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1840 2015-10-12 Yao Qi <yao.qi@linaro.org>
1842 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1844 2015-10-12 Yao Qi <yao.qi@linaro.org>
1846 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1847 is aarch64*-*-linux*.
1849 2015-10-12 Yao Qi <yao.qi@linaro.org>
1851 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1852 (can_relocate_bcond_true): ... it.
1853 (can_relocate_bcond_false): New function.
1855 (can_relocate_bl): Likewise.
1856 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1859 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1861 * gdb.base/nested-addr.c: New file.
1862 * gdb.base/nested-addr.exp: New testcase.
1864 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1866 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1867 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1868 its output. Ignore the output of "record goto begin" and instead
1869 check that GDB is replaying.
1871 2015-10-09 Pedro Alves <palves@redhat.com>
1873 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1874 (top level): Use it in the run with no args test.
1876 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1878 * gdb.dlang/properties.exp: New file.
1880 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1882 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1883 whether or not address 0x1000 is mapped on the target.
1885 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1887 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1890 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1892 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1893 instruction-history test.
1895 2015-09-28 Doug Evans <dje@google.com>
1897 * gdb.base/gcore.c (array_func): Add reference to static_array.
1899 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1901 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1904 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1906 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1907 short or char as base type.
1909 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1911 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1912 to allow any size enum.
1914 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1916 * gdb.ada/array_ptr_renaming.exp: New testcase.
1917 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1918 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1920 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1922 * gdb.trace/ftrace-lock.c: New file.
1923 * gdb.trace/ftrace-lock.exp: New file.
1925 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1927 * gdb.arch/insn-reloc.c: New file.
1928 * gdb.arch/ftrace-insn-reloc.exp: New file.
1930 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1932 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1934 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1935 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1936 * gdb.trace/range-stepping.c: Likewise.
1937 * gdb.trace/trace-break.c: Likewise.
1938 * gdb.trace/trace-mt.c (thread_function): Likewise.
1939 * gdb.trace/ftrace.c (marker): Likewise.
1940 * gdb.trace/trace-condition.c (marker): Likewise.
1941 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1942 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1945 2015-09-18 Doug Evans <xdje42@gmail.com>
1947 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1948 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1950 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1952 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1955 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1957 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1958 the pending breakpoint. Remove timeout override for "Run till
1959 MI pending breakpoint on pendfunc3 on thread 2" test.
1961 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1963 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1966 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1968 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1969 in breakpoint filename pattern.
1971 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1973 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1975 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1977 * gdb.linespec/explicit.exp: Check for readline support for
1978 tab-completion tests. Fix obvious typo.
1980 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1982 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1985 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1987 * gdb.btrace/non-stop.c: New.
1988 * gdb.btrace/non-stop.exp: New.
1990 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1991 Yao Qi <yao.qi@linaro.org>
1993 * gdb.trace/trace-condition.c: New file.
1994 * gdb.trace/trace-condition.exp: New file.
1996 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1998 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1999 for testing bytecode compilation.
2001 2015-09-16 Pedro Alves <palves@redhat.com>
2002 Sandra Loosemore <sandra@codesourcery.com>
2004 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2005 (SECONDS): Redefine.
2006 (main): Call pthread_kill and alarm early.
2007 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2009 (test): If the target can't hardware step and doesn't support
2010 displaced stepping, increase the timeout.
2012 2015-09-16 Pedro Alves <palves@redhat.com>
2014 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2015 (enable_debug): New procedures.
2016 (test): Use them. Bail out if waiting for threads fails.
2017 (top level): Bail out if a test fails.
2019 2015-09-16 Yao Qi <yao.qi@linaro.org>
2021 * gdb.asm/asm-source.exp: Set asm-arch for
2022 aarch64*-*-* target.
2023 * gdb.asm/aarch64.inc: New file.
2025 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2027 * gdb.ada/array_of_variable_length.exp: New testcase.
2028 * gdb.ada/array_of_variable_length/foo.adb: New file.
2029 * gdb.ada/array_of_variable_length/pck.adb: New file.
2030 * gdb.ada/array_of_variable_length/pck.ads: New file.
2032 2015-09-15 Doug Evans <dje@google.com>
2034 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2035 of function static local variable.
2037 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2039 * gdb.threads/tls-so_extern.exp: New test file.
2040 * gdb.threads/tls-so_extern.c: New test file.
2041 * gdb.threads/tls-so_extern_main.c: New test file.
2043 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2045 * gdb.opt/solib-intra-step-lib.c: New file.
2046 * gdb.opt/solib-intra-step-main.c: New file.
2047 * gdb.opt/solib-intra-step.exp: New file.
2049 2015-09-15 Pedro Alves <palves@redhat.com>
2051 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2052 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2054 2015-09-14 Pedro Alves <palves@redhat.com>
2056 * gdb.base/hook-stop-continue.c: Delete.
2057 * gdb.base/hook-stop-continue.exp: Delete.
2058 * gdb.base/hook-stop-frame.c: Delete.
2059 * gdb.base/hook-stop-frame.exp: Delete.
2060 * gdb.base/hook-stop.c: New file.
2061 * gdb.base/hook-stop.exp: New file.
2063 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2065 * gdb.ada/access_to_packed_array.exp: New testcase.
2066 * gdb.ada/access_to_packed_array/foo.adb: New file.
2067 * gdb.ada/access_to_packed_array/pack.adb: New file.
2068 * gdb.ada/access_to_packed_array/pack.ads: New file.
2070 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2072 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2075 2015-09-11 Don Breazeal <donb@codesourcery.com>
2077 * gdb.base/foll-exec.c: Add copyright header. Fix
2079 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2080 (do_exec_tests): Use clean_restart in place of zap_session,
2081 and for test initialization. Fix formatting issues. Use
2082 fail in place of perror.
2083 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2084 an expect statement to match an expression with output from
2085 the program under debug.
2086 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2087 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2088 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2089 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2090 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2092 2015-09-09 Doug Evans <dje@google.com>
2094 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2096 2015-09-09 Doug Evans <dje@google.com>
2098 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2100 2015-09-09 Doug Evans <dje@google.com>
2102 * gdb.base/savedregs.exp: Fix typo.
2104 2015-09-09 Pedro Alves <palves@redhat.com>
2106 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2108 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2110 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2111 command actually switches threads. Give up on remaining
2112 tests if target fails to stop at breakpoint.
2114 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2116 * gdb.ada/funcall_char.exp: New testcase.
2117 * gdb.ada/funcall_char/foo.adb: New file.
2119 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2121 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2122 expected outputs. Add two testcases for completing ambiguous
2124 * gdb.ada/complete/aux_pck.adb: New file.
2125 * gdb.ada/complete/aux_pck.ads: New file.
2126 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2127 Ambiguous_Func functions.
2128 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2129 * gdb.ada/complete/pck.adb: Likewise.
2131 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2133 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2134 failures to run the test program under GDB.
2136 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2138 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2141 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2143 * gdb.base/run-after-attach.exp: New test file.
2144 * gdb.base/run-after-attach.c: New test file.
2146 2015-08-26 Don Breazeal <donb@codesourcery.com>
2148 * gdb.base/foll-exec-2.c: New test program.
2149 * gdb.base/foll-exec-2.exp: New test.
2151 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2153 * gdb.base/nested-subp1.exp: New file.
2154 * gdb.base/nested-subp1.c: New file.
2155 * gdb.base/nested-subp2.exp: New file.
2156 * gdb.base/nested-subp2.c: New file.
2157 * gdb.base/nested-subp3.exp: New file.
2158 * gdb.base/nested-subp3.c: New file.
2160 2015-08-24 Pedro Alves <palves@redhat.com>
2162 * gdb.server/connect-without-multi-process.c: New file.
2163 * gdb.server/connect-without-multi-process.exp: New file.
2165 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2167 * gdb.opt/inline-markers.c: Make z int.
2169 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2171 * gdb.opt/inline-markers.c: Make z volatile.
2173 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2175 * gdb.opt/inline-bt.c: New volatile global z.
2176 * gdb.opt/inline-cmds.c: Likewise.
2177 * gdb.opt/inline-locals.c: Likewise.
2178 * gdb.opt/inline-markers.c: New extern global z.
2180 (inline_fn): Likewise.
2182 2015-08-24 Pedro Alves <palves@redhat.com>
2184 * config/m32r-stub.exp: Remove file.
2185 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2186 * gdb.base/call-rt-st.exp: Likewise.
2187 * gdb.base/call-strs.exp: Likewise.
2188 * gdb.base/default.exp: Remove references to h8300-*-hms and
2190 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2192 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2194 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2195 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2196 and "return" use KFAIL when GDB can not read/write the vector
2199 2015-08-21 Gary Benson <gbenson@redhat.com>
2201 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2203 2015-08-20 Pedro Alves <palves@redhat.com>
2205 * gdb.server/solib-list.exp: No longer expect an interior stop in
2208 2015-08-20 Pedro Alves <palves@redhat.com>
2210 * gdb.server/connect-stopped-target.c: New file.
2211 * gdb.server/connect-stopped-target.exp: New file.
2213 2015-08-20 Pedro Alves <palves@redhat.com>
2215 * gdb.dwarf2/comp-unit-lang.exp: New file.
2216 * gdb.dwarf2/comp-unit-lang.c: New file.
2218 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2220 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2221 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2223 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2225 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2226 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2228 2015-08-18 Doug Evans <dje@google.com>
2229 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2231 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2232 skip_python_tests. New arg prompt_regexp.
2233 (skip_python_tests): New function.
2234 * lib/mi-support.exp (mi_skip_python_tests): New function.
2235 * gdb.python/py-mi-objfile-gdb.py: New file.
2236 * gdb.python/py-mi-objfile.c: New file.
2237 * gdb.python/py-mi-objfile.exp: New file.
2239 2015-08-17 Keith Seitz <keiths@redhat.com>
2241 * gdb.linespec/explicit.exp: Move strace test from here ...
2242 * gdb.trace/strace.exp: ... to here.
2244 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2246 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2247 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2249 2015-08-14 Doug Evans <xdje42@gmail.com>
2251 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2252 inferior before selecting a new file.
2254 2015-08-14 Doug Evans <xdje42@gmail.com>
2256 * gdb.mi/mi-disassemble.exp: Update.
2257 * gdb.base/disasm-optim.S: New file.
2258 * gdb.base/disasm-optim.c: New file.
2259 * gdb.base/disasm-optim.h: New file.
2260 * gdb.base/disasm-optim.exp: New file.
2262 2015-08-14 Keith Seitz <keiths@redhat.com>
2264 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2267 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2269 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2271 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2273 * gdb.ada/fun_renaming.exp: New testcase.
2274 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2275 * gdb.ada/fun_renaming/pack.adb: New file.
2276 * gdb.ada/fun_renaming/pack.ads: New file.
2278 2015-08-12 Keith Seitz <keiths@redhat.com>
2280 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2281 gdb_get_line_number.
2283 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2285 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2286 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2287 gdb.base/dso2dso.exp: New files.
2289 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2290 Pedro Alves <palves@redhat.com>
2291 Keith Seitz <keiths@redhat.com>
2293 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2296 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2298 * gdb.base/gdbhistsize-history.exp
2299 (test_histsize_history_setting): Use save_vars.
2300 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2302 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2303 * gdb.base/readline.exp: Use save_vars.
2305 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2307 * lib/gdb.exp (save_vars): New proc.
2309 2015-08-11 Keith Seitz <keiths@redhat.com>
2311 * gdb.base/help.exp: Update help_breakpoint_text.
2313 2015-08-11 Keith Seitz <keiths@redhat.com>
2315 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2316 (at toplevel): Call test_explicit_breakpoints.
2317 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2319 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2320 breakpoint conditions, "-cond".
2322 2015-08-11 Keith Seitz <keiths@redhat.com>
2324 * gdb.linespec/3explicit.c: New file.
2325 * gdb.linespec/cpexplicit.cc: New file.
2326 * gdb.linespec/cpexplicit.exp: New file.
2327 * gdb.linespec/explicit.c: New file.
2328 * gdb.linespec/explicit.exp: New file.
2329 * gdb.linespec/explicit2.c: New file.
2330 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2331 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2332 before using in the matching pattern.
2333 Clarify that `prefix' is a regular expression.
2335 2015-08-11 Keith Seitz <keiths@redhat.com>
2337 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2339 Add tests for missing ",FMT" and ",".
2341 2015-08-10 Doug Evans <dje@google.com>
2342 Keith Seitz <keiths@redhat.com>
2345 * gdb.base/completion.exp: Add location completer tests.
2347 2015-08-07 Pedro Alves <palves@redhat.com>
2349 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2351 (top level): Run do_test with and without displaced stepping.
2353 2015-08-07 Pedro Alves <palves@redhat.com>
2355 * gdb.base/valgrind-disp-step.c: New file.
2356 * gdb.base/valgrind-disp-step.exp: New file.
2358 2015-08-07 Pedro Alves <palves@redhat.com>
2360 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2362 (main): Add alarm. Run an infinite loop instead of calling
2364 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2366 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2368 (main): Add alarm. Run an infinite loop instead of calling
2370 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2373 2015-08-07 Pedro Alves <palves@redhat.com>
2375 * gdb.base/checkpoint-ns.exp: New file.
2376 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2379 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2381 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2382 * gdb.btrace/instruction_history.exp: Update.
2383 * gdb.btrace/tsx.exp: New.
2384 * gdb.btrace/tsx.c: New.
2386 2015-08-06 Pedro Alves <palves@redhat.com>
2388 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2390 * gdb.reverse/until-precsave.exp: Bump timeouts.
2392 2015-08-06 Pedro Alves <palves@redhat.com>
2394 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2396 2015-08-06 Pedro Alves <palves@redhat.com>
2399 * gdb.threads/process-dies-while-handling-bp.c: New file.
2400 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2402 2015-08-06 Pedro Alves <palves@redhat.com>
2404 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2405 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2407 2015-08-05 Pedro Alves <palves@redhat.com>
2409 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2410 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2412 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2414 * gdb.base/bp-permanent.exp: Report test as unsupported if
2415 the target cannot stop at the permanent breakpoint.
2417 2015-08-03 Doug Evans <dje@google.com>
2419 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2422 2015-08-03 Doug Evans <dje@google.com>
2424 * Makefile.in (workers/%.worker, build-perf): New rule.
2425 (GDB_PERFTEST_MODE): New variable.
2426 (check-perf): Use it.
2427 (clean): Clean up gdb.perf parallel build subdirs.
2428 * lib/build-piece.exp: New file.
2429 * lib/gdb.exp (make_gdb_parallel_path): New function
2430 (standard_output_file, standard_temp_file): Call it.
2431 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2433 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2435 2015-08-03 Doug Evans <dje@google.com>
2437 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2438 (LOG_FILE_NAME): New global.
2439 (TextReporter.__init__): Initialize self.txt_sum.
2440 (TextReporter.report): Add support for multiple data-points.
2441 Move report to perftest.sum, put raw data in perftest.log.
2442 (TextReporter.start): Open sum and log files.
2443 (TextReporter.end): Close sum and log files.
2444 * gdb.perf/lib/perftest/testresult.py
2445 (SingleStatisticTestResult.record): Handle multiple data-points.
2447 2015-07-31 Pedro Alves <palves@redhat.com>
2449 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2450 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2451 kill_wait_spawned_process instead of explicit "kill -9".
2452 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2453 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2454 kill_wait_spawned_process.
2455 * gdb.base/attach-twice.exp: Likewise.
2456 * gdb.base/attach.exp: Likewise.
2457 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2459 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2460 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2461 kill_wait_spawned_process.
2462 * gdb.base/valgrind-infcall.exp: Likewise.
2463 * gdb.multi/multi-attach.exp: Likewise.
2464 * gdb.python/py-prompt.exp: Likewise.
2465 * gdb.python/py-sync-interp.exp: Likewise.
2466 * gdb.server/ext-attach.exp: Likewise.
2467 * gdb.threads/attach-into-signal.exp (corefunc): Use
2468 spawn_wait_for_attach, spawn_id_get_pid and
2469 kill_wait_spawned_process.
2470 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2471 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2472 spawn_id_get_pid and kill_wait_spawned_process.
2473 * gdb.threads/attach-stopped.exp (corefunc): Use
2474 spawn_wait_for_attach, spawn_id_get_pid and
2475 kill_wait_spawned_process.
2476 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2477 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2478 kill_wait_spawned_process instead of explicit "kill -9".
2479 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2480 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2481 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2482 processes. Don't map cygwin/windows pids here. Now returns a
2485 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2487 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2488 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2491 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2493 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2495 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2498 2014-05-21 Mark Wielaard <mjw@redhat.com>
2500 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2502 2015-07-30 Pedro Alves <palves@redhat.com>
2504 * linux-low.c (handle_extended_wait): Set the child's last
2505 reported status to TARGET_WAITKIND_STOPPED.
2507 2015-07-30 Pedro Alves <palves@redhat.com>
2510 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2511 only shows inferior 1.
2513 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2514 Pedro Alves <palves@redhat.com>
2517 * gdb.threads/fork-plus-threads.c: New file.
2518 * gdb.threads/fork-plus-threads.exp: New file.
2520 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2522 * gdb.base/batch-preserve-term-settings.exp
2523 (test_terminal_settings_preserved_after_cli_exit): Use
2526 2015-07-29 Pedro Alves <palves@redhat.com>
2527 Don Breazeal <donb@codesourcery.com>
2529 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2530 output from both inferior_spawn_id and gdb_spawn_id.
2532 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2534 * gdb.threads/attach-into-signal.exp (corefunc): Use
2535 with_test_prefix on nested loops, uniquefying the test messages.
2537 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2539 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2542 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2544 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2546 (test_terminal_settings_preserved_after_sigterm): New test.
2548 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2550 * gdb.base/batch-preserve-term-settings.exp
2551 (test_terminal_settings_preserved_after_cli_exit): New test.
2553 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2555 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2556 manipulation of saved_gdbflags.
2557 (test_terminal_settings_preserved): Remove global declaration of
2558 the unused variable pagination_prompt. Remove manipulation of
2559 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2562 2015-07-29 Pedro Alves <palves@redhat.com>
2564 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2566 2015-07-29 Pedro Alves <palves@redhat.com>
2568 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2571 2015-07-29 Pedro Alves <palves@redhat.com>
2573 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2574 (main): Call gdb_unbuffer_output.
2575 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2576 (main): Call gdb_unbuffer_output.
2577 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2578 (main): Call gdb_unbuffer_output.
2579 * gdb.base/call-strs.exp: Adjust to step over the
2580 gdb_unbuffer_output call.
2581 * gdb.base/catch-gdb-caused-signals.c: Include
2582 "../lib/unbuffer_output.c".
2583 (main): Call gdb_unbuffer_output.
2584 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2585 (main): Call gdb_unbuffer_output.
2586 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2587 (main): Call gdb_unbuffer_output.
2588 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2589 (main): Call gdb_unbuffer_output.
2590 * gdb.base/shlib-call.exp: Adjust to step over the
2591 gdb_unbuffer_output call.
2592 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2593 (main): Call gdb_unbuffer_output.
2594 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2595 (main): Call gdb_unbuffer_output.
2596 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2597 (main): Rename to ...
2599 (main): Reimplement.
2600 * gdb.base/varargs.exp: Run to test instead of to main.
2601 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2602 (main): Call gdb_unbuffer_output.
2604 2015-07-29 Pedro Alves <palves@redhat.com>
2606 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2607 factore out from mi_continue_dprintf. For call-style dprintfs,
2608 expect dprintf output out of $inferior_spawn_id.
2609 (mi_continue_dprintf): Use mi_expect_dprintf.
2610 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2611 (main): Call gdb_unbuffer_output.
2613 2015-07-29 Pedro Alves <palves@redhat.com>
2615 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2616 (default_mi_gdb_start): Set inferior_spawn_id instead of
2617 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2619 (mi_gdb_test): Always expect inferior output from both
2620 $inferior_spawn_id and $gdb_spawn_id.
2622 2015-07-29 Pedro Alves <palves@redhat.com>
2624 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2625 send_inferior and $inferior_spawn_id.
2627 2015-07-29 Pedro Alves <palves@redhat.com>
2629 * gdb.gdb/complaints.exp (test_initial_complaints)
2630 (test_serial_complaints, test_short_complaints): Use
2632 (test_empty_complaint): Handle $inferior_spawn_id !=
2635 2015-07-29 Pedro Alves <palves@redhat.com>
2637 * gdb.base/varargs.exp: Use gdb_test_stdio.
2639 2015-07-29 Pedro Alves <palves@redhat.com>
2641 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2643 2015-07-29 Pedro Alves <palves@redhat.com>
2645 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2647 2015-07-29 Pedro Alves <palves@redhat.com>
2649 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2650 parameter into two new parameters, "inf_result" and "gdb_result".
2651 Expect inferior output and gdb output from $inferior_spawn_id and
2652 $gdb_spawn_id, respectively. Adjust all callers.
2654 2015-07-29 Pedro Alves <palves@redhat.com>
2656 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2657 of gdb_test_sequence.
2659 2015-07-29 Pedro Alves <palves@redhat.com>
2661 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2662 (saw_spurious_output): Expect inferior output from
2663 $inferior_spawn_id. Use gdb_test_stdio.
2665 2015-07-29 Pedro Alves <palves@redhat.com>
2667 * gdb.base/dprintf.exp: Use standard_testfile. Change
2668 prepare_for_testing call.
2669 (srcfile): Don't set.
2670 (restart): New procedure.
2671 (test_dprintf): New procecure, use to continue over dprintfs.
2672 (test_call, test_agent): New procedures, tests moved here.
2673 Restart gdb and recreate dprintfs. Adjust expected output.
2675 2015-07-29 Pedro Alves <palves@redhat.com>
2677 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2679 2015-07-29 Pedro Alves <palves@redhat.com>
2681 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2683 2015-07-29 Pedro Alves <palves@redhat.com>
2685 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2688 2015-07-29 Pedro Alves <palves@redhat.com>
2690 * lib/gdb.exp (gdb_test_stdio): New procedure.
2692 2015-07-29 Pedro Alves <palves@redhat.com>
2694 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2696 2015-07-29 Pedro Alves <palves@redhat.com>
2698 * gdb.base/call-signal-resume.exp: Remove check for
2699 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2700 * gdb.base/unwindonsignal.exp: Likewise.
2701 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2702 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2704 2015-07-29 Pedro Alves <palves@redhat.com>
2706 * gdb.base/siginfo-addr.c (pass): New function.
2707 (handler): Call it iff si_addr is correct.
2708 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2709 Set a breakpoint at "pass" and continue to it.
2711 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2713 * gdb.python/py-objfile.exp: Make some tests have unique names.
2714 * gdb.python/py-pp-registration.exp: Likewise.
2716 2015-07-28 Pedro Alves <palves@redhat.com>
2718 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2720 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2722 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2724 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2726 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2728 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2730 * gdb.base/gdb-sigterm-2.exp: New test.
2732 2015-07-25 Doug Evans <xdje42@gmail.com>
2735 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2736 (workers/%.worker, build-perf): New rule.
2737 (GDB_PERFTEST_MODE): New variable.
2738 (check-perf): Use it.
2739 (clean): Clean up gdb.perf parallel build subdirs.
2740 * lib/build-piece.exp: New file.
2741 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2742 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2744 (standard_temp_file): Ditto.
2745 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2748 2015-07-24 Doug Evans <dje@google.com>
2750 * gdb.perf/lib/perftest/utils.py: New file.
2751 * gdb.perf/gm-hello.cc: New file.
2752 * gdb.perf/gm-pervasive-typedef.cc: New file.
2753 * gdb.perf/gm-pervasive-typedef.h: New file.
2754 * gdb.perf/gm-std.cc: New file.
2755 * gdb.perf/gm-std.h: New file.
2756 * gdb.perf/gm-use-cerr.cc: New file.
2757 * gdb.perf/gm-utils.h: New file.
2758 * gdb.perf/gmonster-null-lookup.py: New file.
2759 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2760 * gdb.perf/gmonster-print-cerr.py: New file.
2761 * gdb.perf/gmonster-ptype-string.py: New file.
2762 * gdb.perf/gmonster-runto-main.py: New file.
2763 * gdb.perf/gmonster-select-file.py: New file.
2764 * gdb.perf/gmonster1-null-lookup.exp: New file.
2765 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2766 * gdb.perf/gmonster1-print-cerr.exp: New file.
2767 * gdb.perf/gmonster1-ptype-string.exp: New file.
2768 * gdb.perf/gmonster1-runto-main.exp: New file.
2769 * gdb.perf/gmonster1-select-file.exp: New file.
2770 * gdb.perf/gmonster1.cc: New file.
2771 * gdb.perf/gmonster1.exp: New file.
2772 * gdb.perf/gmonster2-null-lookup.exp: New file.
2773 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2774 * gdb.perf/gmonster2-print-cerr.exp: New file.
2775 * gdb.perf/gmonster2-ptype-string.exp: New file.
2776 * gdb.perf/gmonster2-runto-main.exp: New file.
2777 * gdb.perf/gmonster2-select-file.exp: New file.
2778 * gdb.perf/gmonster2.cc: New file.
2779 * gdb.perf/gmonster2.exp: New file.
2781 2015-07-24 Doug Evans <dje@google.com>
2783 * gdb.perf/README: New file.
2784 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2785 * lib/gen-perf-test.exp: New file.
2787 2015-07-24 Doug Evans <dje@google.com>
2789 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2790 (PerfTest::startup): New function.
2791 (PerfTest::run): Return result of calling body.
2792 (PerfTest::assemble): Rewrite.
2793 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2794 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2795 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2796 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2797 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2799 2015-07-24 Doug Evans <dje@google.com>
2801 * lib/gdb.exp (clean_restart): Make executable optional.
2803 2015-07-24 Doug Evans <dje@google.com>
2805 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2806 compiler_info references.
2807 * gdb.cp/temargs.exp: Ditto.
2808 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2809 (get_compiler_info): Early exit if already computed. Set compiler_info
2810 to "unknown" if there was a problem.
2811 (test_compiler_info): Add function comment. Call get_compiler_info.
2813 2015-07-24 Doug Evans <dje@google.com>
2815 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2816 (workers/%.worker, build-perf): New rule.
2817 (GDB_PERFTEST_MODE): New variable.
2818 (check-perf): Use it.
2819 (clean): Clean up gdb.perf parallel build subdirs.
2820 * lib/build-piece.exp: New file.
2821 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2822 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2824 (standard_temp_file): Ditto.
2825 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2828 2015-07-24 Doug Evans <dje@google.com>
2830 * lib/future.exp (gdb_default_target_compile): New option
2832 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2835 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2837 * gdb.base/catch-syscall.exp: Call gdb_exit before
2840 2015-07-24 Pedro Alves <palves@redhat.com>
2842 * gdb.python/py-events.exp: Accept output between the stop event
2844 * gdb.python/py-evsignal.exp: Likewise.
2845 * gdb.python/py-evthreads.exp: Likewise.
2847 2015-07-24 Pedro Alves <palves@redhat.com>
2850 * gdb.threads/non-ldr-exit.c: New file.
2851 * gdb.threads/non-ldr-exit.exp: New file.
2853 2015-07-24 Yao Qi <yao.qi@linaro.org>
2855 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2858 2015-07-24 Yao Qi <yao.qi@linaro.org>
2860 * gdb.server/ext-restart.exp: New file.
2862 2015-07-24 Yao Qi <yao.qi@linaro.org>
2864 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2866 * gdb.server/ext-wrapper.exp: New file.
2868 2015-07-23 Doug Evans <dje@google.com>
2870 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2871 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2873 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2875 * gdb.ada/var_arr_typedef.exp: New testcase.
2876 * gdb.ada/var_arr_typedef/pack.adb: New file.
2877 * gdb.ada/var_arr_typedef/pack.ads: New file.
2878 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2880 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2882 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2884 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2886 * gdb.arch/i386-biarch-core.exp: Replace istarget
2887 by "complete set gnutarget". Remove expectation for the "core-file"
2890 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2892 Revert the previous commit:
2893 Tests for validate symbol file using build-id.
2895 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2897 Tests for validate symbol file using build-id.
2898 * gdb.base/solib-mismatch-lib.c: New file.
2899 * gdb.base/solib-mismatch-libmod.c: New file.
2900 * gdb.base/solib-mismatch.c: New file.
2901 * gdb.base/solib-mismatch.exp: New file.
2903 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2905 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2907 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2908 * gdb.base/siginfo.exp: Likewise.
2909 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2911 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2913 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2915 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2917 * gdb.trace/range-stepping.exp: Check that the target supports
2920 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2922 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2924 2015-07-14 Pedro Alves <palves@redhat.com>
2926 * gdb.base/killed-outside.exp: New file.
2927 * gdb.base/killed-outside.c: New file.
2929 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2931 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2933 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2935 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2937 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2938 infcall tests instead of setting up for KFAIL.
2940 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2942 * gdb.btrace/record_goto-step.exp: New.
2944 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2947 * gdb.compile/compile.c (struct struct_type): Add volatile to
2949 * gdb.compile/compile.exp
2950 (compile code struct_object.selffield = &struct_object): Skip further
2951 struct_object tests if this one xfails.
2953 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2956 * gdb.trace/ax.exp: Add test.
2958 2015-07-07 Yao Qi <yao.qi@linaro.org>
2960 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2961 instead of istarget "aarch64*-*-*".
2962 * gdb.arch/aarch64-fp.exp: Likewise.
2963 * gdb.base/float.exp: Likewise.
2964 * gdb.reverse/aarch64.exp: Likewise.
2965 * lib/gdb.exp (is_aarch64_target): New proc.
2967 2015-07-07 Yao Qi <yao.qi@linaro.org>
2969 * lib/gdb.exp (is_aarch32_target): New proc.
2970 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2971 instead of "istarget "arm*-*-*"".
2972 * gdb.arch/arm-disp-step.exp: Likewise.
2973 * gdb.arch/thumb-bx-pc.exp: Likewise.
2974 * gdb.arch/thumb-prologue.exp: Likewise.
2975 * gdb.arch/thumb-singlestep.exp: Likewise.
2976 * gdb.base/disp-step-syscall.exp: Likewise.
2977 * gdb.base/float.exp: Likewise.
2979 2015-07-07 Yao Qi <yao.qi@linaro.org>
2981 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2982 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2984 2015-07-07 Yao Qi <yao.qi@linaro.org>
2986 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2987 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2989 * gdb.multi/multi-arch.exp: Likewise.
2991 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2993 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2996 2015-07-07 Yao Qi <yao.qi@linaro.org>
2998 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3000 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3002 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3003 '[' and ']' characters.
3005 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3007 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3009 2015-06-29 Pedro Alves <palves@redhat.com>
3012 * gdb.threads/hand-call-new-thread.c: New file.
3013 * gdb.threads/hand-call-new-thread.c: New file.
3015 2015-06-26 Keith Seitz <keiths@redhat.com>
3016 Doug Evans <dje@google.com>
3019 * gdb.cp/var-tag-2.cc: New file.
3020 * gdb.cp/var-tag-3.cc: New file.
3021 * gdb.cp/var-tag-4.cc: New file.
3022 * gdb.cp/var-tag.cc: New file.
3023 * gdb.cp/var-tag.exp: New file.
3025 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3027 * gdb.base/history-duplicates.exp: New test.
3029 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3031 * gdb.base/completion.exp: Test the completion of the "focus"
3034 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3036 * gdb.arch/amd64-prologue-skip.S: New file.
3037 * gdb.arch/amd64-prologue-skip.exp: New file.
3039 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3041 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3042 is_address_zero_readable check.
3044 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3046 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3047 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3049 2015-06-24 Yao Qi <yao.qi@linaro.org>
3051 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3054 2015-06-24 Yao Qi <yao.qi@linaro.org>
3056 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3057 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3058 * gdb.base/siginfo-thread.exp: Likewise.
3060 2015-06-22 Yao Qi <yao.qi@linaro.org>
3062 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3064 2015-06-22 Yao Qi <yao.qi@linaro.org>
3066 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3068 (skip_hw_watchpoint_tests): Likewise.
3070 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3072 * gdb.base/gdbinit-history.exp: Test the interaction between
3073 setting GDBHISTSIZE and setting the history size via .gdbinit.
3075 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3078 * gdb.base/gdbhistsize-history.exp: New test.
3080 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3082 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3084 * gdb.base/readline.exp: Likewise.
3086 2015-06-17 Yao Qi <yao.qi@linaro.org>
3088 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3091 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3093 * gdb.base/gdbinit-history.exp: Add test case to check that
3094 an unlimited history file does not get truncated on exit.
3096 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3098 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3099 (VECTOR): New macro. Use it...
3100 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3101 ...for these typedefs.
3102 (int8, char1, int1, double1): New typedefs.
3103 (struct just_int2, struct two_int2): New structures.
3104 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3105 (add_structvecs, add_singlevecs): New functions.
3106 (main): Call add_some_intvecs twice.
3107 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3108 the compile and exit upon failure. Try compiling for the "native"
3109 architecture. Test inferior function calls with vector arguments
3110 and vector return value handling with "finish" and "return".
3112 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3114 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3115 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3117 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3119 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3121 PR breakpoints/16465
3122 * gdb.mi/mi-dprintf-pending.c: New file.
3123 * gdb.mi/mi-dprintf-pending.exp: New test.
3124 * gdb.mi/mi-dprintf-pendshr.c: New file.
3126 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3127 Mircea Gherzan <mircea.gherzan@intel.com>
3129 * gdb.arch/i386-mpx-map.c: New file.
3130 * gdb.arch/i386-mpx-map.exp: New File.
3132 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3134 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3135 * gdb.arch/i386-mpx.exp: Indentation fixed.
3137 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3139 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3140 function and improved indentation.
3141 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3142 gdb_test_multiple. Added additional tests to skip the test.
3144 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3146 * gdb.arch/i386-avx512.c: Change path in include file.
3147 * gdb.arch/i386-avx512.exp: Change include dir path
3149 * gdb.arch/i386-mpx.c: Change path in include file.
3150 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3153 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3155 * gdb.compile/compile-print.exp (compile print *vararray@3)
3156 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3158 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3160 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3161 (do not keep jit in memory): ... this.
3162 (expect 5): Change it to ...
3163 (expect no 5): ... this.
3165 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3168 * gdb.mi/mi-detach.exp: New file.
3170 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3173 * gdb.arch/amd64-tailcall-self.S: New file.
3174 * gdb.arch/amd64-tailcall-self.c: New file.
3175 * gdb.arch/amd64-tailcall-self.exp: New file.
3177 2015-05-28 Don Breazeal <donb@codesourcery.com>
3179 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3180 tests for remote targets by checking is_target_gdbserver.
3182 2015-05-27 Doug Evans <dje@google.com>
3184 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3185 * gdb.dwarf2/opaque-type-lookup.c: New file.
3186 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3188 2015-05-26 Doug Evans <dje@google.com>
3190 * gdb.cp/iostream.cc: New file.
3191 * gdb.cp/iostream.exp: New file.
3193 2015-05-26 Doug Evans <dje@google.com>
3195 * gdb.dwarf2/dw2-op-call.exp: Update.
3196 * gdb.dwarf2/dw4-sig-types.exp: Update.
3197 * gdb.dwarf2/implptr.exp: Update.
3198 * gdb.mi/mi-cmd-param-changed.exp: Update.
3200 2015-05-26 Doug Evans <dje@google.com>
3202 * gdb.python/py-lazy-string.c: New file.
3203 * gdb.python/py-lazy-string.exp: New file.
3204 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3205 (main): Update. Add estring3.
3206 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3207 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3209 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3210 Yao Qi <yao.qi@linaro.org>
3212 * gdb.reverse/aarch64.c: New.
3213 * gdb.reverse/aarch64.exp: New.
3215 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3217 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3218 (supports_reverse): Likewise.
3220 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3222 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3223 Use with_test_prefix.
3225 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3227 * gdb.base/completion.exp: Add test for completion of layout
3230 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3232 * lib/gdb.exp (skip_tui_tests): New proc.
3233 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3235 2015-05-19 Pedro Alves <palves@redhat.com>
3237 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3238 Save the whole env array instead of just HOME. Unset HISTSIZE in
3239 the environment while testing. Restore whole environment
3242 2015-05-16 Doug Evans <xdje42@gmail.com>
3244 * gdb.guile/scm-ports.c: New file.
3245 * gdb.guile/scm-ports.exp: Add memory port tests.
3247 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3249 * gdb.compile/compile-print.c: New file.
3250 * gdb.compile/compile-print.exp: New file.
3252 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3254 * gdb.compile/compile-ops.exp: Cast param to void.
3255 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3256 (compile code struct_object.selffield = &struct_object): Add xfail.
3258 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3260 * gdb.ada/arr_enum_with_gap: New testcase.
3262 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3264 * gdb.ada/byte_packed_arr: New testcase.
3266 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3268 * gdb.ada/pckd_neg: New testcase.
3270 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3273 * gdb.base/gdbinit-history.exp: New test.
3274 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3275 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3277 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3279 * gdb.python/py-xmethods.cc: Enhance test case.
3280 * gdb.python/py-xmethods.exp: New tests.
3281 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3283 (B_indexoper): Likewise.
3284 (global_dm_list) : Add new xmethod worker functions.
3286 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3288 * gdb.base/coredump-filter.exp: Correctly unset
3289 "coredump_var_addr" array.
3291 2015-05-08 Pedro Alves <palves@redhat.com>
3293 * gdb.server/non-existing-program.exp: Unset spawn_id.
3295 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3298 * gdb.python/py-xmethods.exp: Add tests.
3300 2015-05-08 Yao Qi <yao.qi@linaro.org>
3303 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3304 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3305 function set_coredump_filter, and remove remote_exec call.
3306 Remove argument ipid. Callers update.
3307 (top level): Don't get inferior's PID.
3309 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3311 * gdb.base/watch_thread_num.exp: Skip test on targets without
3314 2015-05-06 Pedro Alves <palves@redhat.com>
3317 * gdb.server/non-existing-program.exp: New file.
3319 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3321 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3323 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3325 * gdb.ada/out_of_line_in_inlined: New testcase.
3327 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3329 * gdb.ada/var_rec_arr: New testcase.
3331 2015-04-30 Yao Qi <yao.qi@linaro.org>
3333 * gdb.base/break-idempotent.exp: If
3334 skip_hw_watchpoint_multi_tests returns true, skip the tests
3335 on "rwatch" and "awatch".
3337 2015-04-30 Yao Qi <yao.qi@linaro.org>
3339 * gdb.base/relativedebug.exp: Invoke gdb command
3340 "info sharedlibrary", and if libc.so doesn't have debug info,
3343 2015-04-29 Doug Evans <dje@google.com>
3345 * gdb.python/py-xmethods.exp: Add ptype tests.
3346 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3347 get_result_type method.
3349 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3351 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3352 the target does not support hardware watchpoints.
3354 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3356 * gdb.base/break-always.exp: Abort testing if writing to memory
3359 2015-04-28 Doug Evans <dje@google.com>
3361 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3362 * gdb.python/py-pp-registration.exp: ... here. New file.
3363 * gdb.python/py-pp-registration.c: New file.
3364 * gdb.python/py-pp-registration.py: New file.
3366 2015-04-28 Doug Evans <dje@google.com>
3368 * gdb.python/py-bad-printers.c: New file.
3369 * gdb.python/py-bad-printers.py: New file.
3370 * gdb.python/py-bad-printers.exp: New file.
3372 2015-04-28 Sasha Smundak <asmundak@google.com>
3374 * gdb.python/py-type.exp: New test.
3376 2015-04-28 Andy Wingo <wingo@igalia.com>
3378 * gdb.python/py-parameter.exp:
3379 * gdb.guile/scm-parameter.exp: Escape the path that we are
3380 matching against, as it might contain characters that are special
3381 to regular expressions.
3383 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3385 * gdb.ada/rec_comp: New testcase.
3387 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3389 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3392 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3394 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3395 new tests for verilog output.
3397 2015-04-24 Yao Qi <yao.qi@linaro.org>
3399 * boards/remote-gdbserver-on-localhost.exp: New file.
3401 2015-04-23 Pedro Alves <palves@redhat.com>
3403 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3404 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3405 "end of file", remove $inferior_spawn_id from the indirect list.
3407 2015-04-23 Pedro Alves <palves@redhat.com>
3409 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3411 2015-04-23 Pedro Alves <palves@redhat.com>
3413 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3414 on $any_spawn_id instead of only on $gdb_spawn_id.
3416 2015-04-21 Pierre Muller <muller@sourceware.org>
3419 * lib/pascal.exp (gpc_compile): Add new option "class".
3420 (fpc_compile): Likewise.
3421 * gdb.pascal/case-insensitive-symbols.pas: New file.
3422 * gdb.pascal/case-insensitive-symbols.exp: New file.
3424 2015-04-20 Gary Benson <gbenson@redhat.com>
3426 * gdb.base/attach.exp: Fix three extended remote failures.
3428 2015-04-17 Gary Benson <gbenson@redhat.com>
3430 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3431 the main executable over the remote protocol.
3433 2015-04-16 Pedro Alves <palves@redhat.com>
3435 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3436 a new gdbserver if gdbserver_reconnect_p is set.
3438 2015-04-16 Pedro Alves <palves@redhat.com>
3440 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3441 is set, don't exit gdbserver.
3443 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3445 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3446 appropriate .insn, such that an older assembler can be used.
3447 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3448 the z/Architecture instruction set on 31-bit targets as well.
3450 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3452 * gdb.go/handcall.exp: Remove all logic related to the first
3453 breakpoint and rely on go_runto_main instead.
3454 * gdb.go/strings.exp: Likewise.
3455 * gdb.go/unsafe.exp: Likewise.
3456 * gdb.go/hello.exp: Likewise. Also rename the remaining
3457 breakpoint marker to "breakpoint 1".
3458 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3459 * gdb.go/strings.go: Likewise.
3460 * gdb.go/unsafe.go: Likewise.
3461 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3462 "set breakpoint 2 here" and rename the remaining breakpoint marker
3465 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3467 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3468 if itertools.imap is not present.
3469 * gdb.python/py-objfile.exp: Add parentheses.
3470 * gdb.python/py-type.exp: Same.
3471 * gdb.python/py-unwind-maint.py: Same.
3473 2015-04-15 Yao Qi <yao.qi@linaro.org>
3475 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3476 of ":$ptr_size" and set its form explicitly.
3478 2015-04-15 Pedro Alves <palves@redhat.com>
3479 Yao Qi <yao.qi@linaro.org>
3481 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3482 timeout by factor of 4.
3483 (test_regular_watch): Likewise.
3484 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3485 * gdb.reverse/sigall-reverse.exp: Likewise.
3486 * gdb.reverse/until-precsave.exp: Likewise.
3487 * lib/gdb.exp (with_timeout_factor): New proc.
3488 (gdb_expect): Move some code to ...
3489 (get_largest_timeout): ... here. New procedure.
3491 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3493 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3495 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3497 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3498 to write to the .text section.
3500 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3502 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3503 Handle the case of targets that do not provide PID information.
3505 2015-04-13 Yao Qi <yao.qi@linaro.org>
3507 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3508 and use expect instead of gdb_expect.
3510 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3512 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3513 "coredump_var_addr" to avoid naming conflict with other testcases.
3515 2015-04-10 Pedro Alves <palves@redhat.com>
3517 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3518 gdb_test_sequence and gdb_assert.
3520 2015-04-10 Pedro Alves <palves@redhat.com>
3522 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3523 test messages that don't include the breakpoint address.
3525 2015-04-10 Yao Qi <yao.qi@linaro.org>
3527 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3528 false for some offset and width combinations which aren't
3529 supported by linux kernel.
3531 2015-04-10 Pedro Alves <palves@redhat.com>
3533 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3534 procedure, factored out from ...
3535 (top level): ... here. Add "set displaced-stepping" testing axis.
3536 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3537 parameter "displaced". Use it.
3538 (top level): Use foreach and add "set displaced-stepping" testing
3541 2015-04-10 Pedro Alves <palves@redhat.com>
3543 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3545 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3546 both the address of the instruction that triggers the watchpoint
3547 and the address of the instruction immediately after, and use
3548 those addresses for the test. Fix comment.
3550 2015-04-10 Pedro Alves <palves@redhat.com>
3552 * gdb.base/sigstep.exp (breakpoint_to_handler)
3553 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3554 Test "backtrace" in handler.
3555 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3556 (top level): Add new "displaced" test axis to
3557 breakpoint_to_handler, breakpoint_to_handler_entry and
3558 breakpoint_over_handler.
3560 2015-04-10 Pedro Alves <palves@redhat.com>
3563 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3565 2015-04-10 Yao Qi <yao.qi@linaro.org>
3567 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3568 (test_add_rn_pc): New function.
3569 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3570 (top level): Invoke test_add_rn_pc.
3572 2015-04-10 Pedro Alves <palves@redhat.com>
3575 * gdb.base/step-over-no-symbols.exp: New file.
3577 2015-04-09 Andy Wingo <wingo@igalia.com>
3579 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3580 after the Python tests.
3582 2015-04-08 Keith Seitz <keiths@redhat.com>
3585 * gdb.python/py-completion.exp: New tests for completion.
3586 * gdb.python/py-completion.py (CompleteLimit1): New class.
3587 (CompleteLimit2): Likewise.
3588 (CompleteLimit3): Likewise.
3589 (CompleteLimit4): Likewise.
3590 (CompleteLimit5): Likewise.
3591 (CompleteLimit6): Likewise.
3592 (CompleteLimit7): Likewise.
3594 2015-04-08 Pedro Alves <palves@redhat.com>
3598 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3600 (main): Install it as SIGUSR1 handler.
3601 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3602 parameter. Always use "setup" as prefix. Toggle "set
3603 displaced-stepping" off/on depending on global. Don't switch to
3605 (top level): Add displaced stepping "off/on" test axis. Update
3606 "setup" calls. Wrap each subtest with with_test_prefix. Test
3607 continuing with a queued signal in each thread.
3609 2015-04-08 Pedro Alves <palves@redhat.com>
3611 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3612 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3613 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3614 Return early if running to main fails.
3615 * gdb.trace/while-stepping.exp: Likewise.
3617 2015-04-07 Pedro Alves <palves@redhat.com>
3619 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3620 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3621 interact with inferior program.
3623 2015-04-07 Pedro Alves <palves@redhat.com>
3625 * lib/gdb.exp (inferior_spawn_id): New global.
3626 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3627 spawn id after processing the user code.
3628 (default_gdb_start): Set inferior_spawn_id.
3629 (send_inferior): New procedure.
3630 * lib/gdbserver-support.exp (gdbserver_start): Set
3632 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3634 2015-04-07 Pedro Alves <palves@redhat.com>
3636 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3637 * lib/gdbserver-support.exp (gdbserver_start): Make
3638 $server_spawn_id global.
3639 (gdbserver_start): Don't wait for gdbserver's spawn id with
3641 (close_gdbserver): New procedure.
3642 (gdb_exit): Rename the default version and reimplement.
3644 2015-04-07 Pedro Alves <palves@redhat.com>
3646 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3647 append the substituted item, not the original item.
3649 2015-04-07 Pedro Alves <palves@redhat.com>
3651 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3654 2015-04-07 Pedro Alves <palves@redhat.com>
3656 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3657 output appearing once only.
3659 2015-04-07 Pedro Alves <palves@redhat.com>
3661 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3662 that doesn't expect anything. Return early if running to main
3665 2015-04-07 Yao Qi <yao.qi@linaro.org>
3667 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3668 (child_function): Call alarm.
3669 (main): Move call to alarm into the loop.
3670 * gdb.threads/non-stop-fair-events.exp: Build program with
3673 2015-04-06 Doug Evans <xdje42@gmail.com>
3675 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3676 Fix dest parameter to board_info.
3677 (fpc_compile): Ditto.
3678 (gdb_compile_pascal): Rename dest arg to destfile.
3680 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3682 * gdb.ada/funcall_ref.exp: New file.
3683 * gdb.ada/funcall_ref/foo.adb: New file.
3685 2015-04-02 Yao Qi <yao.qi@linaro.org>
3687 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3690 2015-04-02 Gary Benson <gbenson@redhat.com>
3692 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3694 2015-04-01 Sasha Smundak <asmundak@google.com>
3696 * gdb.python/py-unwind-maint.c: New file.
3697 * gdb.python/py-unwind-maint.exp: New test.
3698 * gdb.python/py-unwind-maint.py: New file.
3699 * gdb.python/py-unwind.c: New file.
3700 * gdb.python/py-unwind.exp: New test.
3701 * gdb.python/py-unwind.py: New test.
3703 2015-04-01 Pedro Alves <palves@redhat.com>
3705 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3706 to fail instead of non-existent $test.
3708 2015-04-01 Pedro Alves <palves@redhat.com>
3710 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3711 GDBFLAGS if not empty.
3713 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3715 * gdb.ada/complete.exp: Remove "multi_line".
3716 * gdb.ada/info_exc.exp: Remove "multi_line".
3717 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3718 * gdb.ada/ptype_field.exp: Remove "multi_line".
3719 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3720 * gdb.ada/tagged.exp: Remove "multi_line".
3721 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3723 * gdb.btrace/delta.exp: Likewise.
3724 * gdb.btrace/exception.exp: Likewise.
3725 * gdb.btrace/function_call_history.exp: Likewise.
3726 * gdb.btrace/instruction_history.exp: Likewise.
3727 * gdb.btrace/nohist.exp: Likewise.
3728 * gdb.btrace/record_goto.exp: Likewise.
3729 * gdb.btrace/segv.exp: Likewise.
3730 * gdb.btrace/stepi.exp: Likewise.
3731 * gdb.btrace/tailcall.exp: Likewise.
3732 * gdb.btrace/unknown_functions.exp: Likewise.
3733 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3734 * lib/gdb.exp: Add the "multi_line" helper.
3736 2015-04-01 Pedro Alves <palves@redhat.com>
3738 * gdb.threads/tid-reuse.c: New file.
3739 * gdb.threads/tid-reuse.exp: New file.
3741 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3744 * gdb.base/coredump-filter.c: New file.
3745 * gdb.base/coredump-filter.exp: Likewise.
3747 2015-03-27 Petr Machata <pmachata@redhat.com>
3749 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3750 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3751 (Dwarf::assemble): Initialize them.
3752 (Dwarf::lines): New function.
3754 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3756 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3757 SYMBOL_PREFIX for x86_64-*-cygwin.
3759 2015-03-26 Andy Wingo <wingo@igalia.com>
3762 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3763 const_value but not a location.
3764 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3765 location defined in non-main CUs are visible.
3767 2015-03-26 Yao Qi <yao.qi@linaro.org>
3770 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3771 Add a line number entry for the same line.
3772 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3773 Add a line number entry for the same line.
3775 2015-03-26 Yao Qi <yao.qi@linaro.org>
3777 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3779 (func): Likewise. Add .Lfunc_1 label.
3781 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3786 2015-03-26 Yao Qi <yao.qi@linaro.org>
3788 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3789 Call gdb_compile instead to compile each .s files without debug
3792 2015-03-26 Yao Qi <yao.qi@linaro.org>
3794 * gdb.base/savedregs.exp (process_saved_regs): Make
3795 "Saved registers:" optional in the pattern.
3797 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3799 * gdb.btrace/next.exp: Merged into step.exp.
3800 * gdb.btrace/finish.exp: Merged into step.exp.
3801 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3802 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3803 "record goto" and checking the exact replay position.
3804 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3805 check for "Recording format" in "info record" output.
3806 * gdb.btrace/record_goto.exp: Choose test file based on target.
3807 * gdb.btrace/x86-record_goto.S: Renamed into ...
3808 * gdb.btrace/x86_64-record_goto.S: ... this.
3809 * gdb.btrace/i686-record_goto.S: New.
3810 * gdb.btrace/x86-tailcall.S: Renamed into ...
3811 * gdb.btrace/x86_64-tailcall.S: ... this.
3812 * gdb.btrace/i686-tailcall.S: New.
3813 * gdb.btrace/x86-tailcall.c: Renamed into ...
3814 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3815 separate statements. Update test.
3816 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3817 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3818 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3819 * gdb.btrace/tailcall.exp: Choose test file based on target.
3820 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3822 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3824 * gdb.btrace/exception.exp: Increase BTS buffer size.
3826 2015-03-24 Pedro Alves <palves@redhat.com>
3828 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3830 2015-03-24 Pedro Alves <palves@redhat.com>
3832 * gdb.threads/schedlock.exp (test_step): No longer expect that
3833 "set scheduler-locking step" with "next" over a function call runs
3836 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3838 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3840 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3842 PR breakpoints/16466
3843 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3844 * gdb.mi/mi-pending.c (thread_func): New function.
3845 (int main): Add threading support required.
3846 * gdb.mi/mi-pending.exp: Add tests for this issue.
3847 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3848 (pendfunc2): Remove stdio dependency.
3849 * gdb.mi/mi-pendshr2.c: New file.
3851 2015-03-23 Keith Seitz <keiths@redhat.com>
3853 * gdb.linespec/keywords.c: New file.
3854 * gdb.linespec/keywords.exp: New file.
3856 2015-03-23 Keith Seitz <keiths@redhat.com>
3859 * gdb.dwarf2/staticvirtual.exp: New test.
3861 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3863 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3864 * README: Remove HP-UX and gdb.hp.
3866 * configure: Regenerate.
3867 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3868 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3869 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3870 gdb.hp/gdb.defects/Makefile.
3871 * gdb.hp/Makefile.in: File deleted.
3872 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3873 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3874 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3875 * gdb.hp/gdb.aCC/run.c: File deleted.
3876 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3877 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3878 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3879 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3880 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3881 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3882 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3883 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3884 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3885 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3886 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3887 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3888 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3889 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3890 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3891 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3892 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3893 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3894 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3895 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3896 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3897 * gdb.hp/gdb.compat/average.c: File deleted.
3898 * gdb.hp/gdb.compat/sum.c: File deleted.
3899 * gdb.hp/gdb.compat/xdb.c: File deleted.
3900 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3901 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3902 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3903 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3904 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3905 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3906 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3907 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3908 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3909 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3910 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3911 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3912 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3913 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3914 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3915 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3916 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3917 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3918 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3919 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3920 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3921 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3922 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3923 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3924 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3925 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3926 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3927 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3928 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3929 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3930 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3931 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3932 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3933 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3934 * gdb.hp/tools/odump: File deleted.
3936 2015-03-19 Pedro Alves <palves@redhat.com>
3938 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3939 (saw_thread_3): New globals.
3940 (top level): Increment them when an event for the corresponding
3942 (no thread starvation): New test.
3944 2015-03-19 Pedro Alves <palves@redhat.com>
3946 * gdb.threads/continue-pending-status.c: New file.
3947 * gdb.threads/continue-pending-status.exp: New file.
3949 2015-03-18 Pedro Alves <palves@redhat.com>
3951 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3952 Use gdb_is_target_remote instead of is_remote. Use
3953 gdb_test_multiple instead of gdb_expect. Exit early if
3954 gdb_test_multiple hits its internal matches. Tighten stepi tests
3955 expected output. Fail on exit with any signal, instead of just
3958 2015-03-18 Yao Qi <yao.qi@linaro.org>
3961 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3963 * gdb.base/catch-syscall.exp: Don't skip it on
3964 aarch64*-*-linux* target. Remove elements in all_syscalls.
3965 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3967 (setup_all_syscalls): New proc.
3969 2015-03-16 Yao Qi <yao.qi@linaro.org>
3971 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3972 (top level): Skip tests if valid_addr_p returns false for
3975 2015-03-11 Andy Wingo <wingo@igalia.com>
3977 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3979 2015-03-11 Yao Qi <yao.qi@linaro.org>
3981 * gdb.base/catch-syscall.exp: Fix typo in comments.
3983 2015-03-11 Yao Qi <yao.qi@linaro.org>
3985 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3987 2015-03-09 Pedro Alves <palves@redhat.com>
3989 * dg-extract-results.py: Delete.
3991 2015-03-09 Pedro Alves <palves@redhat.com>
3993 Merge dg-extract-results.sh from GCC upstream (r218843).
3995 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3996 * dg-extract-results.sh: Use --text with grep to avoid issues with
3997 binary files. Fall back to cat -v, if that doesn't work.
3999 2015-03-05 Pedro Alves <palves@redhat.com>
4001 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4003 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4005 * lib/mi-support.exp (mi_expect_interrupt): Accept
4006 alternative event for when in all-stop mode.
4008 2015-03-04 Pedro Alves <palves@redhat.com>
4010 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4012 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4014 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4016 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4018 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4019 regexps for GDB's current line display, accept a hex address
4020 preceding the line number.
4022 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4024 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4025 the 'arch1' variable for "s390*-linux*" targets.
4027 2015-03-04 Pedro Alves <palves@redhat.com>
4029 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4030 (main): Pass missing retval argument to pthread_join call.
4032 2015-03-02 Pedro Alves <palves@redhat.com>
4034 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4035 (top level): Call do_test with non-stop as well.
4037 2015-03-02 Pedro Alves <palves@redhat.com>
4039 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4042 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4044 * gdb.arch/s390-vregs.exp: New test.
4045 * gdb.arch/s390-vregs.S: New file.
4047 2015-02-27 Pedro Alves <palves@redhat.com>
4049 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4050 call to catch_command_errors.
4051 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4052 catch_command_errors.
4054 2015-02-27 Pedro Alves <palves@redhat.com>
4056 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4057 "true" for boolean result.
4058 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4061 2015-02-27 Pedro Alves <palves@redhat.com>
4063 * lib/unbuffer_output.c: New file.
4064 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4065 (main): Call gdb_unbuffer_output.
4067 2015-02-27 Yao Qi <yao.qi@linaro.org>
4069 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4072 2015-02-26 Doug Evans <dje@google.com>
4074 * gdb.cp/class2.cc (Dbase, D): New classes.
4075 (main): New local delta.
4076 * gdb.cp/class2.exp: Test printing delta.
4077 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4078 (dynbar): New global.
4079 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4081 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4083 * gdb.compile/compile-ifunc.c: New file.
4084 * gdb.compile/compile-ifunc.exp: New file.
4086 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4088 * gdb.base/structs.exp: Check for correct struct on finish.
4090 2015-02-26 Yao Qi <yao.qi@linaro.org>
4092 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4095 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4097 * gdb.arch/cordic.ko.bz2: New file.
4098 * gdb.arch/cordic.ko.debug.bz2: New file.
4099 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4101 2015-02-25 Yao Qi <yao.qi@linaro.org>
4103 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4104 aarch64*-*-* target.
4106 2015-02-23 Pedro Alves <palves@redhat.com>
4108 * lib/gdb.exp (delete_breakpoints): Rewrite using
4111 2015-02-23 Pedro Alves <palves@redhat.com>
4113 * gdb.base/info-os.c: Include stdlib.h.
4115 2015-02-22 Doug Evans <xdje42@gmail.com>
4118 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4119 is read after symbols have been re-read.
4120 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4121 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4123 2015-02-21 Doug Evans <dje@google.com>
4125 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4127 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4130 * gdb.arch/i386-biarch-core.core.bz2: New file.
4131 * gdb.arch/i386-biarch-core.exp: New file.
4133 2015-02-21 Pedro Alves <palves@redhat.com>
4135 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4138 2015-02-20 Pedro Alves <palves@redhat.com>
4140 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4143 2015-02-20 Pedro Alves <palves@redhat.com>
4145 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4147 2015-02-20 Pedro Alves <palves@redhat.com>
4149 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4150 clean_restart before gdb_target_supports_trace.
4152 2015-02-20 Pedro Alves <palves@redhat.com>
4155 * gdb.threads/clone-thread_db.c: New file.
4156 * gdb.threads/clone-thread_db.exp: New file.
4158 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4160 PR breakpoints/16812
4161 * gdb.base/catch-gdb-caused-signals.c: New file.
4162 * gdb.base/catch-gdb-caused-signals.exp: New file.
4164 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4166 * configure: Regenerated.
4167 * configure.ac: Use GDB_AC_TRANSFORM.
4168 * aclocal.m4: sinclude ../transform.m4.
4170 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4172 * lib/dtrace.exp: New file.
4173 * gdb.base/dtrace-probe.exp: Likewise.
4174 * gdb.base/dtrace-probe.d: Likewise.
4175 * gdb.base/dtrace-probe.c: Likewise.
4176 * lib/pdtrace.in: Likewise.
4177 * configure.ac: Output variables with the transformed names of
4178 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4179 * configure: Regenerated.
4181 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4183 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4184 expected message when trying to access $_probe_* convenience
4185 variables while not on a probe.
4187 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4189 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4191 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4193 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4194 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4196 2015-02-10 Doug Evans <xdje42@gmail.com>
4198 * lib/gdb.exp (gdb_load): Always return a result.
4200 2015-02-10 Pedro Alves <palves@redhat.com>
4202 * gdb.threads/signal-sigtrap.c: New file.
4203 * gdb.threads/signal-sigtrap.exp: New file.
4205 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4207 * gdb.trace/no-attach-trace.c: New file.
4208 * gdb.trace/no-attach-trace.exp: New file.
4210 2015-02-09 Mark Wielaard <mjw@redhat.com>
4212 * gdb.dwarf2/atomic.c: New file.
4213 * gdb.dwarf2/atomic-type.exp: Likewise.
4215 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4217 * gdb.btrace/buffer-size.exp: Update "info record" output.
4218 * gdb.btrace/delta.exp: Update "info record" output.
4219 * gdb.btrace/enable.exp: Update "info record" output.
4220 * gdb.btrace/finish.exp: Update "info record" output.
4221 * gdb.btrace/instruction_history.exp: Update "info record" output.
4222 * gdb.btrace/next.exp: Update "info record" output.
4223 * gdb.btrace/nexti.exp: Update "info record" output.
4224 * gdb.btrace/step.exp: Update "info record" output.
4225 * gdb.btrace/stepi.exp: Update "info record" output.
4226 * gdb.btrace/nohist.exp: Update "info record" output.
4228 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4230 * gdb.btrace/buffer-size: New.
4232 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4234 * gdb.btrace/delta.exp: Update "info record" output.
4235 * gdb.btrace/enable.exp: Update "info record" output.
4236 * gdb.btrace/finish.exp: Update "info record" output.
4237 * gdb.btrace/instruction_history.exp: Update "info record" output.
4238 * gdb.btrace/next.exp: Update "info record" output.
4239 * gdb.btrace/nexti.exp: Update "info record" output.
4240 * gdb.btrace/step.exp: Update "info record" output.
4241 * gdb.btrace/stepi.exp: Update "info record" output.
4242 * gdb.btrace/nohist.exp: Update "info record" output.
4244 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4247 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4249 2015-02-06 Pedro Alves <palves@redhat.com>
4251 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4253 (seconds_left, again): New globals.
4254 (main): Wait seconds_left in a 1-second sleep loop instead of
4255 sleeping 180 seconds. If 'again' is set, reset the seconds
4257 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4258 'again' in the inferior before detaching. Print the seconds left.
4259 (options): New global.
4260 (top level): Build program with -DTIMEOUT=$timeout.
4262 2015-02-06 Pedro Alves <palves@redhat.com>
4264 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4265 determine how many seconds to pass to 'alarm'.
4266 * gdb.base/gdb-sigterm.exp (top level): Build program with
4268 (do_test): Return success/failure indication. Add more verbose
4269 logging. Don't fail if 200 single steps are seen. Instead, fail
4270 when the test times out.
4271 (passes): New global.
4272 (top level): Break the testing loop if testing fails on any
4273 iteration. Use gdb_assert.
4275 2015-02-04 Don Breazeal <donb@codesourcery.com>
4277 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4278 and initialize them.
4279 (ipc_cleanup): New function.
4280 (main): Don't declare shmid, semid, and msqid. Add a call to
4281 atexit so that we call ipc_cleanup on exit.
4283 2015-02-04 Pedro Alves <palves@redhat.com>
4285 * boards/native-extended-gdbserver.exp: Remove any target variant
4286 specifications from the board name before clearing the isremote
4287 flag from board_info.
4289 2015-01-31 Doug Evans <xdje42@gmail.com>
4291 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4293 2015-01-31 Gary Benson <gbenson@redhat.com>
4295 * gdb.base/completion.exp: Disable completion limiting for
4296 existing tests. Add new tests to check completion limiting.
4297 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4299 2015-01-31 Doug Evans <xdje42@gmail.com>
4301 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4303 2015-01-31 Doug Evans <xdje42@gmail.com>
4305 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4306 entries. Duplicate file section script entries.
4307 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4308 inlined entries. Add test for safe-path rejection.
4309 * gdb.python/py-section-script.c: Add duplicate inlined section script
4310 entries. Duplicate file section script entries.
4311 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4312 inlined entries. Add test for safe-path rejection.
4314 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4316 * gdb.ada/disc_arr_bound: New testcase.
4318 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4320 * gdb.ada/mi_var_array: New testcase.
4322 2015-01-27 Doug Evans <dje@google.com>
4324 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4325 Add test for objfile.filename, objfile.username after objfile
4328 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4330 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4331 the second test to print the name attribute of value
4332 returned by the call to gdb.lookup_type, and adjust
4333 the expected output accordingly.
4335 2015-01-25 Mark Wielaard <mjw@redhat.com>
4337 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4338 * gdb.base/disp-step-fork.c: Include unistd.h.
4339 * gdb.base/siginfo-obj.c: Include stdio.h.
4340 * gdb.base/siginfo-thread.c: Likewise.
4341 * gdb.mi/non-stop.c: Include unistd.h.
4342 * gdb.mi/nsthrexec.c: Include stdio.h.
4343 * gdb.mi/pthreads.c: Include unistd.h.
4344 * gdb.modula2/unbounded1.c (main): Declare returns int.
4345 * gdb.reverse/consecutive-reverse.c: Likewise.
4346 * gdb.threads/create-fail.c: Include unistd.h.
4347 * gdb.threads/killed.c: Likewise.
4348 * gdb.threads/linux-dp.c: Likewise.
4349 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4350 * gdb.threads/non-ldr-exc-2.c: Likewise.
4351 * gdb.threads/non-ldr-exc-3.c: Likewise.
4352 * gdb.threads/non-ldr-exc-4.c: Likewise.
4353 * gdb.threads/pthreads.c: Include unistd.h.
4354 (main): Declare returns int.
4355 * gdb.threads/tls-main.c (foo): New declaration.
4356 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4358 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4360 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4361 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4363 2015-01-15 Mark Wielaard <mjw@redhat.com>
4365 * gdb.base/noreturn-return.c: New file.
4366 * gdb.base/noreturn-return.exp: New file.
4367 * gdb.base/noreturn-finish.c: New file.
4368 * gdb.base/noreturn-finish.exp: New file.
4370 2015-01-23 Pedro Alves <palves@redhat.com>
4372 * gdb.threads/continue-pending-after-query.c: New file.
4373 * gdb.threads/continue-pending-after-query.exp: New file.
4375 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4376 Simon Marchi <simon.marchi@ericsson.com>
4378 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4379 * gdb.base/valgrind-db-attach.exp: Same.
4380 * gdb.base/valgrind-infcall.exp: Same.
4381 * lib/mi-support.exp (default_mi_gdb_start): Same.
4382 * lib/prompt.exp (default_prompt_gdb_start): Same.
4383 * lib/gdb.exp (default_gdb_spawn): Same.
4384 (gdb_interact): New.
4387 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4389 * gdb.compile/compile.exp (pointer to jit function): New test.
4391 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4393 * lib/gdb.exp (supports_process_record): Return true for
4395 (supports_reverse): Likewise.
4397 2015-01-15 Don Breazeal <donb@codesourcery.com>
4399 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4400 instead of checking whether the target board is remote and
4401 use spawn_wait_for_attach instead of exec/sleep.
4402 * gdb.base/attach-twice.exp: Likewise.
4404 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4406 * gdb.ada/var_arr_attrs: New testcase.
4408 2015-01-14 Pedro Alves <palves@redhat.com>
4409 Joel Brobecker <brobecker@adacore.com>
4412 * gdb.base/bp-cmds-execution-x-script.c: New file.
4413 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4414 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4416 2015-01-14 Pedro Alves <palves@redhat.com>
4419 * gdb.base/batch-preserve-term-settings.c: New file.
4420 * gdb.base/batch-preserve-term-settings.exp: New file.
4422 2015-01-13 Doug Evans <dje@google.com>
4424 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4427 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4429 * Makefile.in (clean mostlyclean): Do not delete *.py.
4431 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4433 * gdb.python/py-lookup-type.exp: New file.
4435 2015-01-12 Pedro Alves <palves@redhat.com>
4437 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4438 restore GDBFLAGS before returning.
4440 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4442 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4443 is_amd64_regs_target and is_x86_like_target.
4445 2015-01-11 Doug Evans <xdje42@gmail.com>
4447 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4448 is given without an explicit form.
4449 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4451 * gdb.dwarf/corrupt.exp: Ditto.
4452 * gdb.dwarf2/enum-type.exp: Ditto.
4453 * gdb.trace/entry-values.exp: Ditto.
4454 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4456 2015-01-11 Doug Evans <xdje42@gmail.com>
4459 * gdb.base/maint.exp: Remove references to "maint demangle".
4460 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4461 Add tests for explicitly specifying language to demangle.
4462 * gdb.dlang/demangle.exp: Ditto.
4464 2015-01-09 Pedro Alves <palves@redhat.com>
4466 * gdb.threads/non-stop-fair-events.c: New file.
4467 * gdb.threads/non-stop-fair-events.exp: New file.
4469 2015-01-09 Pedro Alves <palves@redhat.com>
4471 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4472 the global scope. Set a breakpoint after all threads are started
4473 rather than stepping over two source lines. Expect the prompt.
4474 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4477 (main): Use threads_started_barrier to wait for all threads to
4478 start. Main thread no longer calls thread_function. Exit after
4480 (loop): New function.
4481 (thread_function): Wait on threads_started_barrier barrier. Call
4482 'loop' at each iteration.
4483 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4484 threads have started, instead of hardcoding number of "next"
4485 steps. Use an access watchpoint instead of a write watchpoint.
4487 2015-01-09 Pedro Alves <palves@redhat.com>
4489 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4490 (thread_func): Wait on barrier.
4491 (main): Wait for all threads to start before stopping GDB.
4492 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4494 (thread1_func, thread2_func): Wait on barrier.
4495 (main): Wait for all threads to start before stopping GDB.
4496 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4498 (thread1_func, thread2_func): Wait on barrier.
4499 (main): Wait for all threads to start before stopping GDB.
4501 2015-01-09 Pedro Alves <palves@redhat.com>
4503 * gdb.threads/attach-many-short-lived-threads.c: New file.
4504 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4506 2014-01-09 Pedro Alves <palves@redhat.com>
4508 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4509 instead of to thread 2.
4510 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4511 Add barrier around each pthread_create call instead of around all
4513 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4514 Set a break on thread_function and have the child threads hit it
4517 2015-01-09 Pedro Alves <palves@redhat.com>
4519 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4520 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4522 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4523 checking whether the target board is remote.
4524 * gdb.multi/multi-attach.exp: Likewise.
4525 * gdb.python/py-sync-interp.exp: Likewise.
4526 * gdb.server/ext-attach.exp: Likewise.
4527 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4528 tests that need to attach, instead of checking whether the target
4529 board is remote at the top of the file.
4531 2015-01-08 Yao Qi <yao@codesourcery.com>
4533 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4535 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4537 Fix testcase compilation.
4538 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4540 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4542 * gdb.python/py-type.exp: Add a couple test about empty
4543 array creation, and negative-length array creation.
4545 2015-01-02 Doug Evans <xdje42@gmail.com>
4547 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4549 2015-01-02 Doug Evans <dje@google.com>
4551 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4553 2014-12-29 Yao Qi <yao@codesourcery.com>
4555 * gdb.trace/entry-values.exp: Update comments. Rename variable
4556 bar_call_foo to returned_from_foo.
4558 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4561 * gdb.linespec/break-asm-file.c: New file.
4562 * gdb.linespec/break-asm-file.exp: New file.
4563 * gdb.linespec/break-asm-file0.s: New file.
4564 * gdb.linespec/break-asm-file1.s: New file.
4566 2014-12-18 Nigel Stephens <nigel@mips.com>
4567 Maciej W. Rozycki <macro@codesourcery.com>
4569 * gdb.base/float.exp: Handle the new output from "info float" on
4572 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4574 Fix MinGW compilation.
4575 * gdb.compile/compile-ops.exp: Update untested message if
4576 !skip_compile_feature_tests.
4577 * gdb.compile/compile-setjmp.exp: Likewise.
4578 * gdb.compile/compile-tls.exp: Likewise.
4579 * gdb.compile/compile.exp: Likewise.
4580 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4581 supported on this host".
4583 2014-12-16 Doug Evans <xdje42@gmail.com>
4585 * boards/stabs.exp: New file.
4587 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4589 * gdb.base/completion.exp: Adjust to format changes of "maint
4590 print user-registers".
4592 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4595 * gdb.arch/aarch64-fp.c: New file.
4596 * gdb.arch/aarch64-fp.exp: New file.
4598 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4600 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4601 r210637, r210913, r211666, r215400, r215817).
4603 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4604 * dg-extract-results.py: New file.
4605 * dg-extract-results.sh: Use it if the environment seems
4608 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4610 * dg-extract-results.py (parse_run): Handle warnings that
4611 are printed before a test harness is run.
4613 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4615 * dg-extract-results.py (Named): Remove __cmp__ method.
4616 (output_variation): Use a key to sort variation.harnesses.
4618 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4620 * dg-extract-results.py: For Python 3, force sys.stdout to
4621 handle surrogate escape sequences.
4622 (safe_open): New function.
4623 (output_segment, main): Use it.
4625 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4627 * dg-extract-results.py (Prog.result_re): Include options
4630 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4632 * dg-extract-results.py (output_variation): Always sort if
4635 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4637 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4638 as long as we get pagination notifications.
4640 2014-12-15 Jason Merrill <jason@redhat.com>
4642 * Makefile.in (check-gdb.%): Restore.
4643 * README: Mention it.
4645 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4647 * gdb.ada/str_uninit: New testcase.
4649 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4652 * gdb.base/vla-stub-define.c: New file.
4653 * gdb.base/vla-stub.c: New file.
4654 * gdb.base/vla-stub.exp: New file.
4656 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4657 Jan Kratochvil <jan.kratochvil@redhat.com>
4658 Tom Tromey <tromey@redhat.com>
4660 * configure.ac: Add gdb.compile/.
4661 * configure: Regenerate.
4662 * gdb.compile/Makefile.in: New file.
4663 * gdb.compile/compile-ops.exp: New file.
4664 * gdb.compile/compile-ops.c: New file.
4665 * gdb.compile/compile-tls.c: New file.
4666 * gdb.compile/compile-tls.exp: New file.
4667 * gdb.compile/compile-constvar.S: New file.
4668 * gdb.compile/compile-constvar.c: New file.
4669 * gdb.compile/compile-mod.c: New file.
4670 * gdb.compile/compile-nodebug.c: New file.
4671 * gdb.compile/compile-setjmp-mod.c: New file.
4672 * gdb.compile/compile-setjmp.c: New file.
4673 * gdb.compile/compile-setjmp.exp: New file.
4674 * gdb.compile/compile-shlib.c: New file.
4675 * gdb.compile/compile.c: New file.
4676 * gdb.compile/compile.exp: New file.
4677 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4679 2014-12-12 Tom Tromey <tromey@redhat.com>
4681 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4682 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4684 2014-12-12 Doug Evans <dje@google.com>
4686 * lib/gdb-python.exp (get_python_valueof): New function.
4687 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4689 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4691 * gdb.base/completion.exp: Add test for completion of "info
4694 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4696 * gdb.base/func-ptrs.c: New file.
4697 * gdb.base/func-ptrs.exp: New file.
4699 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4701 PR breakpoints/17012
4702 * gdb.base/dprintf-detach.c: New file.
4703 * gdb.base/dprintf-detach.exp: New file.
4705 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4707 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4708 * lib/gdb.exp (target_is_gdbserver): New procedure.
4710 2014-12-08 Doug Evans <dje@google.com>
4712 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4714 2014-12-05 Yao Qi <yao@codesourcery.com>
4716 * gdb.guile/scm-error.exp: Remove the third argument to
4717 gdb_remote_download.
4718 * gdb.guile/scm-frame-args.exp: Likewise.
4719 * gdb.guile/scm-section-script.exp: Likewise.
4721 2014-12-05 Yao Qi <yao@codesourcery.com>
4723 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4725 2014-12-04 Doug Evans <dje@google.com>
4727 * gdb.python/py-objfile.exp: Add tests for
4728 objfile.add_separate_debug_file.
4730 2014-12-04 Doug Evans <dje@google.com>
4732 * lib/gdb.exp (get_build_id): New function.
4733 (build_id_debug_filename_get): Rewrite to use it.
4734 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4736 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4738 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4739 `method(long)', not just 0x0.
4740 * gdb.cp/nsalias.exp: Align code labels to 4.
4741 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4742 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4743 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4744 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4745 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4746 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4748 2014-12-02 Doug Evans <dje@google.com>
4751 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4752 * gdb.cp/anon-ns2.cc: ... here. New file.
4753 * gdb.cp/anon-ns.exp: Update.
4755 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4757 * gdb.python/py-events.py (inferior_call_handler): New.
4758 (register_changed_handler, memory_changed_handler): New.
4759 (test_events.invoke): Register new handlers.
4760 * gdb.python/py-events.exp: Add tests for inferior call,
4761 memory_changed and register_changed events.
4763 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4765 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4766 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4767 if the linker doesn't understand this.
4769 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4771 * gdb.python/python.exp: Change expected reply to help().
4773 2014-12-01 Yao Qi <yao@codesourcery.com>
4775 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4776 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4777 * configure: Re-generated.
4779 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4781 * gdb.cp/chained-calls.cc: New file.
4782 * gdb.cp/chained-calls.exp: New file.
4783 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4785 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4787 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4788 * gdb.dwarf2/symtab-producer.exp: Same.
4789 * gdb.gdb/python-interrupts.exp: Same.
4790 * gdb.gdb/python-selftest.exp: Same.
4791 * gdb.python/py-linetable.exp: Same.
4792 * gdb.python/py-type.exp: Same.
4793 * gdb.python/py-value-cc.exp: Same.
4794 * gdb.python/py-value.exp: Same.
4796 2014-11-28 Yao Qi <yao@codesourcery.com>
4798 * gdb.base/break-probes.exp: Match library name prefixed with
4801 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4803 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4804 test expected output. Add parentheses for the call to print.
4805 Remove L suffix from integers.
4807 2014-11-26 Doug Evans <dje@google.com>
4809 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4811 2014-11-22 Yao Qi <yao@codesourcery.com>
4813 * gdb.trace/entry-values.c: Remove asms.
4814 (foo): Add foo_label.
4815 (bar): Add bar_label.
4816 * gdb.trace/entry-values.exp: Remove code computing foo's
4817 length and bar's length.
4818 (Dwarf::assemble): Invoke function_range for bar and use
4819 MACRO_AT_func for foo.
4821 2014-11-22 Yao Qi <yao@codesourcery.com>
4823 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4824 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4825 Use .Lgcc43_procstart instead of gcc43.
4827 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4829 * gdb.ada/n_arr_bound: New testcase.
4831 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4833 PR breakpoints/10737
4834 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4835 test_catch_syscall_multi_arch.
4836 (test_catch_syscall_multi_arch): New function.
4838 2014-11-20 Doug Evans <xdje42@gmail.com>
4840 * gdb.base/maint.exp: Update expected output.
4842 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4844 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4845 4-byte instruction on S390.
4847 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4849 * gdb.ada/arr_arr: New testcase.
4851 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4853 * gdb.ada/pkd_arr_elem: New Testcase.
4855 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4857 * gdb.reverse/break-precsave: Expect completion message for
4859 * gdb.reverse/consecutive-precsave.exp: Likewise.
4860 * gdb.reverse/finish-precsave.exp: Likewise.
4861 * gdb.reverse/i386-precsave.exp: Likewise.
4862 * gdb.reverse/machinestate-precsave.exp: Likewise.
4863 * gdb.reverse/sigall-precsave.exp: Likewise.
4864 * gdb.reverse/solib-precsave.exp: Likewise.
4865 * gdb.reverse/step-precsave.exp: Likewise.
4866 * gdb.reverse/until-precsave.exp: Likewise.
4867 * gdb.reverse/watch-precsave.exp: Likewise.
4869 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4871 * gdb.base/bp-permanent.c: Include unistd.h.
4872 * gdb.python/py-framefilter-mi.c (main): Add return type.
4873 * gdb.python/py-framefilter.c (main): Likewise.
4874 * gdb.trace/actions-changed.c (main): Likewise.
4876 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4878 * gdb.mi/until.c: Add eye-catchers.
4879 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4882 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4884 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4885 function header variants in break1.c.
4886 * gdb.base/ena-dis-br.exp: Likewise.
4887 * gdb.base/hbreak2.exp: Likewise.
4888 * gdb.reverse/until-precsave.exp: Drop references to removed
4889 non-prototype function header variants in ur1.c.
4890 * gdb.reverse/until-reverse.exp: Likewise.
4892 2014-11-17 Petr Machata <pmachata@redhat.com>
4894 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4895 ${_cu_offset_size} bytes abbrev offset.
4897 2014-11-15 Doug Evans <xdje42@gmail.com>
4900 * gdb.base/line-symtabs.exp: New file.
4901 * gdb.base/line-symtabs.c: New file.
4902 * gdb.base/line-symtabs.h: New file.
4904 2014-11-14 Yao Qi <yao@codesourcery.com>
4906 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4907 (func): Add label func_label.
4908 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4909 Replace low_pc and high_pc with MACRO_AT_range.
4910 Replace name, low_pc and high_pc with MACRO_AT_func.
4912 2014-11-14 Yao Qi <yao@codesourcery.com>
4914 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4915 Replace name, low_pc and high_pc with MACRO_AT_func.
4917 2014-11-14 Yao Qi <yao@codesourcery.com>
4919 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4920 produce debug information.
4921 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4923 2014-11-14 Yao Qi <yao@codesourcery.com>
4925 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4926 object and get function length.
4927 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4929 (top-level): Replace gdb_compile and clean_restart with
4930 prepare_for_testing.
4931 * gdb.dwarf2/main.c (main): Add label main_label.
4933 2014-11-14 Yao Qi <yao@codesourcery.com>
4935 * lib/dwarf.exp (function_range): New procedure.
4936 (Dwarf::_handle_macro_at_func): New procedure.
4937 (Dwarf::_handle_macro_at_range): New procedure.
4938 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4940 2014-11-14 Yao Qi <yao@codesourcery.com>
4942 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4943 (_handle_attribute): New procedure.
4945 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4947 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4948 * gdb.base/call-sc.c (zed): Likewise.
4949 * gdb.base/checkpoint.c (main): Likewise.
4950 * gdb.base/dump.c (main): Likewise.
4951 * gdb.base/gcore.c (main): Likewise.
4952 * gdb.base/huge.c (main): Likewise.
4953 * gdb.base/multi-forks.c (main): Likewise.
4954 * gdb.base/pr10179-a.c (main): Likewise.
4955 * gdb.base/savedregs.c (main): Likewise.
4956 * gdb.base/sigaltstack.c (main): Likewise.
4957 * gdb.base/siginfo.c (main): Likewise.
4958 * gdb.base/structs.c (zed): Likewise.
4959 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4960 * gdb.mi/mi-syn-frame.c (main): Likewise.
4961 * gdb.mi/until.c (foo, main): Likewise.
4962 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4963 * gdb.base/solib-weak.c (foo): Declare.
4964 * gdb.base/attach-twice.c: Include stdio.h.
4965 * gdb.base/weaklib1.c: Likewise.
4966 * gdb.base/weaklib2.c: Likewise.
4967 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4968 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4970 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4971 * gdb.mi/mi-exit-code.c: Likewise.
4972 * gdb.base/break-interp-lib.c: Include string.h.
4973 * gdb.base/coremaker.c: Likewise.
4974 * gdb.base/testenv.c: Likewise.
4975 * gdb.python/py-finish-breakpoint.c: Likewise.
4976 * gdb.base/inferior-died.c: Include sys/wait.h.
4977 * gdb.base/fileio.c: Include time.h.
4978 * gdb.base/async-shell.c: Include unistd.h.
4979 * gdb.base/dprintf-non-stop.c: Likewise.
4980 * gdb.base/info-os.c: Likewise.
4981 * gdb.mi/mi-console.c: Likewise.
4982 * gdb.mi/watch-nonstop.c: Likewise.
4983 * gdb.python/py-events.c: Likewise.
4984 * gdb.base/async.c (baz): Move up before its invocation.
4985 * gdb.base/code_elim2.c (my_global_func): Likewise.
4986 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4987 * gdb.base/advance.c (func2): Likewise.
4989 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4991 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4993 * gdb.base/annota3.c: Likewise.
4994 * gdb.base/async.c: Likewise.
4995 * gdb.base/average.c: Likewise.
4996 * gdb.base/call-ar-st.c: Likewise.
4997 * gdb.base/call-rt-st.c: Likewise.
4998 * gdb.base/call-sc.c: Likewise.
4999 * gdb.base/call-strs.c: Likewise.
5000 * gdb.base/ending-run.c: Likewise.
5001 * gdb.base/execd-prog.c: Likewise.
5002 * gdb.base/exprs.c: Likewise.
5003 * gdb.base/foll-exec.c: Likewise.
5004 * gdb.base/foll-fork.c: Likewise.
5005 * gdb.base/foll-vfork.c: Likewise.
5006 * gdb.base/funcargs.c: Likewise.
5007 * gdb.base/gcore.c: Likewise.
5008 * gdb.base/jump.c: Likewise.
5009 * gdb.base/langs0.c: Likewise.
5010 * gdb.base/langs1.c: Likewise.
5011 * gdb.base/langs2.c: Likewise.
5012 * gdb.base/mips_pro.c: Likewise.
5013 * gdb.base/nodebug.c: Likewise.
5014 * gdb.base/opaque0.c: Likewise.
5015 * gdb.base/opaque1.c: Likewise.
5016 * gdb.base/recurse.c: Likewise.
5017 * gdb.base/run.c: Likewise.
5018 * gdb.base/scope0.c: Likewise.
5019 * gdb.base/scope1.c: Likewise.
5020 * gdb.base/setshow.c: Likewise.
5021 * gdb.base/setvar.c: Likewise.
5022 * gdb.base/shmain.c: Likewise.
5023 * gdb.base/shr1.c: Likewise.
5024 * gdb.base/shr2.c: Likewise.
5025 * gdb.base/sigall.c: Likewise.
5026 * gdb.base/signals.c: Likewise.
5027 * gdb.base/so-indr-cl.c: Likewise.
5028 * gdb.base/solib2.c: Likewise.
5029 * gdb.base/structs.c: Likewise.
5030 * gdb.base/sum.c: Likewise.
5031 * gdb.base/vforked-prog.c: Likewise.
5032 * gdb.base/watchpoint.c: Likewise.
5033 * gdb.reverse/shr2.c: Likewise.
5034 * gdb.reverse/until-reverse.c: Likewise.
5035 * gdb.reverse/ur1.c: Likewise.
5036 * gdb.reverse/watch-reverse.c: Likewise.
5038 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5040 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5042 * gdb.base/sepdebug.exp: Drop references to removed code.
5044 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5046 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5047 variant. Preserve original line numbering.
5048 * gdb.base/list1.c: Likewise.
5050 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5052 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5054 * gdb.base/break1.c: Likewise.
5055 * gdb.base/break.exp: Drop references to removed code.
5057 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5059 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5062 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5064 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5066 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5068 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5069 logic into perform_all_tests() and invoke it with and without
5070 function header prototypes.
5071 (do_function_calls): Remove conditional XFAIL for PR 5318.
5072 (rerun_and_prepare): Remove duplicate code.
5073 (perform_all_tests): New. Main logic moved here.
5075 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5077 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5078 code guarded by #ifdef NO_PROTOTYPES.
5079 (t_double_many_args): Likewise.
5080 (DEF_FUNC_MANY_ARGS_1): Likewise.
5081 (DEF_FUNC_VALUES_1): Likewise.
5082 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5083 guarded by #ifdef PROTOTYPES.
5085 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5087 * gdb.mi/mi-console.c: Add eye-catcher.
5088 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5089 instead of literal line number.
5091 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5093 * gdb.base/shr2.c: Add eye-catcher.
5094 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5097 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5099 * gdb.base/jump.c: Add eye-catchers.
5100 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5103 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5105 * gdb.base/execd-prog.c: Add eye-catchers.
5106 * gdb.base/foll-exec.c: Likewise.
5107 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5110 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5112 * gdb.base/ending-run.c: Add eye-catchers.
5113 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5114 literal line numbers.
5116 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5118 * gdb.base/call-rt-st.c: Add eye-catchers.
5119 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5120 literal line numbers.
5122 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5124 * gdb.base/call-ar-st.c: Add eye-catchers.
5125 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5126 literal line numbers.
5128 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5130 * gdb.base/average.c: Add eye-catchers.
5131 * gdb.base/sum.c: Likewise.
5132 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5133 regexps dynamically.
5135 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5137 * gdb.base/solib1.c: Add eye-catchers.
5138 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5139 literal line numbers.
5141 2014-11-12 Pedro Alves <palves@redhat.com>
5143 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5146 2014-11-12 Pedro Alves <palves@redhat.com>
5148 * gdb.arch/i386-bp_permanent.c: New file.
5149 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5150 (srcfile): Set to i386-bp_permanent.c.
5151 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5152 that stepi does not execute the 'leave' instruction, instead of
5153 testing it does execute.
5154 * gdb.base/bp-permanent.c: New file.
5155 * gdb.base/bp-permanent.exp: New file.
5157 2014-11-10 Doug Evans <xdje42@gmail.com>
5160 * gdb.base/symtab-search-order.exp: New file.
5161 * gdb.base/symtab-search-order.c: New file.
5162 * gdb.base/symtab-search-order-1.c: New file.
5163 * gdb.base/symtab-search-order-shlib-1.c: New file.
5165 2014-11-07 Pedro Alves <palves@redhat.com>
5168 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5171 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5174 * gdb.cp/pr17494.cc: New file.
5175 * gdb.cp/pr17494.exp: New file.
5177 2014-11-02 Yao Qi <yao@codesourcery.com>
5179 * gdb.python/python.exp: Get working directory and match the
5180 output of "set extended-prompt \\w " with it.
5182 2014-10-30 Doug Evans <dje@google.com>
5184 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5186 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5189 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5191 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5192 * gdb.base/realname-expand.exp: Likewise.
5193 * gdb.linespec/macro-relative.exp: Likewise.
5195 2014-10-29 Pedro Alves <palves@redhat.com>
5198 * gdb.threads/schedlock.c (some_function): New function.
5199 (call_function): New global.
5200 (MAYBE_CALL_SOME_FUNCTION): New macro.
5201 (thread_function): Call it.
5202 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5203 and use it instead of a global counter. Adjust all callers.
5204 (get_current_thread): Use "find current thread" for test message
5205 here rather than having all callers pass down the same string.
5206 (goto_loop): New procedure, factored out from ...
5207 (my_continue): ... this.
5208 (step_ten_loops): Change parameter from test message to command to
5210 (list_count): Delete global.
5211 (check_result): New procedure, factored out from duplicate top
5213 (continue tests): Wrap in with_test_prefix.
5214 (test_step): New procedure, factored out from duplicate top level
5216 (top level): Test "step" in combination with all scheduler-locking
5217 modes. Test "next" in combination with all scheduler-locking
5218 modes, and in combination with stepping over a function call or
5220 * gdb.threads/next-bp-other-thread.c: New file.
5221 * gdb.threads/next-bp-other-thread.exp: New file.
5223 2014-10-29 Pedro Alves <palves@redhat.com>
5226 * gdb.python/python.exp: Test a multi-line command that spawns
5228 * gdb.base/multi-line-starts-subshell.exp: New file.
5230 2014-10-29 Yao Qi <yao@codesourcery.com>
5232 * gdb.base/fileio.exp: Make directories on host.
5234 2014-10-29 Yao Qi <yao@codesourcery.com>
5236 * gdb.base/fileio.c (test_write): Close the file.
5238 2014-10-28 Pedro Alves <palves@redhat.com>
5241 * gdb.base/sigstep.c (no_handler): New global.
5242 (main): If 'no_handler is true, set the signal handlers to
5244 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5245 with_sw_watch and no_handler parameters. Handle them.
5246 (top level) <stepping over handler when stopped at a breakpoint
5247 test>: Add a test axis for testing with a software watchpoint, and
5248 another for testing with the signal handler set to SIG_IGN.
5249 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5250 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5252 2014-10-28 Pedro Alves <palves@redhat.com>
5255 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5256 * gdb.base/sigstep.exp (other_handler_location): New global.
5257 (advance): Support stepping into the signal handler, and running
5258 commands while in the handler.
5259 (in_handler_map): New global.
5260 (top level): In the advance test, add combinations for getting
5261 into the handler with stepping commands, and for running commands
5262 in the handler. Add comment descripting the advancei tests.
5264 2014-10-28 Pedro Alves <palves@redhat.com>
5266 * gdb.base/sigstep.exp: Use build_executable instead of
5267 prepare_for_testing.
5268 (top level): Move code that starts GDB, runs to main and creates a
5270 (restart): ... this new procedure.
5271 (top level): Move backtrace from signal handler test to ...
5272 (validate_backtrace): ... this new procedure.
5273 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5274 with_test_prefix. Always restart GDB.
5275 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5276 with_test_prefix. Always restart GDB. No need to delete
5277 breakpoints after the test.
5278 (test_skip_handler): Remove prefix parameter.
5279 (skip_over_handler, breakpoint_to_handler)
5280 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5281 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5282 restart GDB. No need to delete breakpoints after the test.
5283 (top level): Use foreach to call the test procedures with
5286 2014-10-28 Pedro Alves <palves@redhat.com>
5288 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5289 instead of GNATS numbers.
5290 * gdb.base/sigbpt.exp: Likewise.
5291 * gdb.base/siginfo.exp: Likewise.
5292 * gdb.base/sigstep.exp: Likewise.
5294 2014-10-27 Pedro Alves <palves@redhat.com>
5296 * gdb.base/sigstep.c (dummy): New global.
5297 (main): Issue a couple writes to the new global.
5298 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5300 (skip_over_handler): Use test_skip_handler.
5301 (top level): Call skip_over_handler for stepi and nexti too.
5302 (breakpoint_over_handler): Use test_skip_handler.
5303 (top level): Call breakpoint_over_handler for stepi and nexti too.
5305 2014-10-27 Yao Qi <yao@codesourcery.com>
5307 * gdb.trace/tfile.c (adjust_function_address)
5308 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5309 function descriptor.
5311 2014-10-24 Don Breazeal <donb@codesourcery.com>
5313 * gdb.base/foll-fork.exp (test_follow_fork,
5314 catch_fork_child_follow): Check for updated fork messages emitted
5316 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5317 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5318 vfork_and_exec_child_follow_through_step): Check for updated vfork
5319 messages emitted from infrun.c.
5321 2014-10-24 Pedro Alves <palves@redhat.com>
5323 * gdb.base/corefile.exp: Remove references to ultrix.
5324 * gdb.base/interrupt.exp: Likewise.
5325 * gdb.base/whatis.exp: Likewise.
5326 * gdb.gdb/selftest.exp: Likewise.
5327 * gdb.threads/manythreads.exp: Likewise.
5328 * gdb.threads/print-threads.exp: Likewise.
5329 * gdb.threads/pthreads.exp:: Likewise.
5330 * gdb.threads/schedlock.exp: Likewise.
5332 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5334 * gdb.cp/non-trivial-retval.cc: Add a test case.
5335 * gdb.cp/non-trivial-retval.exp: Add a test.
5337 2014-10-20 Yao Qi <yao@codesourcery.com>
5339 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5340 * gdb.python/py-objfile-script-gdb.py: New file.
5341 * gdb.python/py-objfile-script.exp: Update reference to
5342 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5343 of remote_download. Remove the dest file.
5345 2014-10-20 Yao Qi <yao@codesourcery.com>
5347 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5348 * gdb.base/step-line.exp: Likewise.
5349 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5350 * gdb.dwarf2/dw2-basic.exp: Likewise.
5351 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5352 * gdb.dwarf2/dw2-filename.exp: Likewise.
5353 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5354 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5355 * gdb.dwarf2/dw2-producer.exp: Likewise.
5356 * gdb.dwarf2/mac-fileno.exp: Likewise.
5357 * gdb.python/py-frame-args.exp: Likewise.
5358 * gdb.python/py-framefilter.exp: Likewise.
5359 * gdb.python/py-mi.exp: Likewise.
5360 * gdb.python/py-objfile-script.exp: Likewise
5361 * gdb.python/py-pp-integral.exp: Likewise.
5362 * gdb.python/py-pp-re-notag.exp: Likewise.
5363 * gdb.python/py-prettyprint.exp: Likewise.
5364 * gdb.python/py-section-script.exp: Likewise.
5365 * gdb.python/py-typeprint.exp: Likewise.
5366 * gdb.python/py-xmethods.exp: Likewise.
5367 * gdb.stabs/weird.exp: Likewise.
5368 * gdb.xml/tdesc-regs.exp: Likewise.
5370 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5372 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5373 (out_cu): Use addr_len for the size of addresses.
5374 (out_line): Likewise. Size DW_LNE_set_address instruction
5375 according to addr_len.
5376 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5377 (FUNC): Add START_INSNS to definition.
5379 2014-10-18 Yao Qi <yao@codesourcery.com>
5381 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5382 gdb_has_argv0 return true.
5383 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5384 check [target_info exists noargs], check [gdb_has_argv0]
5386 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5387 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5390 2014-10-17 Doug Evans <dje@google.com>
5392 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5394 * gdb.python/py-events.py: Add clear_objfiles event.
5396 2014-10-17 Doug Evans <dje@google.com>
5398 * gdb.python/py-objfile.exp: Test progspace attribute.
5400 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5402 * gdb.guile/scm-breakpoint.exp: Do not assume any
5403 directory separators when matching source file paths.
5404 * gdb.python/py-breakpoint.exp: Likewise.
5405 * gdb.reverse/break-precsave.exp: Likewise.
5406 * gdb.reverse/break-reverse.exp: Likewise.
5407 * gdb.reverse/consecutive-precsave.exp: Likewise.
5408 * gdb.reverse/finish-precsave.exp: Likewise.
5409 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5410 * gdb.reverse/finish-reverse.exp: Likewise.
5411 * gdb.reverse/i386-precsave.exp: Likewise.
5412 * gdb.reverse/i387-env-reverse.exp: Likewise.
5413 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5414 * gdb.reverse/machinestate-precsave.exp: Likewise.
5415 * gdb.reverse/machinestate.exp: Likewise.
5416 * gdb.reverse/sigall-precsave.exp: Likewise.
5417 * gdb.reverse/solib-precsave.exp: Likewise.
5418 * gdb.reverse/step-precsave.exp: Likewise.
5419 * gdb.reverse/until-precsave.exp: Likewise.
5420 * gdb.reverse/watch-precsave.exp: Likewise.
5421 * gdb.reverse/watch-reverse.exp: Likewise.
5423 2014-10-17 Yao Qi <yao@codesourcery.com>
5425 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5426 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5428 2014-10-17 Pedro Alves <palves@redhat.com>
5431 * gdb.base/bg-execution-repeat.c: New file.
5432 * gdb.base/bg-execution-repeat.exp: New file.
5434 2014-10-17 Pedro Alves <palves@redhat.com>
5437 * gdb.base/continue-all-already-running.c: New file.
5438 * gdb.base/continue-all-already-running.exp: New file.
5440 2014-10-17 Pedro Alves <palves@redhat.com>
5443 * gdb.base/annota-input-while-running.c: New file.
5444 * gdb.base/annota-input-while-running.exp: New file.
5446 2014-10-17 Pedro Alves <palves@redhat.com>
5448 * gdb.base/callfuncs.exp: emove references to osf.
5449 * gdb.base/sigall.exp: Likewise.
5450 * gdb.gdb/selftest.exp: Likewise.
5451 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5452 * gdb.mi/non-stop.c: Likewise.
5453 * gdb.mi/pthreads.c: Likewise.
5454 * gdb.reverse/sigall-precsave.exp: Likewise.
5455 * gdb.reverse/sigall-reverse.exp: Likewise.
5456 * gdb.threads/pthreads.c: Likewise.
5457 * gdb.threads/pthreads.exp: Likewise.
5459 2014-10-17 Yao Qi <yao@codesourcery.com>
5461 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5462 check 'target_info exists noargs'.
5463 (test_command_prompt_position): Likewise.
5464 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5466 (progvar_simple_while_test): Likewise.
5467 (progvar_complex_if_while_test): Likewise.
5468 (if_while_breakpoint_command_test): Likewise.
5469 (infrun_breakpoint_command_test): Likewise.
5470 (breakpoint_command_test): Likewise.
5471 (watchpoint_command_test): Likewise.
5472 (bp_deleted_in_command_test): Likewise.
5473 (temporary_breakpoint_commands): Likewise.
5475 2014-10-16 Yao Qi <yao@codesourcery.com>
5477 * gdb.base/remotetimeout.exp: Remove noargs checking.
5479 2014-10-15 Pedro Alves <palves@redhat.com>
5482 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5483 * gdb.base/breakpoint-in-ro-region.exp
5484 (probe_target_hardware_step): New procedure.
5485 (top level): Probe hardware stepping and hardware breakpoint
5486 support. Test stepping through a read-only region, with both
5487 "breakpoint auto-hw" on and off and both "always-inserted" on and
5490 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5492 * gdb.dlang/demangle.exp: Update for demangling changes.
5494 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5496 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5497 * gdb.cp/non-trivial-retval.exp: Add new tests.
5499 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5503 * gdb.cp/non-trivial-retval.cc: New file.
5504 * gdb.cp/non-trivial-retval.exp: New file.
5506 2014-10-15 Yao Qi <yao@codesourcery.com>
5508 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5511 2014-10-15 Yao Qi <yao@codesourcery.com>
5513 * gdb.python/py-symbol.exp: Match file base name if host is
5514 remote, otherwise match file name with dir name.
5515 * gdb.python/py-symtab.exp: Likewise.
5516 * gdb.python/python.exp: Likewise.
5518 2014-10-15 Yao Qi <yao@codesourcery.com>
5520 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5522 * gdb.python/py-symtab.exp: Likewise.
5523 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5526 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5528 * gdb.ada/addr_arith: New testcase.
5530 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5532 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5533 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5534 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5535 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5537 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5539 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5540 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5541 * gdb.arch/stap-eval-lang-ada.exp: New file.
5543 2014-10-14 Yao Qi <yao@codesourcery.com>
5545 * gdb.mi/mi-var-child.c (nothing1): New function.
5546 (nothing2): New function.
5547 (do_children_tests): Set function pointers by nothing1 and
5549 * gdb.mi/mi-var-child.exp: Step over new added statements.
5550 Update test to match the new output.
5551 * gdb.mi/var-cmd.c (nothing1): New function.
5552 (nothing2): New function.
5553 (do_children_tests): Set function pointers by nothing1 and
5555 * gdb.mi/mi-var-display.exp: Update test to match output.
5556 Step to the line specified by $line_dct_nothing.
5557 Increase the number of lines to step.
5559 2014-10-14 Yao Qi <yao@codesourcery.com>
5561 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5563 * gdb.mi/mi2-var-child.exp: Likewise.
5565 2014-10-13 Doug Evans <dje@google.com>
5567 * gdb.python/py-objfile.exp: Change name of file name test.
5569 2014-10-13 Doug Evans <dje@google.com>
5571 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5572 from the start of the CU.
5574 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5575 Yao Qi <yao@codesourcery.com>
5577 Fix "save breakpoints" for "catch" command.
5578 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5579 Remove -nonewline. Match also the added "main" line.
5581 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5583 Fix "save breakpoints" for "disable $bpnum" command.
5584 * gdb.base/save-bp.c (main): Add label.
5585 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5587 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5589 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5591 2014-10-11 Yao Qi <yao@codesourcery.com>
5593 * gdb.server/server-kill.exp: Execute command
5594 "set remote trace-status-packet on" before "tstatus".
5596 2014-10-11 Yao Qi <yao@codesourcery.com>
5598 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5599 (main): Call getppid.
5600 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5601 and continue to it. Read variable "server_pid".
5603 2014-10-11 Yao Qi <yao@codesourcery.com>
5605 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5607 2014-10-11 Yao Qi <yao@codesourcery.com>
5609 * gdb.threads/thread-find.exp: Don't execute command
5611 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5612 * gdb.threads/linux-dp.exp: Don't check the condition
5613 $threads_created equals to zero.
5615 2014-10-10 Pedro Alves <palves@redhat.com>
5617 * gdb.base/bigcore.exp: Remove references to IRIX.
5618 * gdb.base/funcargs.exp: Likewise.
5619 * gdb.base/interrupt.exp: Likewise.
5620 * gdb.base/mips_pro.exp: Likewise.
5621 * gdb.base/nodebug.exp: Likewise.
5622 * gdb.base/setvar.exp: Likewise.
5623 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5625 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5626 Pedro Alves <palves@redhat.com>
5629 * gdb.base/vdso-warning.c: New file.
5630 * gdb.base/vdso-warning.exp: New file.
5632 2014-10-02 Doug Evans <dje@google.com>
5634 * gdb.base/structs.c (main): Don't run forever.
5636 2014-10-02 Pedro Alves <palves@redhat.com>
5638 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5639 (top level) <stop threads 1, stop threads 2>: Use it.
5641 2014-10-02 Pedro Alves <palves@redhat.com>
5643 * gdb.threads/break-while-running.exp (test): Add new
5644 'update_thread_list' argument. Skip "info threads" if false.
5645 (top level): Add new 'update_thread_list' axis.
5647 2014-10-02 Pedro Alves <palves@redhat.com>
5649 PR breakpoints/17431
5650 * gdb.base/execl-update-breakpoints.c: New file.
5651 * gdb.base/execl-update-breakpoints.exp: New file.
5653 2014-10-01 Pedro Alves <palves@redhat.com>
5655 * gdb.base/breakpoint-in-ro-region.c: New file.
5656 * gdb.base/breakpoint-in-ro-region.exp: New file.
5658 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5660 * gdb.mi/mi-exit-code.exp: New file.
5661 * gdb.mi/mi-exit-code.c: New file.
5663 2014-09-30 Yao Qi <yao@codesourcery.com>
5665 * lib/prelink-support.exp (build_executable_own_libs): Error if
5666 the target isn't native.
5668 2014-09-30 Yao Qi <yao@codesourcery.com>
5670 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5673 2014-09-22 Pedro Alves <palves@redhat.com>
5675 * gdb.threads/break-while-running.exp: New file.
5676 * gdb.threads/break-while-running.c: New file.
5678 2014-09-19 Yao Qi <yao@codesourcery.com>
5680 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5681 Invoke test. Restart GDB with --readnow and invoke test again.
5683 2014-09-19 Yao Qi <yao@codesourcery.com>
5685 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5686 proc set_breakpoint_on_gcd_function. Invoke
5687 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5688 invoke set_breakpoint_on_gcd_function again.
5690 2014-09-18 Doug Evans <dje@google.com>
5692 * gdb.dwarf2/symtab-producer.exp: New file.
5694 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5696 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5697 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5698 * gdb.base/global-var-nested-by-dso.c: Likewise.
5699 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5701 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5702 Pedro Alves <palves@redhat.com>
5704 * gdb.base/watch-bitfields.exp: Pass string other than test file
5705 name to prepare_for_testing.
5706 (watch): New procedure.
5707 (expect_watchpoint): Use with_test_prefix.
5708 (top level): Factor out tests to ...
5709 (test_watch_location, test_regular_watch): ... these new
5710 procedures, and use with_test_prefix and gdb_continue_to_end.
5712 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5714 PR breakpoints/12526
5715 * gdb.base/watch-bitfields.exp: New file.
5716 * gdb.base/watch-bitfields.c: New file.
5718 2014-09-16 Pedro Alves <palves@redhat.com>
5720 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5721 software and hardware addresses, not software address against
5724 2014-09-16 Pedro Alves <palves@redhat.com>
5726 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5727 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5729 2014-09-16 Pedro Alves <palves@redhat.com>
5731 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5733 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5734 "*-*-vxworks*" throughout.
5735 * gdb.base/break.exp: Likewise.
5736 * gdb.base/default.exp: Likewise.
5737 * gdb.base/scope.exp: Likewise.
5738 * gdb.base/sepdebug.exp: Likewise.
5739 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5741 * gdb.base/run.c: Likewise.
5742 * gdb.base/sepdebug.c: Likewise.
5743 * gdb.hp/gdb.aCC/run.c: Likewise.
5744 * gdb.reverse/until-reverse.c: Likewise.
5745 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5747 2014-09-16 Yao Qi <yao@codesourcery.com>
5749 * boards/local-remote-host-native.exp: New file.
5751 2014-09-14 Doug Evans <xdje42@gmail.com>
5753 * gdb.threads/queue-signal.c (thread_count): New variable.
5754 (thread_count_mutex, thread_count_condvar): New variables.
5755 (incr_thread_count, wait_all_threads_running): New functions.
5756 (main): Wait for all threads to be in their thread functions.
5758 2014-09-13 Doug Evans <xdje42@gmail.com>
5760 * gdb.threads/queue-signal.c: New file.
5761 * gdb.threads/queue-signal.exp: New file.
5763 2014-09-13 Doug Evans <xdje42@gmail.com>
5765 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5766 be consistent with what default_gdb_init uses.
5767 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5768 the plain text of the prompt. Add some logging printfs.
5769 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5771 2014-09-12 Pedro Alves <palves@redhat.com>
5773 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5774 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5775 * gdb.arch/i386-size-overlap.exp: Likewise.
5776 * gdb.arch/i386-size.exp: Likewise.
5777 * gdb.arch/i386-unwind.exp: Likewise.
5778 * gdb.base/a2-run.exp: Likewise.
5779 * gdb.base/break.exp: Likewise.
5780 * gdb.base/charset.exp: Likewise.
5781 * gdb.base/chng-syms.exp: Likewise.
5782 * gdb.base/commands.exp: Likewise.
5783 * gdb.base/dbx.exp: Likewise.
5784 * gdb.base/find.exp: Likewise.
5785 * gdb.base/funcargs.exp: Likewise.
5786 * gdb.base/jit-simple.exp: Likewise.
5787 * gdb.base/reread.exp: Likewise.
5788 * gdb.base/sepdebug.exp: Likewise.
5789 * gdb.base/step-bt.exp: Likewise.
5790 * gdb.cp/mb-inline.exp: Likewise.
5791 * gdb.cp/mb-templates.exp: Likewise.
5792 * gdb.objc/basicclass.exp: Likewise.
5793 * gdb.threads/killed.exp: Likewise.
5795 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5798 * gdb.arch/powerpc-stackless.S: New file.
5799 * gdb.arch/powerpc-stackless.exp: New file.
5801 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5803 * gdb.base/attach.c: Include unistd.h.
5804 (main): Call alarm. Add label postloop.
5805 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5806 gdb_breakpoint, gdb_continue_to_breakpoint.
5807 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5809 2014-09-11 Pedro Alves <palves@redhat.com>
5812 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5813 * gdb.base/attach.exp (test_command_line_attach_run): New
5815 (top level): Call it.
5817 2014-09-11 Pedro Alves <palves@redhat.com>
5819 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5820 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5821 (do_command_attach_tests): Use spawn_wait_for_attach.
5822 * gdb.base/solib-overlap.exp: Likewise.
5823 * gdb.multi/multi-attach.exp: Likewise.
5824 * gdb.python/py-prompt.exp: Likewise.
5825 * gdb.python/py-sync-interp.exp: Likewise.
5826 * gdb.server/ext-attach.exp: Likewise.
5828 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5830 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5831 command in testcase. Simplify testcase.
5833 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5835 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5837 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5839 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5841 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5843 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5845 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5847 * gdb.dwarf2/dynarr-ptr.c: New file.
5848 * gdb.dwarf2/dynarr-ptr.exp: New file.
5850 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5852 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5853 of 30 rather than hardcoding 120 for a slow test case. Take the
5854 `gdb,timeout' target setting into account for this calculation.
5855 Don't extend the timeout for the test cases that don't need it.
5857 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5859 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5860 a factor of 2 for a slow test case. Take the `gdb,timeout'
5861 target setting into account for this calculation.
5862 * gdb.reverse/until-precsave.exp: Increase the timeout by
5863 a factor of 15 and 3 respectively rather than adding 120
5864 for a pair of slow test cases. Take the `gdb,timeout'
5865 target setting into account for this calculation.
5867 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5869 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5870 timeout, don't pass one down to gdb_expect.
5871 (gdb_expect): Rework timeout selection.
5873 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5875 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5876 exception on timeout.
5877 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5878 (gdbserver_start_extended): Catch any `gdbserver_start' error
5880 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5881 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5882 `gdbserver_gdb_load' error exceptions.
5884 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5886 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5887 120 on waiting for the TCP socket to open.
5889 2014-09-09 Doug Evans <xdje42@gmail.com>
5891 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5892 _caller_matches, _any_caller_is, _any_caller_matches.
5894 2014-09-09 Doug Evans <xdje42@gmail.com>
5896 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5898 2014-09-09 Yao Qi <yao@codesourcery.com>
5900 * gdb.mi/mi-var-display.exp: Set print symbol off.
5902 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5905 * gdb.base/commands.exp: Add tests to verify user-defined
5906 commands with empty bodies.
5907 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5908 python commands in `show user command`.
5909 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5910 scheme commands in `show user command`.
5912 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5915 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5916 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5917 * gdb.python/py-framefilter-invalidarg.exp: New file.
5918 * gdb.python/py-framefilter-invalidarg.py: New file.
5920 2014-09-06 Doug Evans <xdje42@gmail.com>
5923 * gdb.python/py-caller-is.c: New file.
5924 * gdb.python/py-caller-is.exp: New file.
5926 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5929 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5930 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5932 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5935 * gdb.fortran/print-formatted.exp: New file.
5936 * gdb.fortran/print-formatted.f90: Likewise.
5938 2014-09-03 Sasha Smundak <asmundak@google.com>
5940 * gdb.python/py-frame.exp: Test Frame.read_register.
5942 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5945 * gdb.python/py-completion.exp: New file.
5946 * gdb.python/py-completion.py: Likewise.
5948 2014-08-28 Doug Evans <dje@google.com>
5950 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5951 eax,etc. are live with values set by gdb and thus the compiler can't
5953 * gdb.arch/i386-pseudo.c (main): Ditto.
5955 2014-08-27 Doug Evans <dje@google.com>
5957 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5959 2014-08-25 Doug Evans <dje@google.com>
5961 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5964 2014-08-25 Doug Evans <dje@google.com>
5966 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5968 2014-08-24 Yao Qi <yao@codesourcery.com>
5970 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5972 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5974 2014-08-22 Doug Evans <dje@google.com>
5977 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5978 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5979 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5981 2014-08-22 Yao Qi <yao@codesourcery.com>
5983 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5984 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5985 * gdb.python/python.exp: Likewise. Use .py file on the host
5986 instead of the build.
5988 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5990 * gdb.threads/gcore-stale-thread.c: New file.
5991 * gdb.threads/gcore-stale-thread.exp: New file.
5993 2014-08-21 Pedro Alves <palves@redhat.com>
5995 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5996 * gdb.base/gcore-relro-pie.exp: Likewise.
5997 * gdb.base/gcore-relro.exp: Likewise.
5998 * gdb.base/gcore.exp: Likewise.
5999 * gdb.base/print-symbol-loading.exp: Likewise.
6000 * gdb.threads/gcore-thread.exp: Likewise.
6001 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6003 2014-08-20 Pedro Alves <palves@redhat.com>
6004 Jan Kratochvil <jan.kratochvil@redhat.com>
6006 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6008 (EXPECT): Handle READ1 being set.
6009 (all): Depend on EXTRA_RULES.
6010 (check-read1, expect-read1, read1.so, read1): New rules.
6011 * README (Testsuite Parameters): Document the READ1 make variable.
6012 (Race detection): New section.
6013 * configure: Regenerate.
6014 * configure.ac: If build==host==target, and running under a
6015 GNU/glibc system, add read1 to the extra Makefile rules.
6016 (EXTRA_RULES): AC_SUBST it.
6017 * lib/read1.c: New file.
6019 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6021 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6022 the handling of variables declared as a typedef to an array
6023 which a DW_AT_data_location attribute.
6025 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6026 Pedro Alves <palves@redhat.com>
6030 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6033 2014-08-19 Pedro Alves <palves@redhat.com>
6035 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6037 2014-08-19 Yao Qi <yao@codesourcery.com>
6039 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6042 2014-08-18 David Blaikie <dblaikie@gmail.com>
6044 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6046 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6048 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6049 attribute in array range.
6051 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6053 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6055 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6058 * gdb.cp/pr17132.cc: New file.
6059 * gdb.cp/pr17132.exp: New file.
6061 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6063 * gdb.python/py-xmethods.py (A_getarrayind)
6064 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6065 Use 'print' with function call syntax.
6066 (E_method_matcher.match): Fix tab vs space indentation mixup.
6068 2014-08-15 Yao Qi <yao@codesourcery.com>
6070 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6073 2014-08-15 Yao Qi <yao@codesourcery.com>
6075 * gdb.cp/casts.exp: Set print symbol off.
6076 * gdb.cp/class2.exp: Likewise.
6077 * gdb.cp/overload.exp: Likewise.
6078 * gdb.cp/templates.exp: Likewise.
6080 2014-08-11 Doug Evans <dje@google.com>
6082 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6083 (test_load_shlib): Update.
6085 2014-08-09 Yao Qi <yao@codesourcery.com>
6087 * gdb.base/display.exp: Invoke is_address_zero_readable.
6088 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6089 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6090 * gdb.base/hbreak-unmapped.exp: Return if
6091 is_address_zero_readable returns true.
6092 * gdb.base/signest.exp: Likewise.
6093 * gdb.base/signull.exp: Likewise.
6094 * gdb.base/sigbpt.exp: Likewise.
6095 * gdb.guile/scm-disasm.exp: Do the test if
6096 is_address_zero_readable returns false.
6097 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6098 * gdb.python/py-arch.exp: Likewise.
6099 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6100 * lib/gdb.exp (is_address_zero_readable): New proc.
6102 2014-08-09 Yao Qi <yao@codesourcery.com>
6105 * gdb.mi/mi-var-display.exp: Make test messages unique.
6107 2014-08-04 Tom Tromey <tromey@redhat.com>
6109 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6112 2014-08-04 Tom Tromey <tromey@redhat.com>
6114 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6117 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6119 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6120 inner_vla_struct_object_size.
6121 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6124 2014-07-30 Pedro Alves <palves@redhat.com>
6126 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6129 2014-07-29 Yao Qi <yao@codesourcery.com>
6132 * gdb.base/until-nodebug.exp: New.
6134 2014-07-28 Doug Evans <xdje42@gmail.com>
6137 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6138 previously existing parameter, and previously ambiguously spelled
6141 2014-07-28 Will Newton <will.newton@linaro.org>
6143 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6145 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6146 Doug Evans <xdje42@gmail.com>
6149 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6151 2014-07-25 Pedro Alves <palves@redhat.com>
6153 * gdb.threads/signal-command-handle-nopass.c: New file.
6154 * gdb.threads/signal-command-handle-nopass.exp: New file.
6155 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6156 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6157 * gdb.threads/signal-delivered-right-thread.c: New file.
6158 * gdb.threads/signal-delivered-right-thread.exp: New file.
6160 2014-07-25 Pedro Alves <palves@redhat.com>
6162 * gdb.base/double-prompt-target-event-error.exp
6163 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6165 (cancel_pagination_in_target_event): Rework double prompt
6167 * gdb.base/paginate-after-ctrl-c-running.exp
6168 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6170 * gdb.base/paginate-bg-execution.exp
6171 (test_bg_execution_pagination_return)
6172 (test_bg_execution_pagination_cancel): Remove '-notransfer
6174 * gdb.base/paginate-execution-startup.exp
6175 (test_fg_execution_pagination_return)
6176 (test_fg_execution_pagination_cancel): Remove '-notransfer
6178 * gdb.base/paginate-inferior-exit.exp
6179 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6181 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6182 * lib/gdb.exp (pagination_prompt): Run text through
6184 (gdb_test_multiple): Match $pagination_prompt instead of
6186 (string_to_regexp): Move to lib/gdb-utils.exp.
6188 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6190 * gdb.arch/amd64-entry-value-paramref.S: New file.
6191 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6192 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6193 * gdb.arch/amd64-optimout-repeat.S: New file.
6194 * gdb.arch/amd64-optimout-repeat.c: New file.
6195 * gdb.arch/amd64-optimout-repeat.exp: New file.
6197 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6200 * gdb.base/statistics.exp: New file.
6202 2014-07-17 Doug Evans <dje@google.com>
6205 * gdb.base/maint.exp: Update testing of per-command stats.
6207 2014-07-16 Pedro Alves <palves@redhat.com>
6209 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6210 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6211 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6212 (tfile_write_buf): New functions.
6213 (add_memory_block): Rewrite using the above.
6214 (adjust_function_address): New function.
6215 (FUNCTION_ADDRESS): New macro.
6216 (write_basic_trace_file): Remove short_x local, and use
6217 tfile_write_16. Change type of func_addr local to unsigned long
6218 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6219 here. Cast argument of add_memory_block to char pointer.
6220 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6221 (main): Remove parameters.
6222 * gdb.trace/tfile.exp: Remove nowarnings.
6224 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6226 * gdb.base/debug-expr.exp: Test string evaluation with
6227 "debug expression" on.
6229 2014-07-15 Pedro Alves <palves@redhat.com>
6231 * gdb.base/reread.exp: Use clean_restart.
6233 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6235 * gdb.arch/avr-flash-qualifer.c: New.
6236 * gdb.arch/avr-flash-qualifer.exp: New.
6238 2014-07-14 Pedro Alves <palves@redhat.com>
6240 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6241 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6243 2014-07-14 Pedro Alves <palves@redhat.com>
6245 * gdb.base/double-prompt-target-event-error.c: New file.
6246 * gdb.base/double-prompt-target-event-error.exp: New file.
6248 2014-07-14 Pedro Alves <palves@redhat.com>
6251 * gdb.base/paginate-inferior-exit.c: New file.
6252 * gdb.base/paginate-inferior-exit.exp: New file.
6254 2014-07-14 Pedro Alves <palves@redhat.com>
6257 * gdb.base/paginate-bg-execution.c: New file.
6258 * gdb.base/paginate-bg-execution.exp: New file.
6260 2014-07-14 Pedro Alves <palves@redhat.com>
6263 * gdb.base/paginate-execution-startup.c: New file.
6264 * gdb.base/paginate-execution-startup.exp: New file.
6265 * lib/gdb.exp (pagination_prompt): New global.
6266 (default_gdb_spawn): New procedure, factored out from
6268 (default_gdb_start): Adjust to call default_gdb_spawn.
6269 (gdb_spawn): New procedure.
6271 2014-07-14 Pedro Alves <palves@redhat.com>
6273 * lib/gdb.exp (gdb_assert): New procedure.
6274 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6276 2014-07-14 Pedro Alves <palves@redhat.com>
6278 * gdb.base/execution-termios.c: New file.
6279 * gdb.base/execution-termios.exp: New file.
6281 2014-07-14 Tom Tromey <tromey@redhat.com>
6283 * gdb.cp/vla-cxx.cc: New file.
6284 * gdb.cp/vla-cxx.exp: New file.
6286 2014-07-14 Tom Tromey <tromey@redhat.com>
6288 * gdb.reverse/rerun-prec.c: New file.
6289 * gdb.reverse/rerun-prec.exp: New file.
6291 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6292 Maciej W. Rozycki <macro@codesourcery.com>
6294 * lib/gdb-utils.exp: New file.
6295 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6296 inline `gdb_init_command' processing.
6297 (gdb_start_cmd): Likewise.
6298 * lib/mi-support.exp (mi_run_cmd): Likewise.
6299 * README: Document `gdb_init_command' and `gdb_init_commands'.
6301 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6303 Fix false FAIL running under a very long directory name.
6304 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6305 and "set print elements 10000". Twice.
6307 2014-07-11 Yao Qi <yao@codesourcery.com>
6309 * gdb.base/exprs.exp: "set print symbol off".
6311 2014-07-11 Pedro Alves <palves@redhat.com>
6313 * gdb.threads/kill.c: New file.
6314 * gdb.threads/kill.exp: New file.
6316 2014-07-10 Yao Qi <yao@codesourcery.com>
6318 * gdb.trace/tfile.c (write_basic_trace_file)
6319 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6320 address written to trace file.
6322 2014-07-09 Pedro Alves <palves@redhat.com>
6324 * gdb.base/attach-wait-input.exp: New file.
6325 * gdb.base/attach-wait-input.c: New file.
6327 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6329 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6330 setting up test structures.
6331 (main): Call new test function.
6332 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6333 test function, continue into test function and walk test
6336 2014-07-02 Yao Qi <yao@codesourcery.com>
6338 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6339 'bar_start' at the beginning of functions 'foo' and 'bar'
6341 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6342 instead of 'foo' and 'bar'.
6344 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6346 * gdb.btrace/segv.exp: New.
6347 * gdb.btrace/segv.c: New.
6349 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6351 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6354 2014-06-30 Mark Wielaard <mjw@redhat.com>
6356 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6357 vulture, vilify, villar): New volatile array constants.
6358 (vindictive, vegetation): New const volatile array constants.
6359 * gdb.base/volatile.exp: Test volatile and const volatile array
6362 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6364 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6365 target lacks support for awatch, rwatch, or hbreak.
6367 2014-06-27 Yao Qi <yao@codesourcery.com>
6369 * gdb.multi/dummy-frame-restore.exp: New.
6370 * gdb.multi/dummy-frame-restore.c: New.
6372 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6374 * gdb.btrace/gcore.exp: New.
6376 2014-06-23 Pedro Alves <palves@redhat.com>
6378 * gdb.base/watchpoint-reuse-slot.c: New file.
6379 * gdb.base/watchpoint-reuse-slot.exp: New file.
6381 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6383 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6384 progspace's filename in 'info', 'enable' and 'disable' command
6387 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6389 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6390 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6391 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6393 2014-06-20 Gary Benson <gbenson@redhat.com>
6395 * gdb.arch/i386-avx.exp: Fix include file location.
6396 * gdb.arch/i386-sse.exp: Likewise.
6398 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6400 * gdb.dlang/expression.exp: New file.
6402 2014-06-19 Pedro Alves <palves@redhat.com>
6404 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6406 (top level): ... here. Iterate running tests under different
6407 scheduler-locking settings.
6409 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6411 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6412 to DW_FORM_addr and use non-zero addresses.
6414 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6417 * gdb.python/py-xmethods.cc: Add global function call counters and
6418 increment them in their respective functions. Remove "cout"
6420 * gdb.python/py-xmethods.exp: Make tests check the global function
6421 call counters instead of depending on inferior IO.
6423 2014-06-18 Don Breazeal <donb@codesourcery.com>
6425 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6427 (explicit_fork_parent_follow): Deleted procedure.
6428 (explicit_fork_child_follow): Deleted procedure.
6429 (test_follow_fork): New procedure.
6430 (do_fork_tests): Replace calls to deleted procedures with
6431 calls to test_follow_fork and reset GDB for subsequent
6434 2014-06-17 Yao Qi <yao@codesourcery.com>
6436 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6439 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6441 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6442 Initialize ptr and S explicitly.
6443 (skip_type_update_when_not_use_rtti_test): Likewise.
6445 2014-06-16 Keith Seitz <keiths@redhat.com>
6448 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6449 the inferior is started.
6451 2014-06-16 Pedro Alves <palves@redhat.com>
6453 * gdb.base/break-main-file-remove-fail.c: New file.
6454 * gdb.base/break-main-file-remove-fail.exp: New file.
6455 * gdb.base/break-unload-file.exp: Use build_executable instead of
6456 prepare_for_testing.
6457 (test_break): New parameter "initial_load". Handle it.
6458 (top level): Add initial_load cmdline/file axis.
6460 2014-06-12 Tom Tromey <tromey@redhat.com>
6462 * gdb.base/completion.exp: Don't use directory name in test.
6464 2014-06-09 Gary Benson <gbenson@redhat.com>
6466 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6467 separate the always-available ANSI-standard signals from the
6468 signals that require checking.
6470 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6474 2014-06-07 Keith Seitz <keiths@redhat.com>
6478 * gdb.cp/var-tag.cc: New file.
6479 * gdb.cp/var-tag.exp: New file.
6480 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6481 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6482 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6483 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6485 2014-06-06 Doug Evans <xdje42@gmail.com>
6487 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6489 2014-06-06 Pedro Alves <palves@redhat.com>
6491 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6492 in target debug output instead of looking at RSP packets,
6493 disabling the test on any target that uses hardware stepping.
6496 2014-06-06 Pedro Alves <palves@redhat.com>
6498 * gdb.base/break-unload-file.exp: Fix typo.
6500 2014-06-06 Yao Qi <yao@codesourcery.com>
6502 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6503 from "jit_function" to "^jit_function".
6505 2014-06-06 Yao Qi <yao@codesourcery.com>
6507 * gdb.base/async.c (foo): Add one statement.
6508 * gdb.base/async.exp: Get the next instruction address and
6509 match the output of "nexti" by instruction address. Match
6510 the hex address in the output of "finish".
6512 2014-06-06 Gary Benson <gbenson@redhat.com>
6514 * gdb.base/call-signals.c: Remove preprocessor conditionals
6515 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6516 SIGSEGV and SIGTERM.
6517 * gdb.base/sigall.c: Likewise.
6518 * gdb.base/unwindonsignal.c: Likewise.
6519 * gdb.reverse/sigall-reverse.c: Likewise.
6521 2014-06-06 Yao Qi <yao@codesourcery.com>
6523 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6524 readable, skip the test.
6526 2014-06-06 Yao Qi <yao@codesourcery.com>
6528 * gdb.threads/staticthreads.c (thread_function): Move the line
6529 setting breakpoint on forward.
6530 * gdb.threads/staticthreads.exp: Update comments.
6532 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6534 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6535 "history-append! type error".
6537 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6539 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6540 erroneous dprintf expected input.
6542 2014-06-04 Doug Evans <xdje42@gmail.com>
6544 * gdb.guile/scm-generics.exp: Delete.
6546 2014-06-04 Doug Evans <xdje42@gmail.com>
6548 * gdb.guile/scm-breakpoint.exp: Update.
6549 Add tests for breakpoint registration.
6551 2014-06-04 Tom Tromey <tromey@redhat.com>
6553 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6555 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6556 inner_vla_struct, vla_union types. Initialize objects of those
6557 types and compute their sizes.
6559 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6560 Hui Zhu <hui@codesourcery.com>
6562 * gdb.base/fileio.exp: Add test for shell not available as well as
6564 * gdb.base/fileio.c (test_system): Check for shell twice.
6566 2014-06-04 Yao Qi <yao@codesourcery.com>
6568 * gdb.base/auto-connect-native-target.exp: Remove redundant
6569 space from the regexp pattern.
6571 2014-06-04 Yao Qi <yao@codesourcery.com>
6573 * gdb.base/default.exp: Replace "child" with "native" in
6576 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6578 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6579 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6580 * gdb.python/py-xmethods.py: Python script supporting the
6581 new testcase and tests.
6583 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6584 Pedro Alves <palves@redhat.com>
6586 PR breakpoints/17000
6587 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6588 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6590 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6592 * gdb.base/subst.exp: Add tests to verify partial path matching
6595 2014-06-03 Pedro Alves <palves@redhat.com>
6597 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6598 target that doesn't use software single-stepping.
6600 2014-06-03 Pedro Alves <palves@redhat.com>
6602 PR breakpoints/17000
6603 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6604 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6606 2014-06-02 Doug Evans <xdje42@gmail.com>
6608 * gdb.guile/scm-parameter.exp: New file.
6610 2014-06-02 Doug Evans <xdje42@gmail.com>
6612 * gdb.guile/scm-cmd.c: New file.
6613 * gdb.guile/scm-cmd.exp: New file.
6615 2014-06-02 Doug Evans <xdje42@gmail.com>
6617 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6618 pretty-printer lookup.
6619 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6620 (make-pp_s-printer): Call it.
6621 (make-pretty-printer-from-dict): New function.
6622 (lookup-pretty-printer-maker-from-dict): New function.
6623 (*pretty-printer*): Simplify.
6624 (make-objfile-pp_s-printer): New function.
6625 (install-objfile-pretty-printers!): New function.
6626 (make-progspace-pp_s-printer): New function.
6627 (install-progspace-pretty-printers!): New function.
6628 * gdb.guile/scm-progspace.c: New file.
6629 * gdb.guile/scm-progspace.exp: New file.
6631 2014-06-02 Pedro Alves <palves@redhat.com>
6633 * gdb.base/dprintf-bp-same-addr.c: New file.
6634 * gdb.base/dprintf-bp-same-addr.exp: New file.
6636 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6638 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6639 * gdb.arch/powerpc-power.s: Likewise.
6641 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6643 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6645 2014-06-01 Yao Qi <yao@codesourcery.com>
6647 * gdb.base/watchpoint.exp (test_watch_location): Check null
6648 pointer can be dereferenced. If not, do the test, otherwise
6651 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6653 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6655 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6657 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6659 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6660 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6661 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6662 * gdb.arch/amd64-invalid-stack-top.c: New file.
6663 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6665 2014-05-30 Pedro Alves <palves@redhat.com>
6667 PR breakpoints/17000
6668 * gdb.base/sss-bp-on-user-bp.c: New file.
6669 * gdb.base/sss-bp-on-user-bp.exp: New file.
6671 2014-05-30 David Blaikie <dblaikie@gmail.com>
6673 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6674 gnu_inline semantics via attribute.
6675 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6676 source explicitly specifies the required semantics.
6678 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6680 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6682 2014-05-29 Pedro Alves <palves@redhat.com>
6683 Tom Tromey <tromey@redhat.com>
6685 * gdb.base/async-shell.exp: Don't enable target-async.
6686 * gdb.base/async.exp
6687 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6689 (top level): Don't test with "target-async".
6690 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6691 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6692 * gdb.base/inferior-died.exp: Don't enable target-async.
6693 * gdb.base/interrupt-noterm.exp: Likewise.
6694 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6695 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6696 * gdb.mi/mi-nonstop.exp: Likewise.
6697 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6698 * gdb.mi/mi-nsintrall.exp: Likewise.
6699 * gdb.mi/mi-nsmoribund.exp: Likewise.
6700 * gdb.mi/mi-nsthrexec.exp: Likewise.
6701 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6702 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6703 * gdb.python/py-evsignal.exp: Don't enable target-async.
6704 * gdb.python/py-evthreads.exp: Likewise.
6705 * gdb.python/py-prompt.exp: Likewise.
6706 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6707 * gdb.server/solib-list.exp: Don't enable target-async.
6708 * gdb.threads/thread-specific-bp.exp: Likewise.
6709 * lib/mi-support.exp: Adjust to use mi-async.
6711 2014-05-29 Pedro Alves <palves@redhat.com>
6714 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6715 reason, even in sync mode.
6717 2014-05-29 Pedro Alves <palves@redhat.com>
6718 Hui Zhu <hui@codesourcery.com>
6721 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6722 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6723 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6724 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6726 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6728 * config/monitor.exp (gdb_target_monitor): Replace use of
6729 "set remotebaud" by "set serial baud".
6731 2014-05-26 Andy Wingo <wingo@igalia.com>
6733 * gdb.guile/scm-breakpoint.exp:
6734 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6735 properties instead of gdb-object-properties.
6737 2014-05-26 Yao Qi <yao@codesourcery.com>
6739 * gdb.server/no-thread-db.exp: Specify source file name
6740 explicitly when setting a breakpoint.
6742 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6744 * gdb.btrace/vdso.c: New.
6745 * gdb.btrace/vdso.exp: New.
6747 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6749 * gdb.base/gcore.exp (capture_command_output): Move ...
6750 * lib/gdb.exp (capture_command_output): ... here.
6752 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6754 * gdb.btrace/data.exp: Test memory access during btrace replay.
6756 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6758 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6760 2014-05-21 Pedro Alves <palves@redhat.com>
6763 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6764 (top level): Test that output related to execution commands is
6765 sent to the console with CLI commands, but not with MI commands.
6766 Test that breakpoint events are always mirrored to the console.
6767 Also expect the new source line to be output after a "next" in
6768 async mode too. Make it a pass/fail test.
6769 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6771 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6773 2014-05-21 Pedro Alves <palves@redhat.com>
6775 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6776 Use them to test variations of "list" after reaching a breakpoint.
6777 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6778 Test "list" with listsize 10 after reaching a breakpoint.
6779 * gdb.python/python.exp (decode_line current location line
6780 number): Adjust expected line number.
6782 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6784 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6785 behavior for $args, pass it directly to "run".
6787 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6789 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6792 2014-05-21 Pedro Alves <palves@redhat.com>
6794 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6795 auto-connect-native-target off".
6796 * gdb.base/auto-connect-native-target.c: New file.
6797 * gdb.base/auto-connect-native-target.exp: New file.
6799 2014-05-21 Pedro Alves <palves@redhat.com>
6801 * gdb.base/default.exp: Test "target native" instead of "target
6804 2014-05-21 Mark Wielaard <mjw@redhat.com>
6806 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6808 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6810 Fix TLS access for -static -pthread.
6811 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6812 <HAVE_TLS> (thread_function, main): Initialize it.
6813 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6815 <$have_tls != "">: Check TLSVAR.
6817 2014-05-21 Pedro Alves <palves@redhat.com>
6819 * gdb.base/dcache-line-read-error.c: New.
6820 * gdb.base/dcache-line-read-error.exp: New.
6822 2014-05-20 Pedro Alves <palves@redhat.com>
6824 * gdb.base/compare-sections.c: New file.
6825 * gdb.base/compare-sections.exp: New file.
6827 2014-05-20 Pedro Alves <palves@redhat.com>
6829 * gdb.base/break-idempotent.c: New file.
6830 * gdb.base/break-idempotent.exp: New file.
6832 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6834 * gdb.btrace/nohist.exp: New.
6836 2014-05-20 Yao Qi <yao@codesourcery.com>
6838 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6839 gdb.reverse directory and gdb_reverse_timeout exists in board
6841 * README: Document gdb_reverse_timeout.
6843 2014-05-20 Yao Qi <yao@codesourcery.com>
6845 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6846 'test_file_name'. Treat args as a string instead of a list.
6847 (gdb_init): Rename argument 'args' by 'test_file_name'.
6849 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6851 * gdb.arch/powerpc-power.exp: New file.
6852 * gdb.arch/powerpc-power.s: New file.
6854 2014-05-16 Doug Evans <dje@google.com>
6856 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6857 * gdb.base/completion.exp: Check that all expected files exist
6858 before doing file completion.
6860 2014-05-16 Doug Evans <dje@google.com>
6862 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6864 (do_syscall_tests_without_xml): Update.
6866 2014-05-16 Pedro Alves <palves@redhat.com>
6868 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6869 instead of "unknown output after running".
6871 2014-05-16 Yao Qi <yao@codesourcery.com>
6873 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6874 file1.txt from host at the end.
6875 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6877 2014-05-15 Doug Evans <dje@google.com>
6879 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6880 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6881 loading file. Add test for TU lookup.
6883 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6885 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6886 calling "-exec-arguments" or "set args" before running the
6889 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6891 * lib/mi-support.exp (mi_expect_stop): Expect message for
6892 inferiors that exit with non-zero exit code.
6894 2014-05-14 Yao Qi <yao@codesourcery.com>
6896 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6897 match absolute path on remote host.
6898 (test_file_list_exec_source_files): Remove "/" from the
6901 2014-05-14 Yao Qi <yao@codesourcery.com>
6903 * boards/local-remote-host-notty.exp (${board}_file): New
6906 2014-05-07 Kyle McMartin <kyle@redhat.com>
6908 Pushed by Joel Brobecker <brobecker@adacore.com>.
6909 * gdb.arch/aarch64-atomic-inst.c: New file.
6910 * gdb.arch/aarch64-atomic-inst.exp: New file.
6912 2014-05-07 Yao Qi <yao@codesourcery.com>
6914 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6915 in current context" too.
6917 2014-05-05 Keith Seitz <keiths@redhat.com>
6919 * gdb.linespec/ls-dollar.exp: Add test for linespec
6920 file:convenience_variable.
6922 2014-05-05 Yao Qi <yao@codesourcery.com>
6924 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6925 traceframes into tfile and ctf trace files. Read data from
6926 trace file and test collected data.
6927 (gdb_collect_locals_test): Likewise.
6928 (gdb_unavailable_registers_test): Likewise.
6929 (gdb_unavailable_floats): Likewise.
6930 (gdb_collect_globals_test): Likewise.
6931 (top-level): Append "ctf" to trace_file_targets if GDB
6934 2014-05-05 Yao Qi <yao@codesourcery.com>
6936 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6938 (gdb_collect_args_test_1): ... it. New proc.
6939 (gdb_collect_locals_test): Move some code to ...
6940 (gdb_collect_locals_test_1): ... it. New proc.
6941 (gdb_unavailable_registers_test): Move some code to ...
6942 (gdb_unavailable_registers_test_1): ... it. New proc.
6943 (gdb_unavailable_floats): Move some code to ...
6944 (gdb_unavailable_floats_1): ... it. New proc.
6946 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6948 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6949 probes to test for bitness recognition.
6950 * gdb.arch/amd64-stap-optional-prefix.exp
6951 (test_probe_value_without_reg): New procedure.
6952 Add code to test for different kinds of bitness.
6954 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6956 PR breakpoints/16889
6957 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6958 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6960 2014-05-01 Pedro Alves <palves@redhat.com>
6962 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6963 gdb_file_cmd if no file is specified.
6964 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6965 last_loaded_file to set the remote exec-file.
6967 2014-05-01 Pedro Alves <palves@redhat.com>
6969 * boards/local-remote-host.exp: New file.
6971 2014-05-01 Pedro Alves <palves@redhat.com>
6973 * boards/local-remote-host.exp: Rename to ...
6974 * boards/local-remote-host-notty.exp: ... this.
6976 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6978 * gdb.ada/dyn_arrayidx: New testcase.
6980 2014-04-26 Yao Qi <yao@codesourcery.com>
6982 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6983 and compute the length of function main. Save it in
6985 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6986 (top-level): Use gdb_compile to compile objects into
6987 executable and restart GDB. Remove invocation to
6988 prepare_for_testing.
6990 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6991 Pedro Alves <palves@redhat.com>
6994 * gdb.multi/multi-attach.c: New file.
6995 * gdb.multi/multi-attach.exp: New file.
6997 2014-04-25 Pedro Alves <palves@redhat.com>
6999 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7001 (top level): Test that "set remote conditional-breakpoints-packet
7002 off" works as intended.
7003 * gdb.base/dprintf.exp: Test that "set remote
7004 breakpoint-commands-packet off" works as intended.
7005 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7007 (top level): Call it.
7008 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7009 remote fast-tracepoints-packet off" works as intended.
7010 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7011 * lib/gdb.exp (gdb_is_target_remote): ... here.
7013 2014-04-24 David Blaikie <dblaikie@gmail.com>
7015 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7016 ensure clang would not discard them.
7017 * gdb.base/gdbvars.c: Ditto.
7018 * gdb.base/memattr.c: Ditto.
7019 * gdb.base/whatis.c: Ditto.
7020 * gdb.python/py-prettyprint.c: Ditto.
7021 * gdb.trace/actions.c: Ditto.
7022 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7023 ensure clang would not discard it.
7025 2014-04-24 David Blaikie <dblaikie@gmail.com>
7027 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7028 clang to emit the full definition of type required by the test
7029 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7031 2014-04-24 David Blaikie <dblaikie@gmail.com>
7033 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7034 coax Clang into emitting the definition of the type.
7035 * gdb.cp/pr10728-x.h (y): Ditto.
7036 * gdb.cp/pr10728-y.cc (y): Ditto.
7038 2014-04-24 David Blaikie <dblaikie@gmail.com>
7040 * gdb.base/label.exp: XFAIL label related tests under Clang.
7041 * gdb.cp/cplabel.exp: Ditto.
7042 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7043 under Clang those using labels.
7045 2014-04-25 Yao Qi <yao@codesourcery.com>
7047 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7049 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7050 partial_label and double_label.
7052 2014-04-24 David Blaikie <dblaikie@gmail.com>
7054 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7056 2014-04-24 David Blaikie <dblaikie@gmail.com>
7058 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7059 of the function to work across GCC and Clang.
7060 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7061 pointer types (const void ** const V void **).
7063 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7064 Walfred Tedeschi <walfred.tedeschi@intel.com>
7066 * Makefile.in (EXECUTABLES): Added i386-avx512.
7067 * gdb.arch/i386-avx512.c: New file.
7068 * gdb.arch/i386-avx512.exp: Likewise.
7070 2014-04-23 Keith Seitz <keiths@redhat.com>
7072 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7073 (mi_make_breakpoint_table): New procedure.
7074 (mi_create_breakpoint): Use mi_make_breakpoint
7075 and return the result.
7076 (mi_make_breakpoint): New procedure.
7077 (mi_build_kv_pairs): New procedure.
7079 * gdb.mi/mi-break.exp: Remove unused globals,
7080 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7081 All callers updated.
7082 * gdb.mi/mi-dprintf.exp: Use variable to track command
7084 Update all callers of mi_create_breakpoint and use
7085 mi_make_breakpoint_table.
7086 Remove any unused global variables.
7087 * gdb.mi/mi-nonstop.exp: Likewise.
7088 * gdb.mi/mi-nsintrall.exp: Likewise.
7089 * gdb.mi/mi-nsmoribund.exp: Likewise.
7090 * gdb.mi/mi-nsthrexec.exp: Likewise.
7091 * gdb.mi/mi-reverse.exp: Likewise.
7092 * gdb.mi/mi-simplerun.exp: Likewise.
7093 * gdb.mi/mi-stepn.exp: Likewise.
7094 * gdb.mi/mi-syn-frame.exp: Likewise.
7095 * gdb.mi/mi-until.exp: Likewise.
7096 * gdb.mi/mi-var-cp.exp: Likewise.
7097 * gdb.mi/mi-var-display.exp: Likewise.
7098 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7099 * gdb.mi/mi2-var-child.exp: Likewise.
7100 * gdb.mi/mi-vla-c99.exp: Likewise.
7101 * lib/mi-support.exp: Likewise.
7103 From Ian Lance Taylor <iant@cygnus.com>:
7104 * lib/gdb.exp (parse_args): New procedure.
7106 2014-04-23 Pedro Alves <palves@redhat.com>
7108 * gdb.base/break-unload-file.c: New file.
7109 * gdb.base/break-unload-file.exp: New file.
7110 * gdb.base/sym-file-lib.c (baz): New function.
7111 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7113 (load): Store the segment's mapped size.
7114 (unload): New function.
7115 (unload_shlib): New function.
7116 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7117 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7118 set a breakpoint at baz, and call it.
7119 * gdb.base/sym-file.exp: New tests for stale breakpoint
7122 2014-04-23 Pedro Alves <palves@redhat.com>
7124 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7125 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7126 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7127 * gdb.base/hbreak-unmapped.c: New file.
7128 * gdb.base/hbreak-unmapped.exp: New file.
7129 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7130 * lib/gdb.exp (gdb_is_target_remote): ... here.
7132 2014-04-22 Pedro Alves <palves@redhat.com>
7134 * gdb.base/consecutive-step-over.c: New file.
7135 * gdb.base/consecutive-step-over.exp: New file.
7137 2014-04-22 Pedro Alves <palves@redhat.com>
7139 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7140 instead of send_gdb/gdb_expect.
7142 2014-04-22 Yao Qi <yao@codesourcery.com>
7144 * lib/trace-support.exp (generate_tracefile): New procedure.
7145 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7147 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7148 if generate_tracefile returns 1.
7150 2014-04-18 Tom Tromey <palves@redhat.com>
7151 Pedro alves <tromey@redhat.com>
7154 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7155 with a backtrace limit.
7156 * gdb.python/py-frame-inline.exp: Test running to an inline
7157 function with a backtrace limit, and printing the newest frame.
7158 * gdb.python/py-frame-inline.c (main): Call f.
7160 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7162 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7164 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7166 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7167 Drop prefix from unsupported source file path.
7169 2014-04-17 Yao Qi <yao@codesourcery.com>
7171 * lib/gdb.exp (with_target_charset): New proc.
7172 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7173 with_target_charset.
7174 (test_print_strings): Likewise.
7175 (test_repeat_bytes): Likewise.
7176 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7179 2014-04-16 Keith Seitz <keiths@redhat.com>
7182 * gdb.dwarf2/corrupt.c: New file.
7183 * gdb.dwarf2/corrupt.exp: New file.
7185 2014-04-16 Keith Seitz <keiths@redhat.com>
7188 * gdb.cp/namelessclass.cc: New file.
7189 * gdb.cp/namelessclass.exp: New file.
7190 * gdb.cp/namelessclass.S: New file.
7192 2014-04-16 Doug Evans <dje@google.com>
7194 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7196 (gdbserver_default_get_comm_port): New function.
7197 (gdbserver_start): Check if board file provided
7198 "gdbserver,get_comm_port" and use it if so.
7199 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7200 (gdb,socketport): Set to "stdio".
7201 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7202 (stdio_gdbserver_template): Delete.
7203 (${board}_get_remote_address): Update.
7204 (${board}_build_remote_cmd): Delete.
7205 (${board}_get_comm_port): New function.
7206 (${board}_spawn): Update.
7207 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7209 (${board}_get_remote_address): Update.
7210 (${board}_get_comm_port): New function.
7212 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7214 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7215 appearing in any order.
7217 2014-04-15 Doug Evans <dje@google.com>
7219 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7220 uninitialized value of "description".
7222 2014-04-15 Keith Seitz <keiths@redhat.com>
7224 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7225 Remove unused globals.
7226 (test_running_the_program): Likewise.
7227 (test_controlled_execution): Likewise.
7228 (test_controlling_breakpoints): Likewise.
7229 (test_program_termination): Likewise.
7231 2014-04-15 Keith Seitz <keiths@redhat.com>
7233 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7235 (test_rbreak_creation_and_listing): Likewise.
7236 (test_ignore_count): Likewise.
7237 (test_error): Likewise.
7239 2014-04-15 Pedro Alves <palves@redhat.com>
7241 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7242 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7244 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7245 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7246 to sym-file-loader.c.
7247 (struct library): Forward declare.
7248 (load_shlib, lookup_function): Change prototypes.
7249 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7250 (translate_offset): Remove declarations.
7251 (get_text_addr): New declaration.
7252 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7253 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7255 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7256 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7257 here from sym-file-loader.h.
7258 (struct library): New structure.
7259 (load_shlib, lookup_function): Change prototypes and adjust to
7260 work with a struct library.
7261 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7262 (translate_offset): Make static.
7263 (get_text_addr): New function.
7264 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7266 2014-04-15 Pedro Alves <palves@redhat.com>
7268 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7270 2014-04-15 Pedro Alves <palves@redhat.com>
7272 * gdb.base/sym-file-loader.c: Include <limits.h>.
7273 (SELF_LINK): New define.
7274 (get_origin): New function.
7275 (load_shlib): Use it.
7276 * gdb.base/sym-file.exp: Don't early return if the target is
7277 remote. Use runto_main, and issue fail is that fails. Use
7279 (shlib_name): Delete.
7280 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7282 2014-04-15 Pedro Alves <palves@redhat.com>
7284 * gdb.base/sym-file.exp: Remove regex characters from test
7285 message. Don't refer to breakpoint numbers in test messages.
7287 2014-04-14 Keith Seitz <keiths@redhat.com>
7290 * gdb.cp/var-tag.cc: New file.
7291 * gdb.cp/var-tag.exp: New file.
7292 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7293 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7294 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7295 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7297 2014-04-14 Tom Tromey <tromey@redhat.com>
7299 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7300 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7302 * gdb.cp/enum-class.exp: New file.
7303 * gdb.cp/enum-class.cc: New file.
7305 2014-04-14 Tom Tromey <tromey@redhat.com>
7307 * gdb.dwarf2/enum-type.exp: New file.
7309 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7311 * gdb.mi/mi-vla-c99.exp: New file.
7312 * gdb.mi/vla.c: New file.
7314 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7316 * gdb.base/vla-datatypes.c: New file.
7317 * gdb.base/vla-datatypes.exp: New file.
7319 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7321 * gdb.base/vla-ptr.c: New file.
7322 * gdb.base/vla-ptr.exp: New file.
7324 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7326 * gdb.dwarf2/count.exp: New file.
7328 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7330 * gdb.base/vla-sideeffect.c: New file.
7331 * gdb.base/vla-sideeffect.exp: New file.
7333 2014-04-14 David Blaikie <dblaikie@gmail.com>
7335 * gdb.mi/non-stop.c: Add return value for non-void function return
7337 * gdb.threads/staticthreads.c: Ditto.
7339 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7340 Doug Evans <xdje42@gmail.com>
7342 * gdb.guile/scm-value.c: Improve test case.
7343 * gdb.guile/scm-value.exp: Add new test.
7345 2014-04-11 David Blaikie <dblaikie@gmail.com>
7347 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7348 override Clang's default.
7350 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7352 Revert the following changes (regressions):
7354 * gdb.base/vla-sideeffect.c: New file.
7355 * gdb.base/vla-sideeffect.exp: New file.
7357 * gdb.dwarf2/count.exp: New file.
7359 * gdb.base/vla-multi.c: New file.
7360 * gdb.base/vla-multi.exp: New file.
7362 * gdb.base/vla-ptr.c: New file.
7363 * gdb.base/vla-ptr.exp: New file.
7365 * gdb.base/vla-datatypes.c: New file.
7366 * gdb.base/vla-datatypes.exp: New file.
7368 * gdb.mi/mi-vla-c99.exp: New file.
7369 * gdb.mi/vla.c: New file.
7371 2014-04-11 Keith Seitz <keiths@redhat.com>
7374 * gdb.cp/cpsizeof.exp: New file.
7375 * gdb.cp/cpsizeof.cc: New file.
7377 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7379 * gdb.mi/mi-vla-c99.exp: New file.
7380 * gdb.mi/vla.c: New file.
7382 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7384 * gdb.base/vla-datatypes.c: New file.
7385 * gdb.base/vla-datatypes.exp: New file.
7387 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7389 * gdb.base/vla-ptr.c: New file.
7390 * gdb.base/vla-ptr.exp: New file.
7392 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7394 * gdb.base/vla-multi.c: New file.
7395 * gdb.base/vla-multi.exp: New file.
7397 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7399 * gdb.dwarf2/count.exp: New file.
7401 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7403 * gdb.base/vla-sideeffect.c: New file.
7404 * gdb.base/vla-sideeffect.exp: New file.
7406 2014-04-11 Yao Qi <yao@codesourcery.com>
7408 * gdb.base/completion.exp: Check file exists before running tests
7411 2014-04-10 Pedro Alves <palves@redhat.com>
7413 * gdb.base/cond-eval-mode.c: New file.
7414 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7415 prepare_for_testing to build the new file. Check result of
7417 (test_break, test_watch): New procedures.
7418 (top level): Use them.
7420 2014-04-08 Pierre Muller <muller@sourceware.org>
7422 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7423 Ctrl-V use for mingw hosts.
7425 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7427 * gdb.python/py-value.c: Improve test case.
7428 * gdb.python/py-value.exp: Add new test.
7430 2014-04-07 David Blaikie <dblaikie@gmail.com>
7432 * lib/compiler.c: Identify the clang compiler.
7433 * lib/compiler.cc: Ditto.
7435 2014-04-03 Yao Qi <yao@codesourcery.com>
7437 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7439 2014-04-01 Anton Blanchard <anton@samba.org>
7441 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7444 2014-04-01 Anton Blanchard <anton@samba.org>
7446 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7447 prepare_for_testing.
7449 2014-04-01 Anton Blanchard <anton@samba.org>
7451 * gdb.arch/ppc64-atomic-inst.c: Remove.
7452 * gdb.arch/ppc64-atomic-inst.S: New file.
7453 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7455 2014-03-31 Doug Evans <dje@google.com>
7457 * gdb.base/print-symbol-loading-lib.c: New file.
7458 * gdb.base/print-symbol-loading-main.c: New file.
7459 * gdb.base/print-symbol-loading.exp: New file.
7461 2014-03-31 Yao Qi <yao@codesourcery.com>
7463 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7465 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7467 * gdb.ada/mi_dyn_arr: New testcase.
7469 2014-03-27 Doug Evans <dje@google.com>
7471 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7473 2014-03-27 Yao Qi <yao@codesourcery.com>
7475 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7476 if target is nios2-*-*.
7478 2014-03-26 Yao Qi <yao@codesourcery.com>
7480 * lib/gdb.exp (readline_is_used): New proc.
7481 * gdb.base/completion.exp: Move tests on command complete up.
7482 Skip the rest of tests if readline is not used.
7483 * gdb.ada/complete.exp: Skp the test if readline is not
7485 * gdb.base/filesym.exp: Likewise.
7486 * gdb.base/macscp.exp: Likewise.
7487 * gdb.base/readline-ask.exp: Likewise.
7488 * gdb.base/readline.exp: Likewise.
7489 * gdb.python/py-cmd.exp: Likewise.
7490 * gdb.trace/tfile.exp: Likewise.
7492 2014-03-26 Yao Qi <yao@codesourcery.com>
7494 * gdb.base/macscp.exp: Fix code format issues.
7496 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7498 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7499 * gdb.asm/powerpc64le.inc: New file.
7501 2014-03-25 Pedro Alves <palves@redhat.com>
7502 Doug Evans <dje@google.com>
7504 * gdb.base/source-execution.c: New file.
7505 * gdb.base/source-execution.exp: New file.
7506 * gdb.base/source-execution.gdb: New file.
7508 2014-03-24 Doug Evans <dje@google.com>
7510 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7513 2014-03-24 Hui Zhu <hui@codesourcery.com>
7514 Pedro Alves <palves@redhat.com>
7516 PR breakpoints/16101
7517 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7518 test pass/fail messages. Detect missing support for dprintf when
7519 breakpoints are actually inserted.
7520 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7521 breakpoints are actually inserted.
7522 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7525 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7527 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7529 2014-03-22 Doug Evans <xdje42@gmail.com>
7531 * gdb.python/python.exp (python not supported): Verify multi-line
7532 python command issues an error.
7533 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7534 guile command issues an error.
7536 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7538 * gdb.threads/thread-specific.exp: Handle the lack of usable
7539 $this_breakpoint and $this_thread.
7541 2014-03-21 Hui Zhu <hui@codesourcery.com>
7543 * gdb.base/attach.exp (do_command_attach_tests): New.
7545 2014-03-20 Tom Tromey <tromey@redhat.com>
7546 Pedro Alves <palves@redhat.com>
7549 * gdb.base/condbreak-call-false.c: New file.
7550 * gdb.base/condbreak-call-false.exp: New file.
7552 2014-03-20 Pedro Alves <palves@redhat.com>
7554 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7556 (block_signals, unblock_signals): Delete.
7557 (child_function_2, main): Remove references to deleted variable
7560 2014-03-20 Pedro Alves <palves@redhat.com>
7562 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7563 Use pthread_kill to signal thread 2.
7564 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7565 Adjust to make the test send itself a signal rather than using the
7566 host's "kill" command.
7568 2014-03-20 Pedro Alves <palves@redhat.com>
7570 * gdb.threads/multiple-step-overs.c: New file.
7571 * gdb.threads/multiple-step-overs.exp: New file.
7572 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7573 Adjust expected infrun debug output.
7575 2014-03-20 Pedro Alves <palves@redhat.com>
7577 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7578 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7580 2014-03-20 Pedro Alves <palves@redhat.com>
7583 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7584 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7585 of gdb_test_multiple.
7586 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7587 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7589 2014-03-20 Pedro Alves <palves@redhat.com>
7591 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7592 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7594 2014-03-19 Pedro Alves <palves@redhat.com>
7596 * gdb.base/async.exp: Remove early return.
7598 2014-03-19 Pedro Alves <palves@redhat.com>
7600 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7602 2014-03-19 Pedro Alves <palves@redhat.com>
7604 * gdb.base/async.exp (test_background): Expect \r\n after
7605 "completed." in the fail pattern.
7607 2014-03-19 Pedro Alves <palves@redhat.com>
7609 * gdb.base/async.exp (test_background): New procedure.
7610 Use it for all background execution command tests.
7612 2014-03-19 Pedro Alves <palves@redhat.com>
7614 * gdb.base/async.exp: Use prepare_for_testing.
7616 2014-03-19 Pedro Alves <palves@redhat.com>
7618 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7621 2014-03-19 Pedro Alves <palves@redhat.com>
7623 * gdb.base/async.c (main): Add "jump here" and "until here" line
7625 * gdb.base/async.exp (jump_here): New global.
7626 (jump& test): Use it.
7627 (until_here): New global.
7628 (until& test): Use it.
7630 2014-03-19 Pedro Alves <palves@redhat.com>
7632 * gdb.base/async.exp: Don't frob gdb_protocol.
7634 2014-03-18 Doug Evans <xdje42@gmail.com>
7636 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7637 Fix spelling of exec-done-display.
7639 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7642 * gdb.base/gdb-sigterm.c: New file.
7643 * gdb.base/gdb-sigterm.exp: New file.
7645 2014-03-18 Pedro Alves <palves@redhat.com>
7648 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7649 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7652 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7654 * gdb.ada/pckd_arr_ren: New testcase.
7656 2014-03-13 Doug Evans <xdje42@gmail.com>
7659 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7660 collect after discarding symbols.
7662 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7663 Doug Evans <xdje42@gmail.com>
7665 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7666 to history survives a gc.
7668 2014-03-13 Pedro Alves <palves@redhat.com>
7670 * gdb.base/default.exp: Don't test "target procfs".
7672 2014-03-13 Pedro Alves <palves@redhat.com>
7674 * gdb.base/default.exp: Update "target child" and "target procfs"
7675 tests to not expect "Unix".
7677 2014-03-12 Tom Tromey <tromey@redhat.com>
7679 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7680 New procs. Add target-async tests.
7681 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7682 Add target-async tests.
7684 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7686 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7687 'func_start' and 'func_end' for the beginning and end of the
7688 function code, respectively.
7689 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7690 'func_end' instead of 'func' and 'main'.
7692 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7694 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7695 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7696 generate the debug info assembler source.
7698 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7700 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7701 * gdb.dwarf2/arr-subrange.exp: Likewise.
7702 * gdb.dwarf2/dwz.exp: Likewise.
7703 * gdb.dwarf2/method-ptr.exp: Likewise.
7704 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7705 * gdb.dwarf2/subrange.exp: Likewise.
7706 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7707 * gdb.dwarf2/implptrpiece.exp: Likewise.
7708 * gdb.dwarf2/nostaticblock.exp: Likewise.
7710 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7712 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7713 directory to absolute path name arguments.
7715 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7717 * gdb.ada/tagged_access: New testcase.
7719 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7721 * gdb.btrace/data.exp: Update expected output.
7723 2014-03-06 Yao Qi <yao@codesourcery.com>
7725 * gdb.trace/pr16508.exp: New file.
7727 2014-03-05 Pedro Alves <palves@redhat.com>
7730 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7732 (top level): Adjust to use it. Add tests that exercise breakpoint
7733 interaction with the code-cache.
7735 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7737 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7738 test for 'history-append!'.
7740 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7742 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7743 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7744 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7745 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7746 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7747 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7749 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7751 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7752 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7753 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7755 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7757 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7759 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7761 * gdb.dwarf2/arr-stride.c: New file.
7762 * gdb.dwarf2/arr-stride.exp: New file.
7764 2014-02-26 Pedro Alves <palves@redhat.com>
7766 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7767 that won't ever trigger. Make sure that GDB reports the correct
7768 breakpoint that caused the stop.
7770 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7773 * gdb.base/auto-load-script: New file.
7774 * gdb.base/auto-load.c: New file.
7775 * gdb.base/auto-load.exp: New file.
7778 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7780 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7782 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7783 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7785 2014-02-24 Doug Evans <dje@google.com>
7787 * lib/gdb.exp (run_on_host): Log error output if program fails.
7789 2014-02-21 Pedro Alves <palves@redhat.com>
7791 * gdb.threads/step-after-sr-lock.c: Rename to ...
7792 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7793 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7794 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7797 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7800 * gdb.arch/amd64-stap-special-operands.exp: New file.
7801 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7802 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7803 * gdb.arch/amd64-stap-triplet.S: Likewise.
7804 * gdb.arch/amd64-stap-triplet.c: Likewise.
7806 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7808 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7809 in .section pseudo-op.
7811 2014-02-20 lin zuojian <manjian2006@gmail.com>
7812 Joel Brobecker <brobecker@adacore.com>
7813 Doug Evans <xdje42@gmail.com>
7816 * gdb.dwarf2/dw2-icycle.S: New file.
7817 * gdb.dwarf2/dw2-icycle.c: New file.
7818 * gdb.dwarf2/dw2-icycle.exp: New file.
7820 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7822 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7823 operations on gdb.Value objects.
7824 * gdb.python/py-value-cc.exp: Add new test to test operations on
7827 2014-02-18 Doug Evans <dje@google.com>
7829 * Makefile.in (TESTS): New variable.
7830 (expanded_tests, expanded_tests_or_none): New variables
7831 (check-single): Pass $(expanded_tests_or_none) to runtest.
7832 (check-parallel): Only run tests in $(TESTS) if non-empty.
7833 (check/no-matching-tests-found): New rule.
7834 * README: Document TESTS makefile variable.
7836 2014-02-18 Doug Evans <dje@google.com>
7838 * Makefile.in (check-parallel): rm -rf outputs temp.
7840 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7842 Fix "ERROR: no fileid for" in the testsuite.
7843 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7845 2014-02-12 Doug Evans <dje@google.com>
7847 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7848 (MISCELLANEOUS): New variable.
7849 (clean): rm -rf $(MISCELLANEOUS).
7850 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7851 dwp live in the same directory as symlinks, with each symlink pointed
7852 to a differently named file in a different directory.
7854 2014-02-11 Doug Evans <dje@google.com>
7856 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7857 of Tcl file commands.
7859 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7861 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7864 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7866 * gdb.ada/tick_length_array_enum_idx: New testcase.
7868 2014-02-10 Doug Evans <xdje42@gmail.com>
7870 * configure.ac (AC_OUTPUT): Add gdb.guile.
7871 * configure: Regenerate.
7872 * lib/gdb-guile.exp: New file.
7873 * lib/gdb.exp (get_target_charset): New function.
7874 * gdb.base/help.exp: Update expected output from "apropos apropos".
7875 * gdb.guile/Makefile.in: New file.
7876 * gdb.guile/guile.exp: New file.
7877 * gdb.guile/scm-arch.c: New file.
7878 * gdb.guile/scm-arch.exp: New file.
7879 * gdb.guile/scm-block.c: New file.
7880 * gdb.guile/scm-block.exp: New file.
7881 * gdb.guile/scm-breakpoint.c: New file.
7882 * gdb.guile/scm-breakpoint.exp: New file.
7883 * gdb.guile/scm-disasm.c: New file.
7884 * gdb.guile/scm-disasm.exp: New file.
7885 * gdb.guile/scm-equal.c: New file.
7886 * gdb.guile/scm-equal.exp: New file.
7887 * gdb.guile/scm-error.exp: New file.
7888 * gdb.guile/scm-error.scm: New file.
7889 * gdb.guile/scm-frame-args.c: New file.
7890 * gdb.guile/scm-frame-args.exp: New file.
7891 * gdb.guile/scm-frame-args.scm: New file.
7892 * gdb.guile/scm-frame-inline.c: New file.
7893 * gdb.guile/scm-frame-inline.exp: New file.
7894 * gdb.guile/scm-frame.c: New file.
7895 * gdb.guile/scm-frame.exp: New file.
7896 * gdb.guile/scm-generics.exp: New file.
7897 * gdb.guile/scm-gsmob.exp: New file.
7898 * gdb.guile/scm-iterator.c: New file.
7899 * gdb.guile/scm-iterator.exp: New file.
7900 * gdb.guile/scm-math.c: New file.
7901 * gdb.guile/scm-math.exp: New file.
7902 * gdb.guile/scm-objfile-script-gdb.in: New file.
7903 * gdb.guile/scm-objfile-script.c: New file.
7904 * gdb.guile/scm-objfile-script.exp: New file.
7905 * gdb.guile/scm-objfile.c: New file.
7906 * gdb.guile/scm-objfile.exp: New file.
7907 * gdb.guile/scm-ports.exp: New file.
7908 * gdb.guile/scm-pretty-print.c: New file.
7909 * gdb.guile/scm-pretty-print.exp: New file.
7910 * gdb.guile/scm-pretty-print.scm: New file.
7911 * gdb.guile/scm-section-script.c: New file.
7912 * gdb.guile/scm-section-script.exp: New file.
7913 * gdb.guile/scm-section-script.scm: New file.
7914 * gdb.guile/scm-symbol.c: New file.
7915 * gdb.guile/scm-symbol.exp: New file.
7916 * gdb.guile/scm-symtab-2.c: New file.
7917 * gdb.guile/scm-symtab.c: New file.
7918 * gdb.guile/scm-symtab.exp: New file.
7919 * gdb.guile/scm-type.c: New file.
7920 * gdb.guile/scm-type.exp: New file.
7921 * gdb.guile/scm-value-cc.cc: New file.
7922 * gdb.guile/scm-value-cc.exp: New file.
7923 * gdb.guile/scm-value.c: New file.
7924 * gdb.guile/scm-value.exp: New file.
7925 * gdb.guile/source2.scm: New file.
7926 * gdb.guile/types-module.cc: New file.
7927 * gdb.guile/types-module.exp: New file.
7929 2014-02-10 Yao Qi <yao@codesourcery.com>
7932 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7933 * configure: Regenerated.
7934 * Makefile.in: New file.
7936 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7938 * gdb.python/py-framefilter.exp: Fix typo.
7940 2014-02-08 Yao Qi <yao@codesourcery.com>
7942 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7943 that no =breakpoint-modified is emitted when breakpoints are
7944 modified through MI commands.
7946 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7947 Pedro Alves <palves@redhat.com>
7949 * gdb.threads/step-after-sr-lock.c: New file.
7950 * gdb.threads/step-after-sr-lock.exp: New file.
7952 2014-02-07 Pedro Alves <palves@redhat.com>
7954 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7956 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7958 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7959 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7961 2014-02-06 Doug Evans <xdje42@gmail.com>
7963 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7966 * gdb.gdb/python-interrupts.exp: New file.
7968 2014-02-05 Yao Qi <yao@codesourcery.com>
7970 * gdb.trace/report.exp (use_collected_data): Test the output
7971 of "info threads" and "info inferiors".
7973 2014-02-05 Yao Qi <yao@codesourcery.com>
7977 2013-05-24 Yao Qi <yao@codesourcery.com>
7979 * gdb.trace/tfile.exp: Test inferior and thread.
7981 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7983 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7985 * gdb.base/step-bt.c: Call hello via function pointer to make
7986 sure its first instruction is executed on powerpc64le-linux.
7988 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7990 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7992 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7994 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7995 of the test patterns for use on little-endian systems.
7997 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7999 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8000 (decimal_vector): Fix for little-endian.
8002 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8004 * gdb.arch/sparc-sysstep.exp: New file.
8005 * gdb.arch/sparc-sysstep.c: Likewise.
8007 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8009 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8011 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8013 2014-01-23 Tom Tromey <tromey@redhat.com>
8015 * gdb.ada/array_char_idx: New testcase.
8017 2014-01-23 Tom Tromey <tromey@redhat.com>
8020 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8021 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8024 2014-01-23 Tom Tromey <tromey@redhat.com>
8027 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8028 string from an inferior frame.
8029 * gdb.python/py-framefilter-mi.exp: Update.
8031 2014-01-22 Doug Evans <dje@google.com>
8033 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8035 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8037 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8039 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8041 * gdb.trace/entry-values.exp: Remove excess space character from
8042 regex patterns. Handle s390 call instruction.
8044 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8046 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8047 define "*_start" label. Make "name" static.
8048 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8049 ${name} by references to ${name}_start.
8051 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8053 * gdb.base/info-macros.exp: Remove "debug" from the compile
8056 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8058 * gdb.dlang/demangle.exp: New file.
8060 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8062 * gdb.dlang/primitive-types.exp: New file.
8064 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8066 * configure.ac: Create gdb.dlang/Makefile.
8067 * configure: Regenerate.
8068 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8069 * gdb.dlang/Makefile.in: New file.
8070 * lib/d-support.exp: New file.
8071 * lib/gdb.exp (skip_d_tests): New proc.
8073 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8075 * gdb.btrace/delta.exp: Check reverse stepi.
8076 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8077 * gdb.btrace/finish.exp: New.
8078 * gdb.btrace/next.exp: New.
8079 * gdb.btrace/nexti.exp: New.
8080 * gdb.btrace/record_goto.c: Add comments.
8081 * gdb.btrace/step.exp: New.
8082 * gdb.btrace/stepi.exp: New.
8083 * gdb.btrace/multi-thread-step.c: New.
8084 * gdb.btrace/multi-thread-step.exp: New.
8085 * gdb.btrace/rn-dl-bind.c: New.
8086 * gdb.btrace/rn-dl-bind.exp: New.
8087 * gdb.btrace/data.c: New.
8088 * gdb.btrace/data.exp: New.
8089 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8091 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8093 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8094 * gdb.btrace/exception.exp: Update.
8095 * gdb.btrace/instruction_history.exp: Update.
8096 * gdb.btrace/record_goto.exp: Update.
8097 * gdb.btrace/tailcall.exp: Update.
8098 * gdb.btrace/unknown_functions.exp: Update.
8099 * gdb.btrace/delta.exp: New.
8101 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8103 * gdb.btrace/record_goto.exp: Add backtrace test.
8104 * gdb.btrace/tailcall.exp: Add backtrace test.
8106 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8108 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8109 * gdb.btrace/record_goto.c: New.
8110 * gdb.btrace/record_goto.exp: New.
8111 * gdb.btrace/x86-record_goto.S: New.
8113 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8115 * gdb.btrace/function_call_history.exp: Update tests.
8116 * gdb.btrace/instruction_history.exp: Update tests.
8118 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8120 * gdb.btrace/function_call_history.exp: Fix expected field
8121 order for "record function-call-history".
8122 Add new tests for "record function-call-history /c".
8123 * gdb.btrace/exception.cc: New.
8124 * gdb.btrace/exception.exp: New.
8125 * gdb.btrace/tailcall.exp: New.
8126 * gdb.btrace/x86-tailcall.S: New.
8127 * gdb.btrace/x86-tailcall.c: New.
8128 * gdb.btrace/unknown_functions.c: New.
8129 * gdb.btrace/unknown_functions.exp: New.
8130 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8132 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8134 * gdb.btrace/instruction_history.exp: Update.
8135 * gdb.btrace/function_call_history.exp: Update.
8137 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8139 * gdb.btrace/function_call_history.exp: Fix expected function
8141 * gdb.btrace/instruction_history.exp: Initialize traced.
8142 Remove traced_functions.
8144 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8146 * gdb.btrace/function_call_history.exp: Update
8147 * gdb.btrace/instruction_history.exp: Update.
8149 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8151 * gdb.btrace/enable.exp: Update expected text.
8153 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8155 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8158 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8160 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8162 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8164 * lib/gdb.exp (supports_process_record): Return true for
8165 arm*-linux*. (supports_reverse): Likewise.
8167 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8171 * gdb.python/py-type.c: Enhance test case.
8172 * gdb.python/py-value-cc.cc: Likewise
8173 * gdb.python/py-type.exp: Add new tests.
8174 * gdb.python/py-value-cc.exp: Likewise
8176 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8177 Pedro Alves <palves@redhat.com>
8179 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8181 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8182 references to ${name}_start by references to ${name}.
8184 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8186 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8188 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8190 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8192 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8193 Pedro Alves <palves@redhat.com>
8195 * gdb.mi/mi-info-os.exp: Connect to the target with
8198 2014-01-08 Pedro Alves <palves@redhat.com>
8200 * gdb.threads/reconnect-signal.c: New file.
8201 * gdb.threads/reconnect-signal.exp: New file.
8203 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8205 * gdb.base/source-dir.exp: New file.
8207 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8209 * gdb.ada/mi_interface: New testcase.
8211 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8213 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8214 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8215 gdb.ada/pp-rec-component/pck.ads: New files.
8217 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8219 * gdb.python/py-pp-integral.c: New file.
8220 * gdb.python/py-pp-integral.py: New file.
8221 * gdb.python/py-pp-integral.exp: New file.
8223 For older changes see ChangeLog-1993-2013.
8229 ;; version-control: never
8232 Copyright 2014-2016 Free Software Foundation, Inc.
8233 Copying and distribution of this file, with or without modification,
8234 are permitted provided the copyright notice and this notice are preserved.