1 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
3 * gdb.base/annota-input-while-running.exp: Fix syntax error.
5 2016-05-23 Tom Tromey <tom@tromey.com>
7 PR python/19438, PR python/18393:
8 * gdb.python/py-progspace.exp: Add "dir" test.
9 * gdb.python/py-objfile.exp: Add "dir" test.
11 2016-05-23 Yao Qi <yao.qi@linaro.org>
13 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
14 * gdb.arch/thumb2-it.exp: Likewise.
16 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
18 * gdb.mi/mi-threads-interrupt.c: New file.
19 * gdb.mi/mi-threads-interrupt.exp: New file.
21 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
24 * gdb.mi/mi-async-run.exp: New file.
25 * gdb.mi/mi-async-run.c: New file.
27 2016-05-17 Tom Tromey <tom@tromey.com>
28 Manish Goregaokar <manishsmail@gmail.com>
30 * lib/rust-support.exp: New file.
31 * lib/gdb.exp (skip_rust_tests): New proc.
32 (build_executable_from_specs): Handle rust.
33 * lib/future.exp (gdb_find_rustc): New proc.
34 (gdb_default_target_compile): Handle rust.
35 * gdb.rust/expr.exp: New file.
36 * gdb.rust/generics.exp: New file.
37 * gdb.rust/generics.rs: New file.
38 * gdb.rust/methods.exp: New file.
39 * gdb.rust/methods.rs: New file.
40 * gdb.rust/modules.exp: New file.
41 * gdb.rust/modules.rs: New file.
42 * gdb.rust/simple.exp: New file.
43 * gdb.rust/simple.rs: New file.
45 2016-05-17 Tom Tromey <tom@tromey.com>
47 * gdb.base/default.exp (set language): Add rust.
49 2016-05-17 Tom Tromey <tom@tromey.com>
51 * gdb.gdb/unittest.exp: New file.
53 2016-05-16 Yao Qi <yao.qi@linaro.org>
55 * gdb.base/batch-preserve-term-settings.exp: Remove variable
56 shell_prompt. Update shell_prompt_re.
58 2016-05-12 Doug Evans <dje@google.com>
61 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
62 $options when building executable.
63 * gdb.dwarf2/fission-loclists-pie.S: New file.
64 * gdb.dwarf2/fission-loclists-pie.exp: New file.
66 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
68 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
69 of [is_remote target],
71 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
73 * lib/gdb.exp (use_gdb_stub): New procedure.
75 2016-05-03 Yunlian Jiang <yunlian@google.com>
76 Doug Evans <dje@google.com>
79 * gdb.dwarf2/dwp-sepdebug.c: New file.
80 * gdb.dwarf2/dwp-sepdebug.exp: New file.
82 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
84 * gdb.base/detach.exp: Remove is_remote check.
86 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
88 * gdb.base/annota-input-while-running.exp: Don't check for
89 [is_remote target]. Enable annotations after running to main.
90 Remove unused "set test..." line.
92 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
94 * gdb.trace/trace-enable-disable.exp: New file.
95 * gdb.trace/trace-enable-disable.c: New file.
97 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
99 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
100 use it in info sharedlibrary test.
101 * gdb.trace/ftrace-lock.exp: Likewise.
102 * gdb.trace/ftrace.exp: Likewise.
103 * gdb.trace/range-stepping.exp: Likewise.
104 * gdb.trace/trace-break.exp: Likewise.
105 * gdb.trace/trace-condition.exp: Likewise.
106 * gdb.trace/trace-mt.exp: Likewise.
108 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
110 * lib/gdb.exp (gdb_load_shlibs): Rename to...
111 (gdb_load_shlib): ... this.
112 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
114 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
115 * gdb.base/ctxobj.exp: Likewise.
116 * gdb.base/dprintf-pending.exp: Likewise.
117 * gdb.base/dso2dso.exp: Likewise.
118 * gdb.base/fixsection.exp: Likewise.
119 * gdb.base/gcore-relro.exp: Likewise.
120 * gdb.base/gdb1555.exp: Likewise.
121 * gdb.base/global-var-nested-by-dso.exp: Likewise.
122 * gdb.base/gnu-ifunc.exp: Likewise.
123 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
124 * gdb.base/jit-so.exp (one_jit_test): Likewise.
125 * gdb.base/pending.exp: Likewise.
126 * gdb.base/print-file-var.exp: Likewise.
127 * gdb.base/print-symbol-loading.exp: Likewise.
128 * gdb.base/shlib-call.exp: Likewise.
129 * gdb.base/shreloc.exp: Likewise.
130 * gdb.base/so-impl-ld.exp: Likewise.
131 * gdb.base/solib-disc.exp: Likewise.
132 * gdb.base/solib-nodir.exp: Likewise.
133 * gdb.base/solib-overlap.exp: Likewise.
134 * gdb.base/solib-symbol.exp: Likewise.
135 * gdb.base/solib-weak.exp (do_test): Likewise.
136 * gdb.base/sym-file.exp: Likewise.
137 * gdb.base/symtab-search-order.exp: Likewise.
138 * gdb.base/type-opaque.exp: Likewise.
139 * gdb.base/unload.exp: Likewise.
140 * gdb.base/watchpoint-solib.exp: Likewise.
141 * gdb.compile/compile.exp: Likewise.
142 * gdb.cp/gdb2384.exp: Likewise.
143 * gdb.cp/infcall-dlopen.exp: Likewise.
144 * gdb.cp/re-set-overloaded.exp: Likewise.
145 * gdb.fortran/library-module.exp: Likewise.
146 * gdb.opt/solib-intra-step.exp: Likewise.
147 * gdb.python/py-finish-breakpoint.exp: Likewise.
148 * gdb.python/py-shared.exp: Likewise.
149 * gdb.reverse/solib-precsave.exp: Likewise.
150 * gdb.reverse/solib-reverse.exp: Likewise.
151 * gdb.server/solib-list.exp: Likewise.
152 * gdb.threads/dlopen-libpthread.exp: Likewise.
153 * gdb.threads/tls-shared.exp: Likewise.
154 * gdb.threads/tls-so_extern.exp: Likewise.
155 * gdb.trace/change-loc.exp: Likewise.
156 * gdb.trace/ftrace-lock.exp: Likewise.
157 * gdb.trace/ftrace.exp: Likewise.
158 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
159 * gdb.trace/pending.exp: Likewise.
160 * gdb.trace/range-stepping.exp: Likewise.
161 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
162 (strace_info_marker): Likewise.
163 (strace_probe_marker): Likewise.
164 (strace_trace_on_same_addr): Likewise.
165 (strace_trace_on_diff_addr): Likewise.
166 * gdb.trace/trace-break.exp: Likewise.
167 * gdb.trace/trace-condition.exp: Likewise.
168 * gdb.trace/trace-mt.exp: Likewise.
170 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
172 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
173 result of gdb_remote_download.
174 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
175 * gdb.base/dso2dso.exp: Likewise.
176 * gdb.base/global-var-nested-by-dso.exp: Likewise.
177 * gdb.base/print-file-var.exp: Likewise.
178 * gdb.base/shlib-call.exp: Likewise.
179 * gdb.base/shreloc.exp: Likewise.
180 * gdb.base/solib-overlap.exp: Likewise.
181 * gdb.base/solib-weak.exp (do_test): Likewise.
182 * gdb.base/unload.exp: Likewise.
184 2016-04-27 Yao Qi <yao.qi@linaro.org>
186 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
189 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
191 * vla-type.exp: Print structure from toplevel.
193 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
195 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
197 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
200 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
202 * gdb.fortran/vla-type.f90: New file.
203 * gdb.fortran/vla-type.exp: New file.
205 2016-04-25 Yao Qi <yao.qi@linaro.org>
207 * gdb.base/branch-to-self.c: New file.
208 * gdb.base/branch-to-self.exp: New file.
210 2016-04-22 Yao Qi <yao.qi@linaro.org>
212 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
215 2016-04-22 Yao Qi <yao.qi@linaro.org>
217 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
218 * gdb.base/annota3.exp: Likewise.
220 2016-04-22 Yao Qi <yao.qi@linaro.org>
222 * gdb.reverse/step-precsave.exp: Do one step and test program
223 stops in "callee" and do multiple steps until program goes out
225 * gdb.reverse/step-reverse.exp: Likewise.
227 2016-04-22 Yao Qi <yao.qi@linaro.org>
229 * gdb.trace/signal.exp: Also pass if
230 $tracepoint_hits($i) > $iterations.
232 2016-04-22 Yao Qi <yao.qi@linaro.org>
234 * gdb.trace/signal.c: New file.
235 * gdb.trace/signal.exp: New file.
237 2016-04-19 Doug Evans <xdje42@gmail.com>
239 * gdb.base/bad-file.exp: New file.
241 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
243 * gdb.dwarf2/implref.exp: New file.
245 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
247 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
248 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
249 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
250 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
251 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
252 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
253 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
254 * lib/fortran.exp (fortran_int4): New procedure.
255 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
256 (fortran_logical4): Likewise.
258 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
260 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
262 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
264 * lib/compiler.c: Add Intel specific preprocessor macros.
265 * lib/compiler.cc: Likewise.
267 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
269 * gdb.server/connect-with-no-symbol-file.c: New file.
270 * gdb.server/connect-with-no-symbol-file.exp: New file.
272 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
274 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
276 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
278 * boards/gdbserver-base.exp (${board}_download): Copy source file to
279 standard output directory.
281 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
283 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
285 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
287 * gdb.btrace/instruction_history.c (loop): Add declaration.
289 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
291 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
293 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
295 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
296 parentheses to print.
297 (continue_handler): Likewise.
299 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
301 * gdb.server/solib-list.exp: Remove is_remote check.
302 Pass shlib= to gdb_compile. Don't link shared library with
303 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
304 Run binary filename through "readlink -f" on the target.
306 2016-04-08 Pedro Alves <palves@redhat.com>
308 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
309 interpreter filename as argument to gdbserver_spawn.
310 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
311 Return empty if $last_loaded_file does not exist.
313 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
315 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
316 * gdb.base/jit-main.c: Use exit after usage.
318 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
320 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
321 GDBHISTSIZE prior to the tests.
322 * gdb.base/gdbinit-history.exp: Likewise.
324 2016-04-07 Pedro Alves <palves@redhat.com>
326 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
327 instead of build_executable. Use gdb_load_shlibs.
329 2016-04-07 Yao Qi <yao.qi@linaro.org>
331 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
332 Execute "si" command.
334 2016-04-07 Yao Qi <yao.qi@linaro.org>
336 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
337 number instead of the comments on some line.
339 2016-04-06 Don Breazeal <donb@codesourcery.com>
341 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
342 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
344 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
346 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
347 standard_output_file. Remove unused binfile variable.
349 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
351 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
352 * gdb.python/py-mi-objfile.exp: Match "list main" output
355 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
357 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
360 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
362 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
364 * gdb.trace/ftrace.exp: Likewise.
365 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
367 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
368 (gdb_load_shlibs): Copy libraries to test directory when testing
369 natively. Only set solib-search-path if testing remotely.
370 * lib/mi-support.exp (mi_load_shlibs): Likewise.
372 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
374 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
375 gdb_download. Use it even if the target is not remote.
376 * gdb.base/jit.exp (compile_jit_test): Likewise.
377 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
378 output directory if the destination board is local, otherwise use
379 the standard remote_download from DejaGnu.
380 (gdb_download): Remove.
381 (gdb_load_shlibs): Use gdb_remote_download instead of
383 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
384 Use gdb_remote_download instead of gdb_download. Use it even if
385 the target is not remote.
386 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
387 instead of gdb_download.
389 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
391 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
392 (test_insert_delete_modify): Call mi_load_shlibs before trying to
395 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
398 * gdb.base/printcmds.exp: Add artificial arrays tests.
400 2016-03-31 Pedro Alves <palves@redhat.com>
403 * gdb.base/jit-main.c: Include unistd.h.
404 (ATTACH): Define to 0 if not already defined.
405 (wait_for_gdb, mypid): New globals.
406 (WAIT_FOR_GDB): New macro.
407 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
408 some breakpoint locations.
409 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
411 (one_jit_test): Add REATTACH parameter, and handle it. Use
412 continue_to_test_location.
413 (top level): Test attach, and adjusts calls to one_jit_test.
415 2016-03-31 Pedro Alves <palves@redhat.com>
418 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
419 BINSUFFIX parameter, and handle it.
420 (top level): Adjust calls compile_jit_test.
422 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
425 * gdb.python/py-mi-events-gdb.py: New file.
426 * gdb.python/py-mi-events.c: New file.
427 * gdb.python/py-mi-events.exp: New file.
429 2016-03-30 Yao Qi <yao.qi@linaro.org>
431 * gdb.reverse/until-precsave.exp: Match function name only.
432 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
433 Move malloc to a condition block.
434 * gdb.reverse/until-reverse.exp: Match function name only.
436 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
438 * gdb.trace/ftrace.exp: Set arg0exp for s390.
439 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
440 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
441 variable for GPR 0 instead of assuming it is register 0.
442 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
443 * lib/trace-support.exp: Add s390 registers.
445 2016-03-29 Yao Qi <yao.qi@linaro.org>
447 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
449 2016-03-24 Yao Qi <yao.qi@linaro.org>
451 * gdb.reverse/break-reverse.exp: Add quotation mark in the
454 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
456 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
457 maintaining separate logic for constructing the output path.
459 2016-03-16 Don Breazeal <donb@codesourcery.com>
461 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
462 Retry fork and waitpid on interrupted system call errors.
463 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
464 Use with_timeout_factor to increase timeout by factor of 10.
466 2016-03-15 Don Breazeal <donb@codesourcery.com>
468 * gdb.cp/scope-err.cc: New test program.
469 * gdb.cp/scope-err.exp: New test script.
470 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
471 lines and "set breakpoint here" comment.
472 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
473 Fixed some whitespace and format issues.
474 * gdb.mi/mi-linespec-err-cp.cc: New test program.
475 * gdb.mi/mi-linespec-err-cp.exp: New test script.
477 2016-03-15 Doug Evans <dje@google.com>
479 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
480 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
481 All callers updated. Add tests for enums, mixed flags register.
483 2016-03-15 Doug Evans <dje@google.com>
485 * gdb.base/skip.c (main): Call test_skip_file_and_function.
486 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
488 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
490 * gdb.base/default.exp: Add $_as_string to the list of expected
491 convenience functions.
493 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
495 * gdb.base/maint.exp: New tests for 'maint info line-table'.
497 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
499 * gdb.python/py-as-string.exp: New file.
500 * gdb.python/py-as-string.c: New file.
502 2016-03-09 Pedro Alves <palves@redhat.com>
504 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
505 signal" -> "Thread NN received signal" output change.
506 * gdb.threads/ia64-sigill.exp: Likewise.
507 * gdb.threads/linux-dp.exp: Likewise.
508 * gdb.threads/manythreads.exp: Likewise.
509 * gdb.threads/pending-step.exp: Likewise.
510 * gdb.threads/print-threads.exp: Likewise.
511 * gdb.threads/sigstep-threads.exp: Likewise.
512 * gdb.threads/staticthreads.exp: Likewise.
513 * gdb.threads/tls.exp: Likewise.
515 2016-03-09 Pedro Alves <palves@redhat.com>
517 * gdb.base/command-line-input.exp: New file.
519 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
521 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
522 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
523 * gdb.trace/pending.exp: Accept leading dot before function name.
524 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
525 * lib/trace-support.exp: Set registers for ppc.
527 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
529 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
530 use it for disassembly; accept .main in addition to main in backtrace.
532 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
533 Marcin Kościelnicki <koriakin@0x04.net>
535 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
536 (gdb_recursion_test_ptr): New global variable.
537 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
541 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
543 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
546 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
548 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
549 (bar): Add bar_start_lbl label.
550 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
551 of foo/bar for emitting DWARF and tracing.
553 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
555 * analyze-racy-logs.py: Set executable bit.
557 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
559 * Makefile.in (DEFAULT_RACY_ITER): New variable.
560 (CHECK_TARGET_TMP): Likewise.
561 (check-single-racy): New rule.
562 (check-parallel-racy): Likewise.
563 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
564 (do-check-parallel-racy): New rule.
565 (check-racy/%.exp): Likewise.
566 * README (Racy testcases): New section.
567 * analyze-racy-logs.py: New file.
569 2016-03-03 Doug Evans <dje@google.com>
571 * gdb.base/skip.exp: Use with_test_prefix.
573 2016-03-03 Yao Qi <yao.qi@linaro.org>
575 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
576 Invoke step_over_syscall "clone" and break_cond_on_syscall
578 * gdb.base/step-over-clone.c: New file.
580 2016-03-03 Yao Qi <yao.qi@linaro.org>
582 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
585 2016-03-03 Yao Qi <yao.qi@linaro.org>
587 * gdb.base/disp-step-fork.c: Rename to ...
588 * gdb.base/step-over-fork.c: ... it. New file.
589 * gdb.base/disp-step-vfork.c: Rename to ...
590 * gdb.base/step-over-vfork.c: ... it. New file.
591 * gdb.base/disp-step-syscall.exp: Rename to ...
592 * gdb.base/step-over-syscall.exp: ... it. New file.
593 (disp_step_cross_syscall): Rename to ...
594 (step_over_syscall): ... it.
596 2016-03-03 Yao Qi <yao.qi@linaro.org>
598 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
599 If target supports condition evaluation on target, invoke
600 break_cond_on_syscall for fork and vfork.
602 2016-03-03 Yao Qi <yao.qi@linaro.org>
604 * gdb.base/disp-step-syscall.exp: Don't invoke
605 support_displaced_stepping.
606 (disp_step_cross_syscall): Test with displaced stepping off and
609 2016-03-03 Yao Qi <yao.qi@linaro.org>
611 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
614 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
617 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
619 * gdb.fortran/vla-history.exp: Remove breakpoint.
621 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
623 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
625 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
627 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
629 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
631 * gdb.mi/vla.f90: Nullify pointer after declaration.
633 2016-03-01 Pedro Alves <palves@redhat.com>
635 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
637 2016-03-01 Pedro Alves <palves@redhat.com>
639 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
640 before anything else.
641 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
643 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
644 before anything else.
645 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
647 2016-03-01 Pedro Alves <palves@redhat.com>
649 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
651 2016-03-01 Yao Qi <yao.qi@linaro.org>
653 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
656 2016-03-01 Yao Qi <yao.qi@linaro.org>
658 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
660 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
662 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
663 manually constructing the output path.
665 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
667 * gdb.arch/s390-stackless.S: New.
668 * gdb.arch/s390-stackless.exp: New.
670 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
672 * gdb.dlang/circular.c: New file.
673 * gdb.dlang/circular.exp: New file.
675 2016-02-26 Yao Qi <yao.qi@linaro.org>
677 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
678 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
681 2016-02-26 Yao Qi <yao.qi@linaro.org>
683 * gdb.reverse/aarch64.c: Rename to ...
684 * gdb.reverse/insn-reverse.c: ... it.
685 * gdb.reverse/aarch64.exp: Rename to ...
686 * gdb.reverse/insn-reverse.exp: ... it.
688 2016-02-26 Yao Qi <yao.qi@linaro.org>
690 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
691 (testcase_ftype): New.
692 (testcases): New array.
694 (main): Call each element in testcases.
695 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
696 (read_testcase): New.
697 Do the tests in a loop.
699 2016-02-25 Yao Qi <yao.qi@linaro.org>
701 * gdb.base/branches.c: Remove.
703 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
706 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
708 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
710 * gdb.trace/ftrace.exp: Remove unnecessary target check.
712 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
714 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
715 change x86_64 call_insn to 'callq'.
717 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
719 * gdb.trace/tfile-avx.c: Move to...
720 * gdb.trace/tracefile-pseudo-reg.c: Here.
721 * gdb.trace/tfile-avx.exp: Move to...
722 * gdb.trace/tracefile-pseudo-reg.exp: Here.
724 2016-02-24 Gary Benson <gbenson@redhat.com>
726 * gdb.base/attach-pie-noexec.exp: Do not expect an error
729 2016-02-23 Doug Evans <dje@google.com>
731 * gdb.base/skip.c (test_skip): New function.
732 (end_test_skip_file_and_function): New function.
733 (test_skip_file_and_function): New function.
734 * gdb.base/skip1.c (test_skip): New function.
735 (skip1_test_skip_file_and_function): New function.
736 * gdb.base/skip.exp: Add tests for new skip options.
737 * gdb.base/skip-solib.exp: Update expected output.
738 * gdb.perf/skip-command.cc: New file.
739 * gdb.perf/skip-command.exp: New file.
740 * gdb.perf/skip-command.py: New file.
742 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
744 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
745 info registers pattern.
747 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
749 * lib/future.exp: Add D support.
750 (gdb_find_gdc): New proc.
751 (gdb_default_target_compile): Add D support.
753 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
755 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
757 (trace_speed_test): Determine the iteration count for a time
758 between 15..30 seconds.
760 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
762 * gdb.arch/i386-mpx-sigsegv.c: New file.
763 * gdb.arch/i386-mpx-sigsegv.exp: New file.
764 * gdb.arch/i386-mpx-simple_segv.c: New file.
765 * gdb.arch/i386-mpx-simple_segv.exp: New file.
767 2016-02-18 Yao Qi <yao.qi@linaro.org>
769 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
770 Don't call setup_kfail.
772 2016-02-18 Yao Qi <yao.qi@linaro.org>
774 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
775 Set "set breakpoint condition-evaluation" per $cond_bp_target.
777 2016-02-16 Doug Evans <dje@google.com>
779 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
780 * gdb.base/skip1.c: Ditto.
781 * gdb.base/skip.exp: Whitespace cleanup.
783 2016-02-16 Don Breazeal <donb@codesourcery.com>
786 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
787 Remove kfail for PR remote/19496.
789 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
791 * lib/gdb.exp (standard_temp_file): Return a path specific to
792 the runtest invocation.
794 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
796 * gdb.trace/save-trace.exp: Change relative path to be in the
797 standard output directory.
799 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
801 * gdb.arch/i386-prologue.c: Add missing prototypes.
803 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
805 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
806 * gdb.arch/i386-prologue.exp: Likewise.
807 * gdb.arch/i386-size.exp: Likewise.
809 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
811 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
812 define object file path.
813 * gdb.btrace/gcore.exp: Use standard_output_file to define core
815 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
816 standard_output_file to define binfile.
818 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
820 Fix compatibility with recent gfortran-5.3.1.
821 * gdb.fortran/vla-history.exp (print vla1 allocated)
822 (print vla2 allocated, print $2, print $3): Remove
823 (print $4): Rename to ...
824 (print $2): ... here.
825 (print $9): Rename to ...
826 (print $5): ... here.
827 (print $10): Rename to ...
828 (print $6): ... here.
829 * gdb.fortran/vla.f90: Add pvla initialization.
831 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
833 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
835 * gdb.fortran/vla-value-sub.exp: Likewise.
837 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
839 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
841 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
843 * i386-biarch-core.exp: Define corefile using
844 standard_output_file.
846 2016-02-12 Yao Qi <yao.qi@linaro.org>
848 * gdb.arch/arm-single-step-kernel-helper.c: New.
849 * gdb.arch/arm-single-step-kernel-helper.exp: New.
851 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
853 * gdb.btrace/tailcall-only.exp: New.
854 * gdb.btrace/tailcall-only.c: New.
855 * gdb.btrace/x86_64-tailcall-only.S: New.
856 * gdb.btrace/i686-tailcall-only.S: New.
858 2016-02-11 Pedro Alves <palves@redhat.com>
860 * README (Parallel testing): Add missing double quotes.
862 2016-02-11 Pedro Alves <palves@redhat.com>
864 * README (Parallel testing): New section.
865 (GDB_PARALLEL): Rewrite.
866 (FORCE_PARALLEL): Document.
868 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
870 * gdb.trace/tfile-avx.c: New test.
871 * gdb.trace/tfile-avx.exp: New test.
873 2016-02-09 Keith Seitz <keiths@redhat.com>
876 * gdb.base/infcall-exec.c: New file.
877 * gdb.base/infcall-exec2.c: New file.
878 * gdb.base/infcall-exec.exp: New file.
880 2016-02-09 Keith Seitz <keiths@redhat.com>
882 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
883 (toplevel): Call test_bkpt_address.
885 2016-02-09 Keith Seitz <keiths@redhat.com>
888 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
889 (toplevel): Call test_bkpt_address.
891 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
893 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
895 * configure: Regenerate.
897 2016-02-09 Pedro Alves <palves@redhat.com>
900 * gdb.base/execl-update-breakpoints.c (some_function): New
903 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
904 Tighten expected GDB output.
906 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
908 * Makefile.in (ALL_SUBDIRS): Remove.
909 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
910 (distclean maintainer-clean realclean): Likewise.
911 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
912 * configure: Regenerate.
913 * gdb.ada/Makefile.in: Delete.
914 * gdb.arch/Makefile.in: Likewise.
915 * gdb.asm/Makefile.in: Likewise.
916 * gdb.base/Makefile.in: Likewise.
917 * gdb.btrace/Makefile.in: Likewise.
918 * gdb.cell/Makefile.in: Likewise.
919 * gdb.compile/Makefile.in: Likewise.
920 * gdb.cp/Makefile.in: Likewise.
921 * gdb.disasm/Makefile.in: Likewise.
922 * gdb.dlang/Makefile.in: Likewise.
923 * gdb.dwarf2/Makefile.in: Likewise.
924 * gdb.fortran/Makefile.in: Likewise.
925 * gdb.gdb/Makefile.in: Likewise.
926 * gdb.go/Makefile.in: Likewise.
927 * gdb.guile/Makefile.in: Likewise.
928 * gdb.java/Makefile.in: Likewise.
929 * gdb.linespec/Makefile.in: Likewise.
930 * gdb.mi/Makefile.in: Likewise.
931 * gdb.modula2/Makefile.in: Likewise.
932 * gdb.multi/Makefile.in: Likewise.
933 * gdb.objc/Makefile.in: Likewise.
934 * gdb.opencl/Makefile.in: Likewise.
935 * gdb.opt/Makefile.in: Likewise.
936 * gdb.pascal/Makefile.in: Likewise.
937 * gdb.perf/Makefile.in: Likewise.
938 * gdb.python/Makefile.in: Likewise.
939 * gdb.reverse/Makefile.in: Likewise.
940 * gdb.server/Makefile.in: Likewise.
941 * gdb.stabs/Makefile.in: Likewise.
942 * gdb.threads/Makefile.in: Likewise.
943 * gdb.trace/Makefile.in: Likewise.
944 * gdb.xml/Makefile.in: Likewise.
945 * lib/gdb.exp (make_gdb_parallel_path): Add check for
947 (standard_output_file): Remove check for GDB_PARALLEL, always
948 return path in outputs/$subdir/$testname.
950 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
952 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
953 (site.exp): Assign abs_srcdir to tcl's srcdir.
955 2016-02-04 Yao Qi <yao.qi@linaro.org>
957 * gdb.base/foll-exec-mode.c: Include limits.h.
958 (main): Add parameters argc and argv. Get directory from
960 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
962 * gdb.base/foll-exec.c: Include limits.h.
963 (main): Add parameters argc and argv.
964 Get directory from argv[0].
965 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
966 Adjust tests on the number of lines as source code changed.
967 * gdb.base/foll-vfork-exit.c: Include limits.h.
968 (main): Add one line of statement before vfork.
969 * gdb.base/foll-vfork.c: Include limits.h and string.h.
970 (main): Add parameters argc and argv. Get directory from
972 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
973 (setup_gdb): Set tbreak to skip some source lines.
974 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
975 (main): Add parameters argc and argv. Get directory from
977 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
979 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
980 (main): Add parameters argc and argv. Get directory from
982 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
985 2016-02-01 Doug Evans <dje@google.com>
987 * gdb.base/skip.exp: Clean up multiple references to same test name.
989 2016-02-01 Pedro Alves <palves@redhat.com>
992 * gdb.threads/forking-threads-plus-breakpoint.exp
993 (displaced_stepping_supported): New global.
994 (probe_displaced_stepping_support): New procedure.
995 (do_test): Add 'displaced' parameter, and use it.
996 (top level): Check for displaced stepping support. Add displaced
997 stepping on/off testing axis.
999 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1001 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1002 pointer. Don't perform further tests on the unassociated pointer
1003 if the first test fails.
1005 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1007 * gdb.base/max-value-size.c: New file.
1008 * gdb.base/max-value-size.exp: New file.
1009 * gdb.base/huge.exp: Disable max-value-size for this test.
1011 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1013 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1015 2016-01-28 Yao Qi <yao.qi@linaro.org>
1017 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1019 2016-01-25 Pedro Alves <palves@redhat.com>
1022 * gdb.base/fork-running-state.c: New file.
1023 * gdb.base/fork-running-state.exp: New file.
1025 2016-01-25 Pedro Alves <palves@redhat.com>
1028 * gdb.base/catch-fork-kill.c: New file.
1029 * gdb.base/catch-fork-kill.exp: New file.
1031 2016-01-25 Pedro Alves <palves@redhat.com>
1033 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1034 Delete, moved to lib/gdb.exp.
1035 * gdb.threads/forking-threads-plus-breakpoint.exp
1036 (foreach_with_prefix): Likewise.
1037 * gdb.threads/process-dies-while-handling-bp.exp
1038 (foreach_with_prefix): Likewise.
1039 * lib/gdb.exp (foreach_with_prefix): New procedure.
1041 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1043 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1044 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1046 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1048 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1051 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1052 Pedro Alves <palves@redhat.com>
1054 Fix testsuite compatibility with Guile.
1055 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1058 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1060 Fix testsuite compatibility with Guile.
1061 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1062 (thread 1): New test for backtrace through signal handler.
1064 2016-01-22 Yao Qi <yao.qi@linaro.org>
1067 * gdb.base/multi-forks.c: Include
1068 ../lib/unbuffer_output.c
1069 (main): Call gdb_unbuffer_output.
1071 2016-01-21 Doug Evans <dje@google.com>
1073 * lib/ada.exp (gdb_compile_ada): Fix typo.
1075 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1077 * gdb.base/break-fun-addr.exp: New file.
1078 * gdb.base/break-fun-addr1.c: New file.
1079 * gdb.base/break-fun-addr2.c: New file.
1081 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1083 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1084 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1087 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1089 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1090 when GDB can not set the vector return value. Add more comments
1093 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1095 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1098 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1100 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1102 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1104 * Makefile.in (check-single): Pass --status to runtest.
1105 (check/%.exp): Likewise.
1107 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1109 * Makefile.in (check-parallel): Propagate return code from make
1112 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1114 * gdb.trace/ftrace.exp: Fix expected message on continue.
1115 * gdb.trace/pending.exp: Fix expected message on continue.
1116 * gdb.trace/trace-break.exp: Fix expected message on continue.
1118 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1120 * lib/gdb.exp (gdb_test): Remove unused global references.
1122 2016-01-18 Pedro Alves <palves@redhat.com>
1124 * gdb.base/async-shell.exp: Adjust expected output.
1125 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1126 * gdb.base/siginfo-thread.exp: Adjust expected output.
1127 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1128 * gdb.java/jnpe.exp: Adjust expected output.
1129 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1130 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1131 * gdb.threads/leader-exit.exp: Adjust expected output.
1132 * gdb.threads/manythreads.exp: Adjust expected output.
1133 * gdb.threads/pthreads.exp: Adjust expected output.
1134 * gdb.threads/schedlock.exp: Adjust expected output.
1135 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1136 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1138 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1140 * gdb.threads/sigthread.exp: Adjust expected output.
1141 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1143 2016-01-18 Yao Qi <yao.qi@linaro.org>
1145 * gdb.guile/scm-section-script.c: Replace @progbits with
1147 * gdb.python/py-section-script.c: Likewise.
1149 2016-01-15 Pedro Alves <palves@redhat.com>
1151 * gdb.multi/tids.exp: Test star wildcard ranges.
1153 2016-01-15 Pedro Alves <palves@redhat.com>
1155 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1156 command from "thread apply" invocation.
1157 (thr_apply_info_thr_invalid): Default the expected output to the
1159 (top level): Add tests that use convenience variables. Add tests
1160 for "thread apply" with a valid TID list, but missing the command.
1162 2016-01-13 Pedro Alves <palves@redhat.com>
1164 * gdb.base/default.exp: Expect $_gthread as well.
1165 * gdb.multi/tids.exp: Test $_gthread.
1166 * gdb.threads/thread-specific.exp: Test $_gthread.
1168 2016-01-13 Pedro Alves <palves@redhat.com>
1170 * gdb.multi/tids.exp: Test "info threads -gid".
1172 2016-01-13 Pedro Alves <palves@redhat.com>
1174 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1176 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1178 2016-01-07 Pedro Alves <palves@redhat.com>
1180 * gdb.base/break.exp: Adjust to output changes.
1181 * gdb.base/hbreak2.exp: Likewise.
1182 * gdb.base/sepdebug.exp: Likewise.
1183 * gdb.base/watch_thread_num.exp: Likewise.
1184 * gdb.linespec/keywords.exp: Likewise.
1185 * gdb.multi/info-threads.exp: Likewise.
1186 * gdb.threads/thread-find.exp: Likewise.
1187 * gdb.multi/tids.c: New file.
1188 * gdb.multi/tids.exp: New file.
1190 2016-01-13 Pedro Alves <palves@redhat.com>
1192 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1194 2016-01-13 Pedro Alves <palves@redhat.com>
1196 * gdb.base/default.exp: Expect $_inferior as well.
1197 * gdb.multi/base.exp: Test $_inferior.
1199 2016-01-13 Pedro Alves <palves@redhat.com>
1201 PR breakpoints/19388
1202 * gdb.base/catch-signal-siginfo-cond.c: New file.
1203 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1205 2016-01-12 Josh Stone <jistone@redhat.com>
1206 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1208 * gdb.base/catch-syscall.c (do_execve): New variable.
1209 (main): Conditionally trigger an execve.
1210 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1211 (test_catch_syscall_execve): New, check entry/return across execve.
1212 (do_syscall_tests): Call test_catch_syscall_execve.
1214 2016-01-12 Pedro Alves <palves@redhat.com>
1216 * gdb.base/random-signal.exp (do_test): New procedure, with body
1217 of testcase moved in.
1219 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1220 Pedro Alves <palves@redhat.com>
1222 * gdb.base/funcargs.exp (finish from indirectly called function):
1223 Reintroduce the case for 'First'.
1225 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1226 Pedro Alves <palves@redhat.com>
1228 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1229 (tcatch_vfork_then_child_follow_exec)
1230 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1233 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1235 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1236 and repeats to unlimited.
1237 * gdb.python/py-value.exp: Likewise.
1238 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1239 and repeats to unlimited.
1241 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1243 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1244 and reordering the functions.
1245 * gdb.multi/hangout.c: Likewise.
1246 * gdb.multi/hello.c: Likewise.
1248 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1250 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1252 (SingleStatisticTestResult.report): Use dict.keys instead of
1255 2016-01-06 Pedro Alves <palves@redhat.com>
1257 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1259 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1261 * gdb.btrace/dlopen.exp: New.
1262 * gdb.btrace/dlopen.c: New.
1263 * gdb.btrace/dlopen-dso.c: New.
1265 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1267 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1268 PATTERN argument is optional.
1270 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1272 * lib/ada.exp (target_compile_ada_from_dir): New function.
1273 (gdb_compile_ada): Reimplement avoiding the use of project files.
1274 * gdb.ada/gnat_ada.gpr: Delete.
1275 * gdb.ada/cond_lang.exp: Adjust test to make path before
1277 * gdb.ada/small_reg_param.exp: Likewise.
1279 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1281 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1283 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1285 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1288 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1290 * gdb.base/break.exp: Remove dead code.
1291 * gdb.base/sepdebug.exp: Likewise.
1293 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1295 * gdb.asm/asm-source.exp: Remove HP-UX references.
1296 * gdb.base/annota1.exp: Likewise.
1297 * gdb.base/annota3.exp: Likewise.
1298 * gdb.base/attach.exp: Likewise.
1299 * gdb.base/bigcore.exp: Likewise.
1300 * gdb.base/break.exp: Likewise.
1301 * gdb.base/call-ar-st.exp: Likewise.
1302 * gdb.base/callfuncs.exp: Likewise.
1303 * gdb.base/catch-fork-static.exp: Likewise.
1304 * gdb.base/display.exp: Likewise.
1305 * gdb.base/foll-exec-mode.exp: Likewise.
1306 * gdb.base/foll-exec.exp: Likewise.
1307 * gdb.base/foll-fork.exp: Likewise.
1308 * gdb.base/foll-vfork.exp: Likewise.
1309 * gdb.base/funcargs.exp: Likewise.
1310 * gdb.base/hbreak2.exp: Likewise.
1311 * gdb.base/inferior-died.exp: Likewise.
1312 * gdb.base/interrupt.exp: Likewise.
1313 * gdb.base/multi-forks.exp: Likewise.
1314 * gdb.base/nodebug.exp: Likewise.
1315 * gdb.base/sepdebug.exp: Likewise.
1316 * gdb.base/solib1.c: Likewise.
1317 * gdb.base/step-test.exp: Likewise.
1318 * gdb.mi/non-stop.c: Likewise.
1319 * gdb.mi/pthreads.c: Likewise.
1320 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1321 * gdb.threads/pthreads.c: Likewise.
1322 * gdb.threads/staticthreads.exp: Likewise.
1323 * lib/future.exp: Likewise.
1324 * lib/gdb.exp: Likewise.
1325 * gdb.base/so-indr-cl.c: Remove.
1326 * gdb.base/so-indr-cl.exp: Likewise.
1327 * gdb.base/solib.c: Likewise.
1328 * gdb.base/solib.exp: Likewise.
1329 * gdb.base/solib2.c: Likewise.
1331 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1333 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1334 * gdb.base/call-ar-st.exp: Likewise.
1335 * gdb.base/callfuncs.exp: Likewise.
1336 * gdb.base/condbreak.exp: Likewise.
1337 * gdb.base/constvars.exp: Likewise.
1338 * gdb.base/hbreak2.exp: Likewise.
1339 * gdb.base/langs.exp: Likewise.
1340 * gdb.base/list.exp: Likewise.
1341 * gdb.base/long_long.exp: Likewise.
1342 * gdb.base/ptype.exp: Likewise.
1343 * gdb.base/scope.exp: Likewise.
1344 * gdb.base/signals.exp: Likewise.
1345 * gdb.base/so-impl-ld.exp: Likewise.
1346 * gdb.base/varargs.exp: Likewise.
1347 * gdb.base/volatile.exp: Likewise.
1348 * gdb.base/whatis.exp: Likewise.
1349 * gdb.cp/cplusfuncs.exp: Likewise.
1350 * gdb.cp/inherit.exp: Likewise.
1351 * gdb.cp/local.exp: Likewise.
1352 * gdb.cp/member-ptr.exp: Likewise.
1353 * gdb.cp/method.exp: Likewise.
1354 * gdb.cp/overload.exp: Likewise.
1355 * gdb.cp/templates.exp: Likewise.
1356 * gdb.stabs/weird.exp: Likewise.
1357 * lib/compiler.c: Likewise.
1358 * lib/compiler.cc: Likewise.
1359 * lib/cp-support.exp: Likewise.
1360 * lib/gdb.exp: Likewise.
1362 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1364 * configure.ac: Remove HP-UX case.
1365 * configure: Regenerate.
1367 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1369 * lib/gdb.exp (gdb_compile): Add function doc.
1371 2015-12-17 Pedro Alves <palves@redhat.com>
1374 * gdb.multi/info-threads.exp: New file.
1376 2015-12-15 Yao Qi <yao.qi@linaro.org>
1378 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1381 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1383 * gdb.base/history-duplicates.exp: Skip if no readline support.
1385 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1387 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1389 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1391 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1393 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1395 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1396 ctrl-C if nointerrupts target property is set.
1397 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1398 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1399 * gdb.base/paginate-bg-execution.exp: Likewise.
1400 * gdb.base/paginate-execution-startup.exp: Likewise.
1401 * gdb.base/random-signal.exp: Likewise.
1402 * gdb.base/range-stepping.exp: Likewise.
1403 * gdb.cp/annota2.exp: Likewise.
1404 * gdb.cp/annota3.exp: Likewise.
1405 * gdb.gdb/selftest.exp: Likewise.
1406 * gdb.threads/continue-pending-status.exp: Likewise.
1407 * gdb.threads/leader-exit.exp: Likewise.
1408 * gdb.threads/manythreads.exp: Likewise.
1409 * gdb.threads/pthreads.exp: Likewise.
1410 * gdb.threads/schedlock.exp: Likewise.
1411 * gdb.threads/sigthread.exp: Likewise.
1413 2015-12-11 Don Breazeal <donb@codesourcery.com>
1415 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1417 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1418 * gdb.base/foll-exec.exp (main): Enable for target remote.
1419 * gdb.base/foll-fork.exp (main): Likewise.
1420 * gdb.base/foll-vfork.exp (main): Likewise.
1421 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1422 (proc continue_to_exit_bp_loc): Use clean_restart.
1423 * gdb.base/pie-execl.exp (main): Disable for target remote.
1424 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1425 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1426 * gdb.threads/execl.exp (main): Likewise.
1427 * gdb.threads/fork-child-threads.exp (main): Likewise.
1428 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1430 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1432 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1433 pid.tid style ptids, instead of just tid.
1434 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1435 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1436 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1437 ptids, instead of just tid.
1439 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1441 * gdb.base/list.exp (test_list_forward): Add end of file error
1443 (test_repeat_list_command): Add end of file error test.
1444 (test_list_backwards): Add beginning of file error test.
1446 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1448 * gdb.base/list.exp (test_list_invalid_args): New function,
1449 defined, and called.
1451 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1453 * gdb.base/list.exp (test_list): Make test names unique.
1455 2015-12-11 Yao Qi <yao.qi@linaro.org>
1457 * gdb.base/coremaker2.c: Remove.
1459 2015-12-10 Pedro Alves <palves@redhat.com>
1461 * gdb.multi/base.exp: Remove stale "spaces" references.
1463 2015-12-10 Pedro Alves <palves@redhat.com>
1465 * gdb.multi/base.exp: Don't use nowarnings.
1466 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1467 * gdb.multi/hangout.c: Include stdio.h.
1468 * gdb.multi/hello.c: Include stdlib.h.
1469 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1470 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1471 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1473 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1475 * gdb.dwarf2/dw2-ranges-base.c: New file.
1476 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1477 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1478 support additional line table, and debug ranges generation.
1479 (Dwarf::ranges): New function, generate .debug_ranges.
1480 (Dwarf::lines): Support generating simple line table programs.
1481 (Dwarf::assemble): Initialise new namespace variables.
1483 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1485 * gdb.base/async.exp (proc test_background): Add case for
1486 asynchronous execution not supported.
1488 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1490 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1491 format and change test names to make them unique.
1493 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1494 Pedro Alves <pedro@redhat.com>
1497 Add checking of floatformats setup on x86_64 hosts.
1498 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1499 (smallval, bigval): New labels/constants.
1500 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1501 float" after loading bigval and smallval.
1503 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1505 * gdb.ada/fun_overload_menu.exp: New testcase.
1506 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1508 2015-12-04 Josh Stone <jistone@redhat.com>
1510 * gdb.base/catch-fork-static.exp: New.
1512 2015-12-03 Yao Qi <yao.qi@linaro.org>
1514 * gdb.base/sizeof.c: Don't include stdio.h and
1515 ../lib/unbuffer_output.c.
1516 (main): New variable 'size' and 'value'. Remove printf and
1517 gdb_unbuffer_output. Assign return value to size and value.
1518 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1520 (check_sizeof): Check the result by printing variable 'size'.
1521 (check_valueof): Check the result by printing variable 'value'.
1523 2015-12-01 Yao Qi <yao.qi@linaro.org>
1525 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1526 for aarch64*-*-linux* target.
1528 2015-11-30 Pedro Alves <palves@redhat.com>
1530 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1532 2015-11-30 Pedro Alves <palves@redhat.com>
1534 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1535 Handle non-stop mode vCont replies.
1537 2015-11-30 Pedro Alves <palves@redhat.com>
1539 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1540 prepare_for_testing. Start gdb with "set non-stop on" appended to
1541 GDBFLAGS. Lax expected stop output.
1543 2015-11-27 Yao Qi <yao.qi@linaro.org>
1545 * gdb.arch/arm-neon.exp: New.
1546 * gdb.arch/arm-neon.c: New.
1548 2015-11-27 Yao Qi <yao.qi@linaro.org>
1550 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1552 2015-11-27 Yao Qi <yao.qi@linaro.org>
1554 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1555 frames-invalid annotation.
1557 2015-11-27 Yao Qi <yao.qi@linaro.org>
1559 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1561 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1563 * gdb.threads/names.exp: New file.
1564 * gdb.threads/names.c: New file.
1565 * README: Mention gdb,no_thread_names.
1567 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1570 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1573 2015-11-24 Pedro Alves <palves@redhat.com>
1576 * gdb.base/display.exp: Expect displays to be sorted in ascending
1577 order. Use multi_line.
1578 * gdb.base/solib-display.exp: Likewise.
1580 2015-11-24 Pedro Alves <palves@redhat.com>
1583 * gdb.base/display.exp: Expect displays to be sorted in ascending
1584 order. Use multi_line.
1585 * gdb.base/solib-display.exp: Likewise.
1587 2015-11-24 Pedro Alves <palves@redhat.com>
1590 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1591 threads in ascending order.
1592 * gdb.base/foll-fork.exp: Likewise.
1593 * gdb.base/foll-vfork.exp: Likewise.
1594 * gdb.base/multi-forks.exp: Likewise.
1595 * gdb.mi/mi-nonstop.exp: Likewise.
1596 * gdb.mi/mi-nsintrall.exp: Likewise.
1597 * gdb.multi/base.exp: Likewise.
1598 * gdb.multi/multi-arch.exp: Likewise.
1599 * gdb.python/py-inferior.exp: Likewise.
1600 * gdb.threads/break-while-running.exp: Likewise.
1601 * gdb.threads/execl.exp: Likewise.
1602 * gdb.threads/gcore-thread.exp: Likewise.
1603 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1604 * gdb.threads/kill.exp: Likewise.
1605 * gdb.threads/linux-dp.exp: Likewise.
1606 * gdb.threads/multiple-step-overs.exp: Likewise.
1607 * gdb.threads/next-bp-other-thread.exp: Likewise.
1608 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1609 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1610 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1611 * gdb.threads/thread-find.exp: Likewise.
1612 * gdb.threads/tls.exp: Likewise.
1613 * lib/mi-support.exp (mi_reverse_list): Delete.
1614 (mi_check_thread_states): No longer reverse list.
1616 2015-11-24 Pedro Alves <palves@redhat.com>
1618 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1621 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1623 * gdb.trace/actions.c: Include trace-common.h.
1624 (main): Add a location for a fast tracepoint.
1625 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1626 the normal tracepoints.
1627 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1629 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1631 * save-trace.exp: Factor out code to these...
1632 (gdb_save_tracepoints): New.
1633 (gdb_load_tracepoints): New.
1634 (do_save_load_test): New.
1636 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1638 * gdb.base/asmlabel.exp: New test.
1639 * gdb.base/asmlabel.c: New test case.
1641 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1643 * gdb.base/wrong_frame_bt_full-main.c: New file.
1644 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1645 * gdb.base/wrong_frame_bt_full.exp: New file.
1647 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1649 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1651 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1653 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1654 pstate register when comparing registers values in
1655 sparc64-*-linux-gnu targets to avoid spurious differences.
1657 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1659 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1661 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1663 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1664 as type argument to gdb_compile.
1665 * gdb.base/nested-subp2.exp: Likewise.
1666 * gdb.base/nested-subp3.exp: Likewise.
1668 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1670 * lib/dwarf.exp (_note): Fix left shift of negative value.
1671 * gdb.trace/trace-condition.exp: Likewise.
1673 2015-11-13 Yao Qi <yao.qi@linaro.org>
1675 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1676 comments about d10v.
1677 (test_scalar_returns): Likewise.
1678 * gdb.base/d10v.ld: Remove.
1679 * gdb.base/overlays.exp: Remove the target triplet checking for
1681 * gdb.base/structs.exp (test_struct_returns): Remove the
1682 comments about d10v.
1683 (test_struct_calls): Likewise.
1685 2015-11-13 Yao Qi <yao.qi@linaro.org>
1687 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1688 * gdb.base/gnu_vector.c: Don't include stdio.h.
1689 (main): Don't print res and call add_some_intvecs.
1691 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1693 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1696 (func4): Use FAST_TRACEPOINT_LABEL.
1697 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1700 (thread_function): Use FAST_TRACEPOINT_LABEL.
1701 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1703 (marker): Use FAST_TRACEPOINT_LABEL.
1704 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1705 (pendfunc1): Remove.
1706 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1707 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1709 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1710 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1713 (marker): Use FAST_TRACEPOINT_LABEL.
1714 * gdb.trace/trace-common.h: New header.
1715 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1718 (marker): Use FAST_TRACEPOINT_LABEL.
1719 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1721 (thread_function): Use FAST_TRACEPOINT_LABEL.
1723 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1725 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1727 * gdb.trace/change-loc.exp: Use global pcreg definition.
1728 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1729 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1731 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1732 * gdb.trace/pending.exp: Likewise.
1733 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1734 * gdb.trace/trace-break.exp: Likewise.
1735 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1737 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1738 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1740 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1742 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1744 * gdb.ada/fin_fun_out: New testcase.
1746 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1748 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1749 value associated with DW_AT_byte_size.
1750 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1751 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1754 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1756 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1757 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1759 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1760 gdb.dwarf2/dw2-canonicalize-type.exp,
1761 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1762 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1763 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1764 provided by gdb_target_symbol_prefix_flags_asm.
1765 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1766 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1767 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1768 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1769 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1770 macros where needed). Use this macro for symbols which require
1771 the prefix provided by SYMBOL_PREFIX.
1773 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1775 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1777 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1778 representing expressions, of more than one list element.
1779 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1780 to prepend linker symbol prefix to f.
1781 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1782 table_1 and table_2.
1783 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1784 Likewise, for f and g.
1785 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1787 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1789 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1790 table_1_ptr and table_2_ptr.
1792 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1793 Joel Brobecker <brobecker@adacore.com>
1795 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1797 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1799 * gdb.reverse/s390-mvcle.c: New test.
1800 * gdb.reverse/s390-mvcle.exp: New file.
1801 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1803 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1805 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1807 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1809 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1811 * gdb.reverse/getresuid-reverse.exp: Likewise.
1812 * gdb.reverse/pipe-reverse.exp: Likewise.
1813 * gdb.reverse/readv-reverse.exp: Likewise.
1814 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1815 * gdb.reverse/time-reverse.exp: Likewise.
1816 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1818 2015-10-30 Yao Qi <yao.qi@linaro.org>
1820 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1821 (empty_cycle): Remove.
1822 (main): Don't call empty_cycle. Don't use watch_count_done.
1823 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1824 empty_cycle. Rewrite the code counting HW watchpoints.
1826 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1828 * gdb.reverse/fstatat-reverse.c: New test.
1829 * gdb.reverse/fstatat-reverse.exp: New file.
1830 * gdb.reverse/getresuid-reverse.c: New test.
1831 * gdb.reverse/getresuid-reverse.exp: New file.
1832 * gdb.reverse/pipe-reverse.c: New test.
1833 * gdb.reverse/pipe-reverse.exp: New file.
1834 * gdb.reverse/readv-reverse.c: New test.
1835 * gdb.reverse/readv-reverse.exp: New file.
1836 * gdb.reverse/recvmsg-reverse.c: New test.
1837 * gdb.reverse/recvmsg-reverse.exp: New file.
1838 * gdb.reverse/time-reverse.c: New test.
1839 * gdb.reverse/time-reverse.exp: New file.
1840 * gdb.reverse/waitpid-reverse.c: New test.
1841 * gdb.reverse/waitpid-reverse.exp: New file.
1843 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1845 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1847 2015-10-26 Doug Evans <dje@google.com>
1850 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1851 * gdb.dwarf2/bad-regnum.c: New file.
1852 * gdb.dwarf2/bad-regnum.exp: New file.
1854 2015-10-26 Doug Evans <dje@google.com>
1857 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1860 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1862 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1863 for a change by "Mention language in compile error message".
1865 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1868 * gdb.python/py-type.c (C::a_method): New.
1869 (C::a_const_method): New.
1870 (C::a_static_method): New.
1872 * gdb.python/py-type.exp (test_fields): Test getting fields
1873 from function and method.
1875 2015-10-21 Keven Boell <keven.boell@intel.com>
1877 * gdb.fortran/vla-alloc-assoc.exp: New file.
1878 * gdb.fortran/vla-datatypes.exp: New file.
1879 * gdb.fortran/vla-datatypes.f90: New file.
1880 * gdb.fortran/vla-history.exp: New file.
1881 * gdb.fortran/vla-ptype-sub.exp: New file.
1882 * gdb.fortran/vla-ptype.exp: New file.
1883 * gdb.fortran/vla-sizeof.exp: New file.
1884 * gdb.fortran/vla-sub.f90: New file.
1885 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1886 * gdb.fortran/vla-value-sub-finish.exp: New file.
1887 * gdb.fortran/vla-value-sub.exp: New file.
1888 * gdb.fortran/vla-value.exp: New file.
1889 * gdb.fortran/vla-ptr-info.exp: New file.
1890 * gdb.mi/mi-vla-fortran.exp: New file.
1891 * gdb.mi/vla.f90: New file.
1893 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1895 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1896 of hardwired timeout value.
1898 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1899 Pedro Alves <palves@redhat.com>
1901 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1902 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1904 2015-10-19 Josh Stone <jistone@redhat.com>
1906 * gdb.base/catch-syscall.c: Include <sched.h>.
1907 (unknown_syscall): New variable.
1908 (main): Trigger a vfork and an unknown syscall.
1909 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1910 (unknown_syscall_number): Likewise.
1911 (check_call_to_syscall): Accept an optional syscall pattern.
1912 (check_return_from_syscall): Likewise.
1913 (check_continue): Likewise.
1914 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1915 (test_catch_syscall_skipping_return): New test toggling off 'catch
1916 syscall' to step over the syscall return, then toggling back on.
1917 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1918 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1919 (do_syscall_tests): Call test_catch_syscall_without_args and
1920 test_catch_syscall_mid_vfork.
1921 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1922 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1924 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1926 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1927 print g_vE): Add new pass patterns.
1928 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1929 print various symbol names for vptr fields.
1931 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1933 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1936 2015-10-12 Yao Qi <yao.qi@linaro.org>
1938 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1940 2015-10-12 Yao Qi <yao.qi@linaro.org>
1942 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1943 is aarch64*-*-linux*.
1945 2015-10-12 Yao Qi <yao.qi@linaro.org>
1947 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1948 (can_relocate_bcond_true): ... it.
1949 (can_relocate_bcond_false): New function.
1951 (can_relocate_bl): Likewise.
1952 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1955 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1957 * gdb.base/nested-addr.c: New file.
1958 * gdb.base/nested-addr.exp: New testcase.
1960 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1962 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1963 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1964 its output. Ignore the output of "record goto begin" and instead
1965 check that GDB is replaying.
1967 2015-10-09 Pedro Alves <palves@redhat.com>
1969 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1970 (top level): Use it in the run with no args test.
1972 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1974 * gdb.dlang/properties.exp: New file.
1976 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1978 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1979 whether or not address 0x1000 is mapped on the target.
1981 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1983 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1986 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1988 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1989 instruction-history test.
1991 2015-09-28 Doug Evans <dje@google.com>
1993 * gdb.base/gcore.c (array_func): Add reference to static_array.
1995 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1997 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2000 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2002 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2003 short or char as base type.
2005 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2007 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2008 to allow any size enum.
2010 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2012 * gdb.ada/array_ptr_renaming.exp: New testcase.
2013 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2014 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2016 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2018 * gdb.trace/ftrace-lock.c: New file.
2019 * gdb.trace/ftrace-lock.exp: New file.
2021 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2023 * gdb.arch/insn-reloc.c: New file.
2024 * gdb.arch/ftrace-insn-reloc.exp: New file.
2026 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2028 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2030 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2031 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2032 * gdb.trace/range-stepping.c: Likewise.
2033 * gdb.trace/trace-break.c: Likewise.
2034 * gdb.trace/trace-mt.c (thread_function): Likewise.
2035 * gdb.trace/ftrace.c (marker): Likewise.
2036 * gdb.trace/trace-condition.c (marker): Likewise.
2037 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2038 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2041 2015-09-18 Doug Evans <xdje42@gmail.com>
2043 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2044 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2046 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2048 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2051 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2053 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2054 the pending breakpoint. Remove timeout override for "Run till
2055 MI pending breakpoint on pendfunc3 on thread 2" test.
2057 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2059 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2062 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2064 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2065 in breakpoint filename pattern.
2067 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2069 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2071 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2073 * gdb.linespec/explicit.exp: Check for readline support for
2074 tab-completion tests. Fix obvious typo.
2076 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2078 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2081 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2083 * gdb.btrace/non-stop.c: New.
2084 * gdb.btrace/non-stop.exp: New.
2086 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2087 Yao Qi <yao.qi@linaro.org>
2089 * gdb.trace/trace-condition.c: New file.
2090 * gdb.trace/trace-condition.exp: New file.
2092 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2094 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2095 for testing bytecode compilation.
2097 2015-09-16 Pedro Alves <palves@redhat.com>
2098 Sandra Loosemore <sandra@codesourcery.com>
2100 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2101 (SECONDS): Redefine.
2102 (main): Call pthread_kill and alarm early.
2103 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2105 (test): If the target can't hardware step and doesn't support
2106 displaced stepping, increase the timeout.
2108 2015-09-16 Pedro Alves <palves@redhat.com>
2110 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2111 (enable_debug): New procedures.
2112 (test): Use them. Bail out if waiting for threads fails.
2113 (top level): Bail out if a test fails.
2115 2015-09-16 Yao Qi <yao.qi@linaro.org>
2117 * gdb.asm/asm-source.exp: Set asm-arch for
2118 aarch64*-*-* target.
2119 * gdb.asm/aarch64.inc: New file.
2121 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2123 * gdb.ada/array_of_variable_length.exp: New testcase.
2124 * gdb.ada/array_of_variable_length/foo.adb: New file.
2125 * gdb.ada/array_of_variable_length/pck.adb: New file.
2126 * gdb.ada/array_of_variable_length/pck.ads: New file.
2128 2015-09-15 Doug Evans <dje@google.com>
2130 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2131 of function static local variable.
2133 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2135 * gdb.threads/tls-so_extern.exp: New test file.
2136 * gdb.threads/tls-so_extern.c: New test file.
2137 * gdb.threads/tls-so_extern_main.c: New test file.
2139 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2141 * gdb.opt/solib-intra-step-lib.c: New file.
2142 * gdb.opt/solib-intra-step-main.c: New file.
2143 * gdb.opt/solib-intra-step.exp: New file.
2145 2015-09-15 Pedro Alves <palves@redhat.com>
2147 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2148 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2150 2015-09-14 Pedro Alves <palves@redhat.com>
2152 * gdb.base/hook-stop-continue.c: Delete.
2153 * gdb.base/hook-stop-continue.exp: Delete.
2154 * gdb.base/hook-stop-frame.c: Delete.
2155 * gdb.base/hook-stop-frame.exp: Delete.
2156 * gdb.base/hook-stop.c: New file.
2157 * gdb.base/hook-stop.exp: New file.
2159 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2161 * gdb.ada/access_to_packed_array.exp: New testcase.
2162 * gdb.ada/access_to_packed_array/foo.adb: New file.
2163 * gdb.ada/access_to_packed_array/pack.adb: New file.
2164 * gdb.ada/access_to_packed_array/pack.ads: New file.
2166 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2168 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2171 2015-09-11 Don Breazeal <donb@codesourcery.com>
2173 * gdb.base/foll-exec.c: Add copyright header. Fix
2175 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2176 (do_exec_tests): Use clean_restart in place of zap_session,
2177 and for test initialization. Fix formatting issues. Use
2178 fail in place of perror.
2179 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2180 an expect statement to match an expression with output from
2181 the program under debug.
2182 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2183 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2184 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2185 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2186 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2188 2015-09-09 Doug Evans <dje@google.com>
2190 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2192 2015-09-09 Doug Evans <dje@google.com>
2194 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2196 2015-09-09 Doug Evans <dje@google.com>
2198 * gdb.base/savedregs.exp: Fix typo.
2200 2015-09-09 Pedro Alves <palves@redhat.com>
2202 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2204 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2206 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2207 command actually switches threads. Give up on remaining
2208 tests if target fails to stop at breakpoint.
2210 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2212 * gdb.ada/funcall_char.exp: New testcase.
2213 * gdb.ada/funcall_char/foo.adb: New file.
2215 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2217 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2218 expected outputs. Add two testcases for completing ambiguous
2220 * gdb.ada/complete/aux_pck.adb: New file.
2221 * gdb.ada/complete/aux_pck.ads: New file.
2222 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2223 Ambiguous_Func functions.
2224 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2225 * gdb.ada/complete/pck.adb: Likewise.
2227 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2229 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2230 failures to run the test program under GDB.
2232 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2234 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2237 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2239 * gdb.base/run-after-attach.exp: New test file.
2240 * gdb.base/run-after-attach.c: New test file.
2242 2015-08-26 Don Breazeal <donb@codesourcery.com>
2244 * gdb.base/foll-exec-2.c: New test program.
2245 * gdb.base/foll-exec-2.exp: New test.
2247 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2249 * gdb.base/nested-subp1.exp: New file.
2250 * gdb.base/nested-subp1.c: New file.
2251 * gdb.base/nested-subp2.exp: New file.
2252 * gdb.base/nested-subp2.c: New file.
2253 * gdb.base/nested-subp3.exp: New file.
2254 * gdb.base/nested-subp3.c: New file.
2256 2015-08-24 Pedro Alves <palves@redhat.com>
2258 * gdb.server/connect-without-multi-process.c: New file.
2259 * gdb.server/connect-without-multi-process.exp: New file.
2261 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2263 * gdb.opt/inline-markers.c: Make z int.
2265 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2267 * gdb.opt/inline-markers.c: Make z volatile.
2269 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2271 * gdb.opt/inline-bt.c: New volatile global z.
2272 * gdb.opt/inline-cmds.c: Likewise.
2273 * gdb.opt/inline-locals.c: Likewise.
2274 * gdb.opt/inline-markers.c: New extern global z.
2276 (inline_fn): Likewise.
2278 2015-08-24 Pedro Alves <palves@redhat.com>
2280 * config/m32r-stub.exp: Remove file.
2281 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2282 * gdb.base/call-rt-st.exp: Likewise.
2283 * gdb.base/call-strs.exp: Likewise.
2284 * gdb.base/default.exp: Remove references to h8300-*-hms and
2286 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2288 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2290 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2291 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2292 and "return" use KFAIL when GDB can not read/write the vector
2295 2015-08-21 Gary Benson <gbenson@redhat.com>
2297 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2299 2015-08-20 Pedro Alves <palves@redhat.com>
2301 * gdb.server/solib-list.exp: No longer expect an interior stop in
2304 2015-08-20 Pedro Alves <palves@redhat.com>
2306 * gdb.server/connect-stopped-target.c: New file.
2307 * gdb.server/connect-stopped-target.exp: New file.
2309 2015-08-20 Pedro Alves <palves@redhat.com>
2311 * gdb.dwarf2/comp-unit-lang.exp: New file.
2312 * gdb.dwarf2/comp-unit-lang.c: New file.
2314 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2316 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2317 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2319 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2321 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2322 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2324 2015-08-18 Doug Evans <dje@google.com>
2325 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2327 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2328 skip_python_tests. New arg prompt_regexp.
2329 (skip_python_tests): New function.
2330 * lib/mi-support.exp (mi_skip_python_tests): New function.
2331 * gdb.python/py-mi-objfile-gdb.py: New file.
2332 * gdb.python/py-mi-objfile.c: New file.
2333 * gdb.python/py-mi-objfile.exp: New file.
2335 2015-08-17 Keith Seitz <keiths@redhat.com>
2337 * gdb.linespec/explicit.exp: Move strace test from here ...
2338 * gdb.trace/strace.exp: ... to here.
2340 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2342 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2343 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2345 2015-08-14 Doug Evans <xdje42@gmail.com>
2347 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2348 inferior before selecting a new file.
2350 2015-08-14 Doug Evans <xdje42@gmail.com>
2352 * gdb.mi/mi-disassemble.exp: Update.
2353 * gdb.base/disasm-optim.S: New file.
2354 * gdb.base/disasm-optim.c: New file.
2355 * gdb.base/disasm-optim.h: New file.
2356 * gdb.base/disasm-optim.exp: New file.
2358 2015-08-14 Keith Seitz <keiths@redhat.com>
2360 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2363 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2365 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2367 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2369 * gdb.ada/fun_renaming.exp: New testcase.
2370 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2371 * gdb.ada/fun_renaming/pack.adb: New file.
2372 * gdb.ada/fun_renaming/pack.ads: New file.
2374 2015-08-12 Keith Seitz <keiths@redhat.com>
2376 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2377 gdb_get_line_number.
2379 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2381 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2382 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2383 gdb.base/dso2dso.exp: New files.
2385 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2386 Pedro Alves <palves@redhat.com>
2387 Keith Seitz <keiths@redhat.com>
2389 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2392 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2394 * gdb.base/gdbhistsize-history.exp
2395 (test_histsize_history_setting): Use save_vars.
2396 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2398 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2399 * gdb.base/readline.exp: Use save_vars.
2401 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2403 * lib/gdb.exp (save_vars): New proc.
2405 2015-08-11 Keith Seitz <keiths@redhat.com>
2407 * gdb.base/help.exp: Update help_breakpoint_text.
2409 2015-08-11 Keith Seitz <keiths@redhat.com>
2411 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2412 (at toplevel): Call test_explicit_breakpoints.
2413 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2415 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2416 breakpoint conditions, "-cond".
2418 2015-08-11 Keith Seitz <keiths@redhat.com>
2420 * gdb.linespec/3explicit.c: New file.
2421 * gdb.linespec/cpexplicit.cc: New file.
2422 * gdb.linespec/cpexplicit.exp: New file.
2423 * gdb.linespec/explicit.c: New file.
2424 * gdb.linespec/explicit.exp: New file.
2425 * gdb.linespec/explicit2.c: New file.
2426 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2427 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2428 before using in the matching pattern.
2429 Clarify that `prefix' is a regular expression.
2431 2015-08-11 Keith Seitz <keiths@redhat.com>
2433 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2435 Add tests for missing ",FMT" and ",".
2437 2015-08-10 Doug Evans <dje@google.com>
2438 Keith Seitz <keiths@redhat.com>
2441 * gdb.base/completion.exp: Add location completer tests.
2443 2015-08-07 Pedro Alves <palves@redhat.com>
2445 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2447 (top level): Run do_test with and without displaced stepping.
2449 2015-08-07 Pedro Alves <palves@redhat.com>
2451 * gdb.base/valgrind-disp-step.c: New file.
2452 * gdb.base/valgrind-disp-step.exp: New file.
2454 2015-08-07 Pedro Alves <palves@redhat.com>
2456 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2458 (main): Add alarm. Run an infinite loop instead of calling
2460 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2462 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2464 (main): Add alarm. Run an infinite loop instead of calling
2466 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2469 2015-08-07 Pedro Alves <palves@redhat.com>
2471 * gdb.base/checkpoint-ns.exp: New file.
2472 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2475 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2477 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2478 * gdb.btrace/instruction_history.exp: Update.
2479 * gdb.btrace/tsx.exp: New.
2480 * gdb.btrace/tsx.c: New.
2482 2015-08-06 Pedro Alves <palves@redhat.com>
2484 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2486 * gdb.reverse/until-precsave.exp: Bump timeouts.
2488 2015-08-06 Pedro Alves <palves@redhat.com>
2490 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2492 2015-08-06 Pedro Alves <palves@redhat.com>
2495 * gdb.threads/process-dies-while-handling-bp.c: New file.
2496 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2498 2015-08-06 Pedro Alves <palves@redhat.com>
2500 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2501 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2503 2015-08-05 Pedro Alves <palves@redhat.com>
2505 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2506 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2508 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2510 * gdb.base/bp-permanent.exp: Report test as unsupported if
2511 the target cannot stop at the permanent breakpoint.
2513 2015-08-03 Doug Evans <dje@google.com>
2515 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2518 2015-08-03 Doug Evans <dje@google.com>
2520 * Makefile.in (workers/%.worker, build-perf): New rule.
2521 (GDB_PERFTEST_MODE): New variable.
2522 (check-perf): Use it.
2523 (clean): Clean up gdb.perf parallel build subdirs.
2524 * lib/build-piece.exp: New file.
2525 * lib/gdb.exp (make_gdb_parallel_path): New function
2526 (standard_output_file, standard_temp_file): Call it.
2527 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2529 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2531 2015-08-03 Doug Evans <dje@google.com>
2533 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2534 (LOG_FILE_NAME): New global.
2535 (TextReporter.__init__): Initialize self.txt_sum.
2536 (TextReporter.report): Add support for multiple data-points.
2537 Move report to perftest.sum, put raw data in perftest.log.
2538 (TextReporter.start): Open sum and log files.
2539 (TextReporter.end): Close sum and log files.
2540 * gdb.perf/lib/perftest/testresult.py
2541 (SingleStatisticTestResult.record): Handle multiple data-points.
2543 2015-07-31 Pedro Alves <palves@redhat.com>
2545 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2546 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2547 kill_wait_spawned_process instead of explicit "kill -9".
2548 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2549 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2550 kill_wait_spawned_process.
2551 * gdb.base/attach-twice.exp: Likewise.
2552 * gdb.base/attach.exp: Likewise.
2553 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2555 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2556 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2557 kill_wait_spawned_process.
2558 * gdb.base/valgrind-infcall.exp: Likewise.
2559 * gdb.multi/multi-attach.exp: Likewise.
2560 * gdb.python/py-prompt.exp: Likewise.
2561 * gdb.python/py-sync-interp.exp: Likewise.
2562 * gdb.server/ext-attach.exp: Likewise.
2563 * gdb.threads/attach-into-signal.exp (corefunc): Use
2564 spawn_wait_for_attach, spawn_id_get_pid and
2565 kill_wait_spawned_process.
2566 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2567 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2568 spawn_id_get_pid and kill_wait_spawned_process.
2569 * gdb.threads/attach-stopped.exp (corefunc): Use
2570 spawn_wait_for_attach, spawn_id_get_pid and
2571 kill_wait_spawned_process.
2572 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2573 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2574 kill_wait_spawned_process instead of explicit "kill -9".
2575 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2576 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2577 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2578 processes. Don't map cygwin/windows pids here. Now returns a
2581 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2583 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2584 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2587 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2589 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2591 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2594 2014-05-21 Mark Wielaard <mjw@redhat.com>
2596 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2598 2015-07-30 Pedro Alves <palves@redhat.com>
2600 * linux-low.c (handle_extended_wait): Set the child's last
2601 reported status to TARGET_WAITKIND_STOPPED.
2603 2015-07-30 Pedro Alves <palves@redhat.com>
2606 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2607 only shows inferior 1.
2609 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2610 Pedro Alves <palves@redhat.com>
2613 * gdb.threads/fork-plus-threads.c: New file.
2614 * gdb.threads/fork-plus-threads.exp: New file.
2616 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2618 * gdb.base/batch-preserve-term-settings.exp
2619 (test_terminal_settings_preserved_after_cli_exit): Use
2622 2015-07-29 Pedro Alves <palves@redhat.com>
2623 Don Breazeal <donb@codesourcery.com>
2625 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2626 output from both inferior_spawn_id and gdb_spawn_id.
2628 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2630 * gdb.threads/attach-into-signal.exp (corefunc): Use
2631 with_test_prefix on nested loops, uniquefying the test messages.
2633 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2635 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2638 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2640 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2642 (test_terminal_settings_preserved_after_sigterm): New test.
2644 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2646 * gdb.base/batch-preserve-term-settings.exp
2647 (test_terminal_settings_preserved_after_cli_exit): New test.
2649 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2651 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2652 manipulation of saved_gdbflags.
2653 (test_terminal_settings_preserved): Remove global declaration of
2654 the unused variable pagination_prompt. Remove manipulation of
2655 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2658 2015-07-29 Pedro Alves <palves@redhat.com>
2660 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2662 2015-07-29 Pedro Alves <palves@redhat.com>
2664 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2667 2015-07-29 Pedro Alves <palves@redhat.com>
2669 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2670 (main): Call gdb_unbuffer_output.
2671 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2672 (main): Call gdb_unbuffer_output.
2673 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2674 (main): Call gdb_unbuffer_output.
2675 * gdb.base/call-strs.exp: Adjust to step over the
2676 gdb_unbuffer_output call.
2677 * gdb.base/catch-gdb-caused-signals.c: Include
2678 "../lib/unbuffer_output.c".
2679 (main): Call gdb_unbuffer_output.
2680 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2681 (main): Call gdb_unbuffer_output.
2682 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2683 (main): Call gdb_unbuffer_output.
2684 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2685 (main): Call gdb_unbuffer_output.
2686 * gdb.base/shlib-call.exp: Adjust to step over the
2687 gdb_unbuffer_output call.
2688 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2689 (main): Call gdb_unbuffer_output.
2690 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2691 (main): Call gdb_unbuffer_output.
2692 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2693 (main): Rename to ...
2695 (main): Reimplement.
2696 * gdb.base/varargs.exp: Run to test instead of to main.
2697 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2698 (main): Call gdb_unbuffer_output.
2700 2015-07-29 Pedro Alves <palves@redhat.com>
2702 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2703 factore out from mi_continue_dprintf. For call-style dprintfs,
2704 expect dprintf output out of $inferior_spawn_id.
2705 (mi_continue_dprintf): Use mi_expect_dprintf.
2706 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2707 (main): Call gdb_unbuffer_output.
2709 2015-07-29 Pedro Alves <palves@redhat.com>
2711 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2712 (default_mi_gdb_start): Set inferior_spawn_id instead of
2713 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2715 (mi_gdb_test): Always expect inferior output from both
2716 $inferior_spawn_id and $gdb_spawn_id.
2718 2015-07-29 Pedro Alves <palves@redhat.com>
2720 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2721 send_inferior and $inferior_spawn_id.
2723 2015-07-29 Pedro Alves <palves@redhat.com>
2725 * gdb.gdb/complaints.exp (test_initial_complaints)
2726 (test_serial_complaints, test_short_complaints): Use
2728 (test_empty_complaint): Handle $inferior_spawn_id !=
2731 2015-07-29 Pedro Alves <palves@redhat.com>
2733 * gdb.base/varargs.exp: Use gdb_test_stdio.
2735 2015-07-29 Pedro Alves <palves@redhat.com>
2737 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2739 2015-07-29 Pedro Alves <palves@redhat.com>
2741 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2743 2015-07-29 Pedro Alves <palves@redhat.com>
2745 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2746 parameter into two new parameters, "inf_result" and "gdb_result".
2747 Expect inferior output and gdb output from $inferior_spawn_id and
2748 $gdb_spawn_id, respectively. Adjust all callers.
2750 2015-07-29 Pedro Alves <palves@redhat.com>
2752 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2753 of gdb_test_sequence.
2755 2015-07-29 Pedro Alves <palves@redhat.com>
2757 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2758 (saw_spurious_output): Expect inferior output from
2759 $inferior_spawn_id. Use gdb_test_stdio.
2761 2015-07-29 Pedro Alves <palves@redhat.com>
2763 * gdb.base/dprintf.exp: Use standard_testfile. Change
2764 prepare_for_testing call.
2765 (srcfile): Don't set.
2766 (restart): New procedure.
2767 (test_dprintf): New procecure, use to continue over dprintfs.
2768 (test_call, test_agent): New procedures, tests moved here.
2769 Restart gdb and recreate dprintfs. Adjust expected output.
2771 2015-07-29 Pedro Alves <palves@redhat.com>
2773 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2775 2015-07-29 Pedro Alves <palves@redhat.com>
2777 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2779 2015-07-29 Pedro Alves <palves@redhat.com>
2781 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2784 2015-07-29 Pedro Alves <palves@redhat.com>
2786 * lib/gdb.exp (gdb_test_stdio): New procedure.
2788 2015-07-29 Pedro Alves <palves@redhat.com>
2790 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2792 2015-07-29 Pedro Alves <palves@redhat.com>
2794 * gdb.base/call-signal-resume.exp: Remove check for
2795 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2796 * gdb.base/unwindonsignal.exp: Likewise.
2797 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2798 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2800 2015-07-29 Pedro Alves <palves@redhat.com>
2802 * gdb.base/siginfo-addr.c (pass): New function.
2803 (handler): Call it iff si_addr is correct.
2804 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2805 Set a breakpoint at "pass" and continue to it.
2807 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2809 * gdb.python/py-objfile.exp: Make some tests have unique names.
2810 * gdb.python/py-pp-registration.exp: Likewise.
2812 2015-07-28 Pedro Alves <palves@redhat.com>
2814 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2816 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2818 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2820 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2822 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2824 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2826 * gdb.base/gdb-sigterm-2.exp: New test.
2828 2015-07-25 Doug Evans <xdje42@gmail.com>
2831 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2832 (workers/%.worker, build-perf): New rule.
2833 (GDB_PERFTEST_MODE): New variable.
2834 (check-perf): Use it.
2835 (clean): Clean up gdb.perf parallel build subdirs.
2836 * lib/build-piece.exp: New file.
2837 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2838 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2840 (standard_temp_file): Ditto.
2841 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2844 2015-07-24 Doug Evans <dje@google.com>
2846 * gdb.perf/lib/perftest/utils.py: New file.
2847 * gdb.perf/gm-hello.cc: New file.
2848 * gdb.perf/gm-pervasive-typedef.cc: New file.
2849 * gdb.perf/gm-pervasive-typedef.h: New file.
2850 * gdb.perf/gm-std.cc: New file.
2851 * gdb.perf/gm-std.h: New file.
2852 * gdb.perf/gm-use-cerr.cc: New file.
2853 * gdb.perf/gm-utils.h: New file.
2854 * gdb.perf/gmonster-null-lookup.py: New file.
2855 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2856 * gdb.perf/gmonster-print-cerr.py: New file.
2857 * gdb.perf/gmonster-ptype-string.py: New file.
2858 * gdb.perf/gmonster-runto-main.py: New file.
2859 * gdb.perf/gmonster-select-file.py: New file.
2860 * gdb.perf/gmonster1-null-lookup.exp: New file.
2861 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2862 * gdb.perf/gmonster1-print-cerr.exp: New file.
2863 * gdb.perf/gmonster1-ptype-string.exp: New file.
2864 * gdb.perf/gmonster1-runto-main.exp: New file.
2865 * gdb.perf/gmonster1-select-file.exp: New file.
2866 * gdb.perf/gmonster1.cc: New file.
2867 * gdb.perf/gmonster1.exp: New file.
2868 * gdb.perf/gmonster2-null-lookup.exp: New file.
2869 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2870 * gdb.perf/gmonster2-print-cerr.exp: New file.
2871 * gdb.perf/gmonster2-ptype-string.exp: New file.
2872 * gdb.perf/gmonster2-runto-main.exp: New file.
2873 * gdb.perf/gmonster2-select-file.exp: New file.
2874 * gdb.perf/gmonster2.cc: New file.
2875 * gdb.perf/gmonster2.exp: New file.
2877 2015-07-24 Doug Evans <dje@google.com>
2879 * gdb.perf/README: New file.
2880 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2881 * lib/gen-perf-test.exp: New file.
2883 2015-07-24 Doug Evans <dje@google.com>
2885 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2886 (PerfTest::startup): New function.
2887 (PerfTest::run): Return result of calling body.
2888 (PerfTest::assemble): Rewrite.
2889 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2890 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2891 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2892 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2893 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2895 2015-07-24 Doug Evans <dje@google.com>
2897 * lib/gdb.exp (clean_restart): Make executable optional.
2899 2015-07-24 Doug Evans <dje@google.com>
2901 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2902 compiler_info references.
2903 * gdb.cp/temargs.exp: Ditto.
2904 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2905 (get_compiler_info): Early exit if already computed. Set compiler_info
2906 to "unknown" if there was a problem.
2907 (test_compiler_info): Add function comment. Call get_compiler_info.
2909 2015-07-24 Doug Evans <dje@google.com>
2911 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2912 (workers/%.worker, build-perf): New rule.
2913 (GDB_PERFTEST_MODE): New variable.
2914 (check-perf): Use it.
2915 (clean): Clean up gdb.perf parallel build subdirs.
2916 * lib/build-piece.exp: New file.
2917 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2918 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2920 (standard_temp_file): Ditto.
2921 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2924 2015-07-24 Doug Evans <dje@google.com>
2926 * lib/future.exp (gdb_default_target_compile): New option
2928 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2931 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2933 * gdb.base/catch-syscall.exp: Call gdb_exit before
2936 2015-07-24 Pedro Alves <palves@redhat.com>
2938 * gdb.python/py-events.exp: Accept output between the stop event
2940 * gdb.python/py-evsignal.exp: Likewise.
2941 * gdb.python/py-evthreads.exp: Likewise.
2943 2015-07-24 Pedro Alves <palves@redhat.com>
2946 * gdb.threads/non-ldr-exit.c: New file.
2947 * gdb.threads/non-ldr-exit.exp: New file.
2949 2015-07-24 Yao Qi <yao.qi@linaro.org>
2951 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2954 2015-07-24 Yao Qi <yao.qi@linaro.org>
2956 * gdb.server/ext-restart.exp: New file.
2958 2015-07-24 Yao Qi <yao.qi@linaro.org>
2960 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2962 * gdb.server/ext-wrapper.exp: New file.
2964 2015-07-23 Doug Evans <dje@google.com>
2966 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2967 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2969 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2971 * gdb.ada/var_arr_typedef.exp: New testcase.
2972 * gdb.ada/var_arr_typedef/pack.adb: New file.
2973 * gdb.ada/var_arr_typedef/pack.ads: New file.
2974 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2976 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2978 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2980 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2982 * gdb.arch/i386-biarch-core.exp: Replace istarget
2983 by "complete set gnutarget". Remove expectation for the "core-file"
2986 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2988 Revert the previous commit:
2989 Tests for validate symbol file using build-id.
2991 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2993 Tests for validate symbol file using build-id.
2994 * gdb.base/solib-mismatch-lib.c: New file.
2995 * gdb.base/solib-mismatch-libmod.c: New file.
2996 * gdb.base/solib-mismatch.c: New file.
2997 * gdb.base/solib-mismatch.exp: New file.
2999 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3001 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3003 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3004 * gdb.base/siginfo.exp: Likewise.
3005 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3007 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3009 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3011 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3013 * gdb.trace/range-stepping.exp: Check that the target supports
3016 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3018 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3020 2015-07-14 Pedro Alves <palves@redhat.com>
3022 * gdb.base/killed-outside.exp: New file.
3023 * gdb.base/killed-outside.c: New file.
3025 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3027 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3029 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3031 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3033 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3034 infcall tests instead of setting up for KFAIL.
3036 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3038 * gdb.btrace/record_goto-step.exp: New.
3040 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3043 * gdb.compile/compile.c (struct struct_type): Add volatile to
3045 * gdb.compile/compile.exp
3046 (compile code struct_object.selffield = &struct_object): Skip further
3047 struct_object tests if this one xfails.
3049 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3052 * gdb.trace/ax.exp: Add test.
3054 2015-07-07 Yao Qi <yao.qi@linaro.org>
3056 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3057 instead of istarget "aarch64*-*-*".
3058 * gdb.arch/aarch64-fp.exp: Likewise.
3059 * gdb.base/float.exp: Likewise.
3060 * gdb.reverse/aarch64.exp: Likewise.
3061 * lib/gdb.exp (is_aarch64_target): New proc.
3063 2015-07-07 Yao Qi <yao.qi@linaro.org>
3065 * lib/gdb.exp (is_aarch32_target): New proc.
3066 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3067 instead of "istarget "arm*-*-*"".
3068 * gdb.arch/arm-disp-step.exp: Likewise.
3069 * gdb.arch/thumb-bx-pc.exp: Likewise.
3070 * gdb.arch/thumb-prologue.exp: Likewise.
3071 * gdb.arch/thumb-singlestep.exp: Likewise.
3072 * gdb.base/disp-step-syscall.exp: Likewise.
3073 * gdb.base/float.exp: Likewise.
3075 2015-07-07 Yao Qi <yao.qi@linaro.org>
3077 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3078 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3080 2015-07-07 Yao Qi <yao.qi@linaro.org>
3082 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3083 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3085 * gdb.multi/multi-arch.exp: Likewise.
3087 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3089 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3092 2015-07-07 Yao Qi <yao.qi@linaro.org>
3094 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3096 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3098 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3099 '[' and ']' characters.
3101 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3103 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3105 2015-06-29 Pedro Alves <palves@redhat.com>
3108 * gdb.threads/hand-call-new-thread.c: New file.
3109 * gdb.threads/hand-call-new-thread.c: New file.
3111 2015-06-26 Keith Seitz <keiths@redhat.com>
3112 Doug Evans <dje@google.com>
3115 * gdb.cp/var-tag-2.cc: New file.
3116 * gdb.cp/var-tag-3.cc: New file.
3117 * gdb.cp/var-tag-4.cc: New file.
3118 * gdb.cp/var-tag.cc: New file.
3119 * gdb.cp/var-tag.exp: New file.
3121 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3123 * gdb.base/history-duplicates.exp: New test.
3125 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3127 * gdb.base/completion.exp: Test the completion of the "focus"
3130 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3132 * gdb.arch/amd64-prologue-skip.S: New file.
3133 * gdb.arch/amd64-prologue-skip.exp: New file.
3135 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3137 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3138 is_address_zero_readable check.
3140 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3142 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3143 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3145 2015-06-24 Yao Qi <yao.qi@linaro.org>
3147 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3150 2015-06-24 Yao Qi <yao.qi@linaro.org>
3152 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3153 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3154 * gdb.base/siginfo-thread.exp: Likewise.
3156 2015-06-22 Yao Qi <yao.qi@linaro.org>
3158 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3160 2015-06-22 Yao Qi <yao.qi@linaro.org>
3162 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3164 (skip_hw_watchpoint_tests): Likewise.
3166 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3168 * gdb.base/gdbinit-history.exp: Test the interaction between
3169 setting GDBHISTSIZE and setting the history size via .gdbinit.
3171 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3174 * gdb.base/gdbhistsize-history.exp: New test.
3176 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3178 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3180 * gdb.base/readline.exp: Likewise.
3182 2015-06-17 Yao Qi <yao.qi@linaro.org>
3184 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3187 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3189 * gdb.base/gdbinit-history.exp: Add test case to check that
3190 an unlimited history file does not get truncated on exit.
3192 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3194 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3195 (VECTOR): New macro. Use it...
3196 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3197 ...for these typedefs.
3198 (int8, char1, int1, double1): New typedefs.
3199 (struct just_int2, struct two_int2): New structures.
3200 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3201 (add_structvecs, add_singlevecs): New functions.
3202 (main): Call add_some_intvecs twice.
3203 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3204 the compile and exit upon failure. Try compiling for the "native"
3205 architecture. Test inferior function calls with vector arguments
3206 and vector return value handling with "finish" and "return".
3208 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3210 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3211 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3213 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3215 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3217 PR breakpoints/16465
3218 * gdb.mi/mi-dprintf-pending.c: New file.
3219 * gdb.mi/mi-dprintf-pending.exp: New test.
3220 * gdb.mi/mi-dprintf-pendshr.c: New file.
3222 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3223 Mircea Gherzan <mircea.gherzan@intel.com>
3225 * gdb.arch/i386-mpx-map.c: New file.
3226 * gdb.arch/i386-mpx-map.exp: New File.
3228 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3230 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3231 * gdb.arch/i386-mpx.exp: Indentation fixed.
3233 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3235 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3236 function and improved indentation.
3237 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3238 gdb_test_multiple. Added additional tests to skip the test.
3240 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3242 * gdb.arch/i386-avx512.c: Change path in include file.
3243 * gdb.arch/i386-avx512.exp: Change include dir path
3245 * gdb.arch/i386-mpx.c: Change path in include file.
3246 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3249 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3251 * gdb.compile/compile-print.exp (compile print *vararray@3)
3252 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3254 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3256 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3257 (do not keep jit in memory): ... this.
3258 (expect 5): Change it to ...
3259 (expect no 5): ... this.
3261 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3264 * gdb.mi/mi-detach.exp: New file.
3266 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3269 * gdb.arch/amd64-tailcall-self.S: New file.
3270 * gdb.arch/amd64-tailcall-self.c: New file.
3271 * gdb.arch/amd64-tailcall-self.exp: New file.
3273 2015-05-28 Don Breazeal <donb@codesourcery.com>
3275 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3276 tests for remote targets by checking is_target_gdbserver.
3278 2015-05-27 Doug Evans <dje@google.com>
3280 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3281 * gdb.dwarf2/opaque-type-lookup.c: New file.
3282 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3284 2015-05-26 Doug Evans <dje@google.com>
3286 * gdb.cp/iostream.cc: New file.
3287 * gdb.cp/iostream.exp: New file.
3289 2015-05-26 Doug Evans <dje@google.com>
3291 * gdb.dwarf2/dw2-op-call.exp: Update.
3292 * gdb.dwarf2/dw4-sig-types.exp: Update.
3293 * gdb.dwarf2/implptr.exp: Update.
3294 * gdb.mi/mi-cmd-param-changed.exp: Update.
3296 2015-05-26 Doug Evans <dje@google.com>
3298 * gdb.python/py-lazy-string.c: New file.
3299 * gdb.python/py-lazy-string.exp: New file.
3300 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3301 (main): Update. Add estring3.
3302 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3303 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3305 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3306 Yao Qi <yao.qi@linaro.org>
3308 * gdb.reverse/aarch64.c: New.
3309 * gdb.reverse/aarch64.exp: New.
3311 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3313 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3314 (supports_reverse): Likewise.
3316 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3318 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3319 Use with_test_prefix.
3321 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3323 * gdb.base/completion.exp: Add test for completion of layout
3326 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3328 * lib/gdb.exp (skip_tui_tests): New proc.
3329 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3331 2015-05-19 Pedro Alves <palves@redhat.com>
3333 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3334 Save the whole env array instead of just HOME. Unset HISTSIZE in
3335 the environment while testing. Restore whole environment
3338 2015-05-16 Doug Evans <xdje42@gmail.com>
3340 * gdb.guile/scm-ports.c: New file.
3341 * gdb.guile/scm-ports.exp: Add memory port tests.
3343 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3345 * gdb.compile/compile-print.c: New file.
3346 * gdb.compile/compile-print.exp: New file.
3348 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3350 * gdb.compile/compile-ops.exp: Cast param to void.
3351 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3352 (compile code struct_object.selffield = &struct_object): Add xfail.
3354 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3356 * gdb.ada/arr_enum_with_gap: New testcase.
3358 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3360 * gdb.ada/byte_packed_arr: New testcase.
3362 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3364 * gdb.ada/pckd_neg: New testcase.
3366 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3369 * gdb.base/gdbinit-history.exp: New test.
3370 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3371 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3373 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3375 * gdb.python/py-xmethods.cc: Enhance test case.
3376 * gdb.python/py-xmethods.exp: New tests.
3377 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3379 (B_indexoper): Likewise.
3380 (global_dm_list) : Add new xmethod worker functions.
3382 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3384 * gdb.base/coredump-filter.exp: Correctly unset
3385 "coredump_var_addr" array.
3387 2015-05-08 Pedro Alves <palves@redhat.com>
3389 * gdb.server/non-existing-program.exp: Unset spawn_id.
3391 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3394 * gdb.python/py-xmethods.exp: Add tests.
3396 2015-05-08 Yao Qi <yao.qi@linaro.org>
3399 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3400 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3401 function set_coredump_filter, and remove remote_exec call.
3402 Remove argument ipid. Callers update.
3403 (top level): Don't get inferior's PID.
3405 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3407 * gdb.base/watch_thread_num.exp: Skip test on targets without
3410 2015-05-06 Pedro Alves <palves@redhat.com>
3413 * gdb.server/non-existing-program.exp: New file.
3415 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3417 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3419 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3421 * gdb.ada/out_of_line_in_inlined: New testcase.
3423 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3425 * gdb.ada/var_rec_arr: New testcase.
3427 2015-04-30 Yao Qi <yao.qi@linaro.org>
3429 * gdb.base/break-idempotent.exp: If
3430 skip_hw_watchpoint_multi_tests returns true, skip the tests
3431 on "rwatch" and "awatch".
3433 2015-04-30 Yao Qi <yao.qi@linaro.org>
3435 * gdb.base/relativedebug.exp: Invoke gdb command
3436 "info sharedlibrary", and if libc.so doesn't have debug info,
3439 2015-04-29 Doug Evans <dje@google.com>
3441 * gdb.python/py-xmethods.exp: Add ptype tests.
3442 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3443 get_result_type method.
3445 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3447 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3448 the target does not support hardware watchpoints.
3450 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3452 * gdb.base/break-always.exp: Abort testing if writing to memory
3455 2015-04-28 Doug Evans <dje@google.com>
3457 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3458 * gdb.python/py-pp-registration.exp: ... here. New file.
3459 * gdb.python/py-pp-registration.c: New file.
3460 * gdb.python/py-pp-registration.py: New file.
3462 2015-04-28 Doug Evans <dje@google.com>
3464 * gdb.python/py-bad-printers.c: New file.
3465 * gdb.python/py-bad-printers.py: New file.
3466 * gdb.python/py-bad-printers.exp: New file.
3468 2015-04-28 Sasha Smundak <asmundak@google.com>
3470 * gdb.python/py-type.exp: New test.
3472 2015-04-28 Andy Wingo <wingo@igalia.com>
3474 * gdb.python/py-parameter.exp:
3475 * gdb.guile/scm-parameter.exp: Escape the path that we are
3476 matching against, as it might contain characters that are special
3477 to regular expressions.
3479 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3481 * gdb.ada/rec_comp: New testcase.
3483 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3485 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3488 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3490 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3491 new tests for verilog output.
3493 2015-04-24 Yao Qi <yao.qi@linaro.org>
3495 * boards/remote-gdbserver-on-localhost.exp: New file.
3497 2015-04-23 Pedro Alves <palves@redhat.com>
3499 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3500 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3501 "end of file", remove $inferior_spawn_id from the indirect list.
3503 2015-04-23 Pedro Alves <palves@redhat.com>
3505 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3507 2015-04-23 Pedro Alves <palves@redhat.com>
3509 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3510 on $any_spawn_id instead of only on $gdb_spawn_id.
3512 2015-04-21 Pierre Muller <muller@sourceware.org>
3515 * lib/pascal.exp (gpc_compile): Add new option "class".
3516 (fpc_compile): Likewise.
3517 * gdb.pascal/case-insensitive-symbols.pas: New file.
3518 * gdb.pascal/case-insensitive-symbols.exp: New file.
3520 2015-04-20 Gary Benson <gbenson@redhat.com>
3522 * gdb.base/attach.exp: Fix three extended remote failures.
3524 2015-04-17 Gary Benson <gbenson@redhat.com>
3526 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3527 the main executable over the remote protocol.
3529 2015-04-16 Pedro Alves <palves@redhat.com>
3531 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3532 a new gdbserver if gdbserver_reconnect_p is set.
3534 2015-04-16 Pedro Alves <palves@redhat.com>
3536 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3537 is set, don't exit gdbserver.
3539 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3541 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3542 appropriate .insn, such that an older assembler can be used.
3543 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3544 the z/Architecture instruction set on 31-bit targets as well.
3546 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3548 * gdb.go/handcall.exp: Remove all logic related to the first
3549 breakpoint and rely on go_runto_main instead.
3550 * gdb.go/strings.exp: Likewise.
3551 * gdb.go/unsafe.exp: Likewise.
3552 * gdb.go/hello.exp: Likewise. Also rename the remaining
3553 breakpoint marker to "breakpoint 1".
3554 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3555 * gdb.go/strings.go: Likewise.
3556 * gdb.go/unsafe.go: Likewise.
3557 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3558 "set breakpoint 2 here" and rename the remaining breakpoint marker
3561 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3563 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3564 if itertools.imap is not present.
3565 * gdb.python/py-objfile.exp: Add parentheses.
3566 * gdb.python/py-type.exp: Same.
3567 * gdb.python/py-unwind-maint.py: Same.
3569 2015-04-15 Yao Qi <yao.qi@linaro.org>
3571 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3572 of ":$ptr_size" and set its form explicitly.
3574 2015-04-15 Pedro Alves <palves@redhat.com>
3575 Yao Qi <yao.qi@linaro.org>
3577 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3578 timeout by factor of 4.
3579 (test_regular_watch): Likewise.
3580 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3581 * gdb.reverse/sigall-reverse.exp: Likewise.
3582 * gdb.reverse/until-precsave.exp: Likewise.
3583 * lib/gdb.exp (with_timeout_factor): New proc.
3584 (gdb_expect): Move some code to ...
3585 (get_largest_timeout): ... here. New procedure.
3587 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3589 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3591 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3593 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3594 to write to the .text section.
3596 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3598 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3599 Handle the case of targets that do not provide PID information.
3601 2015-04-13 Yao Qi <yao.qi@linaro.org>
3603 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3604 and use expect instead of gdb_expect.
3606 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3608 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3609 "coredump_var_addr" to avoid naming conflict with other testcases.
3611 2015-04-10 Pedro Alves <palves@redhat.com>
3613 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3614 gdb_test_sequence and gdb_assert.
3616 2015-04-10 Pedro Alves <palves@redhat.com>
3618 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3619 test messages that don't include the breakpoint address.
3621 2015-04-10 Yao Qi <yao.qi@linaro.org>
3623 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3624 false for some offset and width combinations which aren't
3625 supported by linux kernel.
3627 2015-04-10 Pedro Alves <palves@redhat.com>
3629 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3630 procedure, factored out from ...
3631 (top level): ... here. Add "set displaced-stepping" testing axis.
3632 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3633 parameter "displaced". Use it.
3634 (top level): Use foreach and add "set displaced-stepping" testing
3637 2015-04-10 Pedro Alves <palves@redhat.com>
3639 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3641 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3642 both the address of the instruction that triggers the watchpoint
3643 and the address of the instruction immediately after, and use
3644 those addresses for the test. Fix comment.
3646 2015-04-10 Pedro Alves <palves@redhat.com>
3648 * gdb.base/sigstep.exp (breakpoint_to_handler)
3649 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3650 Test "backtrace" in handler.
3651 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3652 (top level): Add new "displaced" test axis to
3653 breakpoint_to_handler, breakpoint_to_handler_entry and
3654 breakpoint_over_handler.
3656 2015-04-10 Pedro Alves <palves@redhat.com>
3659 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3661 2015-04-10 Yao Qi <yao.qi@linaro.org>
3663 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3664 (test_add_rn_pc): New function.
3665 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3666 (top level): Invoke test_add_rn_pc.
3668 2015-04-10 Pedro Alves <palves@redhat.com>
3671 * gdb.base/step-over-no-symbols.exp: New file.
3673 2015-04-09 Andy Wingo <wingo@igalia.com>
3675 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3676 after the Python tests.
3678 2015-04-08 Keith Seitz <keiths@redhat.com>
3681 * gdb.python/py-completion.exp: New tests for completion.
3682 * gdb.python/py-completion.py (CompleteLimit1): New class.
3683 (CompleteLimit2): Likewise.
3684 (CompleteLimit3): Likewise.
3685 (CompleteLimit4): Likewise.
3686 (CompleteLimit5): Likewise.
3687 (CompleteLimit6): Likewise.
3688 (CompleteLimit7): Likewise.
3690 2015-04-08 Pedro Alves <palves@redhat.com>
3694 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3696 (main): Install it as SIGUSR1 handler.
3697 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3698 parameter. Always use "setup" as prefix. Toggle "set
3699 displaced-stepping" off/on depending on global. Don't switch to
3701 (top level): Add displaced stepping "off/on" test axis. Update
3702 "setup" calls. Wrap each subtest with with_test_prefix. Test
3703 continuing with a queued signal in each thread.
3705 2015-04-08 Pedro Alves <palves@redhat.com>
3707 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3708 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3709 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3710 Return early if running to main fails.
3711 * gdb.trace/while-stepping.exp: Likewise.
3713 2015-04-07 Pedro Alves <palves@redhat.com>
3715 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3716 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3717 interact with inferior program.
3719 2015-04-07 Pedro Alves <palves@redhat.com>
3721 * lib/gdb.exp (inferior_spawn_id): New global.
3722 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3723 spawn id after processing the user code.
3724 (default_gdb_start): Set inferior_spawn_id.
3725 (send_inferior): New procedure.
3726 * lib/gdbserver-support.exp (gdbserver_start): Set
3728 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3730 2015-04-07 Pedro Alves <palves@redhat.com>
3732 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3733 * lib/gdbserver-support.exp (gdbserver_start): Make
3734 $server_spawn_id global.
3735 (gdbserver_start): Don't wait for gdbserver's spawn id with
3737 (close_gdbserver): New procedure.
3738 (gdb_exit): Rename the default version and reimplement.
3740 2015-04-07 Pedro Alves <palves@redhat.com>
3742 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3743 append the substituted item, not the original item.
3745 2015-04-07 Pedro Alves <palves@redhat.com>
3747 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3750 2015-04-07 Pedro Alves <palves@redhat.com>
3752 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3753 output appearing once only.
3755 2015-04-07 Pedro Alves <palves@redhat.com>
3757 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3758 that doesn't expect anything. Return early if running to main
3761 2015-04-07 Yao Qi <yao.qi@linaro.org>
3763 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3764 (child_function): Call alarm.
3765 (main): Move call to alarm into the loop.
3766 * gdb.threads/non-stop-fair-events.exp: Build program with
3769 2015-04-06 Doug Evans <xdje42@gmail.com>
3771 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3772 Fix dest parameter to board_info.
3773 (fpc_compile): Ditto.
3774 (gdb_compile_pascal): Rename dest arg to destfile.
3776 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3778 * gdb.ada/funcall_ref.exp: New file.
3779 * gdb.ada/funcall_ref/foo.adb: New file.
3781 2015-04-02 Yao Qi <yao.qi@linaro.org>
3783 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3786 2015-04-02 Gary Benson <gbenson@redhat.com>
3788 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3790 2015-04-01 Sasha Smundak <asmundak@google.com>
3792 * gdb.python/py-unwind-maint.c: New file.
3793 * gdb.python/py-unwind-maint.exp: New test.
3794 * gdb.python/py-unwind-maint.py: New file.
3795 * gdb.python/py-unwind.c: New file.
3796 * gdb.python/py-unwind.exp: New test.
3797 * gdb.python/py-unwind.py: New test.
3799 2015-04-01 Pedro Alves <palves@redhat.com>
3801 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3802 to fail instead of non-existent $test.
3804 2015-04-01 Pedro Alves <palves@redhat.com>
3806 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3807 GDBFLAGS if not empty.
3809 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3811 * gdb.ada/complete.exp: Remove "multi_line".
3812 * gdb.ada/info_exc.exp: Remove "multi_line".
3813 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3814 * gdb.ada/ptype_field.exp: Remove "multi_line".
3815 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3816 * gdb.ada/tagged.exp: Remove "multi_line".
3817 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3819 * gdb.btrace/delta.exp: Likewise.
3820 * gdb.btrace/exception.exp: Likewise.
3821 * gdb.btrace/function_call_history.exp: Likewise.
3822 * gdb.btrace/instruction_history.exp: Likewise.
3823 * gdb.btrace/nohist.exp: Likewise.
3824 * gdb.btrace/record_goto.exp: Likewise.
3825 * gdb.btrace/segv.exp: Likewise.
3826 * gdb.btrace/stepi.exp: Likewise.
3827 * gdb.btrace/tailcall.exp: Likewise.
3828 * gdb.btrace/unknown_functions.exp: Likewise.
3829 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3830 * lib/gdb.exp: Add the "multi_line" helper.
3832 2015-04-01 Pedro Alves <palves@redhat.com>
3834 * gdb.threads/tid-reuse.c: New file.
3835 * gdb.threads/tid-reuse.exp: New file.
3837 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3840 * gdb.base/coredump-filter.c: New file.
3841 * gdb.base/coredump-filter.exp: Likewise.
3843 2015-03-27 Petr Machata <pmachata@redhat.com>
3845 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3846 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3847 (Dwarf::assemble): Initialize them.
3848 (Dwarf::lines): New function.
3850 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3852 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3853 SYMBOL_PREFIX for x86_64-*-cygwin.
3855 2015-03-26 Andy Wingo <wingo@igalia.com>
3858 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3859 const_value but not a location.
3860 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3861 location defined in non-main CUs are visible.
3863 2015-03-26 Yao Qi <yao.qi@linaro.org>
3866 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3867 Add a line number entry for the same line.
3868 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3869 Add a line number entry for the same line.
3871 2015-03-26 Yao Qi <yao.qi@linaro.org>
3873 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3875 (func): Likewise. Add .Lfunc_1 label.
3877 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3882 2015-03-26 Yao Qi <yao.qi@linaro.org>
3884 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3885 Call gdb_compile instead to compile each .s files without debug
3888 2015-03-26 Yao Qi <yao.qi@linaro.org>
3890 * gdb.base/savedregs.exp (process_saved_regs): Make
3891 "Saved registers:" optional in the pattern.
3893 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3895 * gdb.btrace/next.exp: Merged into step.exp.
3896 * gdb.btrace/finish.exp: Merged into step.exp.
3897 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3898 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3899 "record goto" and checking the exact replay position.
3900 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3901 check for "Recording format" in "info record" output.
3902 * gdb.btrace/record_goto.exp: Choose test file based on target.
3903 * gdb.btrace/x86-record_goto.S: Renamed into ...
3904 * gdb.btrace/x86_64-record_goto.S: ... this.
3905 * gdb.btrace/i686-record_goto.S: New.
3906 * gdb.btrace/x86-tailcall.S: Renamed into ...
3907 * gdb.btrace/x86_64-tailcall.S: ... this.
3908 * gdb.btrace/i686-tailcall.S: New.
3909 * gdb.btrace/x86-tailcall.c: Renamed into ...
3910 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3911 separate statements. Update test.
3912 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3913 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3914 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3915 * gdb.btrace/tailcall.exp: Choose test file based on target.
3916 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3918 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3920 * gdb.btrace/exception.exp: Increase BTS buffer size.
3922 2015-03-24 Pedro Alves <palves@redhat.com>
3924 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3926 2015-03-24 Pedro Alves <palves@redhat.com>
3928 * gdb.threads/schedlock.exp (test_step): No longer expect that
3929 "set scheduler-locking step" with "next" over a function call runs
3932 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3934 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3936 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3938 PR breakpoints/16466
3939 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3940 * gdb.mi/mi-pending.c (thread_func): New function.
3941 (int main): Add threading support required.
3942 * gdb.mi/mi-pending.exp: Add tests for this issue.
3943 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3944 (pendfunc2): Remove stdio dependency.
3945 * gdb.mi/mi-pendshr2.c: New file.
3947 2015-03-23 Keith Seitz <keiths@redhat.com>
3949 * gdb.linespec/keywords.c: New file.
3950 * gdb.linespec/keywords.exp: New file.
3952 2015-03-23 Keith Seitz <keiths@redhat.com>
3955 * gdb.dwarf2/staticvirtual.exp: New test.
3957 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3959 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3960 * README: Remove HP-UX and gdb.hp.
3962 * configure: Regenerate.
3963 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3964 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3965 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3966 gdb.hp/gdb.defects/Makefile.
3967 * gdb.hp/Makefile.in: File deleted.
3968 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3969 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3970 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3971 * gdb.hp/gdb.aCC/run.c: File deleted.
3972 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3973 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3974 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3975 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3976 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3977 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3978 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3979 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3980 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3981 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3982 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3983 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3984 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3985 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3986 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3987 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3988 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3989 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3990 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3991 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3992 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3993 * gdb.hp/gdb.compat/average.c: File deleted.
3994 * gdb.hp/gdb.compat/sum.c: File deleted.
3995 * gdb.hp/gdb.compat/xdb.c: File deleted.
3996 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3997 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3998 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3999 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4000 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4001 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4002 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4003 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4004 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4005 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4006 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4007 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4008 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4009 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4010 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4011 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4012 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4013 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4014 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4015 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4016 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4017 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4018 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4019 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4020 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4021 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4022 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4023 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4024 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4025 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4026 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4027 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4028 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4029 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4030 * gdb.hp/tools/odump: File deleted.
4032 2015-03-19 Pedro Alves <palves@redhat.com>
4034 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4035 (saw_thread_3): New globals.
4036 (top level): Increment them when an event for the corresponding
4038 (no thread starvation): New test.
4040 2015-03-19 Pedro Alves <palves@redhat.com>
4042 * gdb.threads/continue-pending-status.c: New file.
4043 * gdb.threads/continue-pending-status.exp: New file.
4045 2015-03-18 Pedro Alves <palves@redhat.com>
4047 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4048 Use gdb_is_target_remote instead of is_remote. Use
4049 gdb_test_multiple instead of gdb_expect. Exit early if
4050 gdb_test_multiple hits its internal matches. Tighten stepi tests
4051 expected output. Fail on exit with any signal, instead of just
4054 2015-03-18 Yao Qi <yao.qi@linaro.org>
4057 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4059 * gdb.base/catch-syscall.exp: Don't skip it on
4060 aarch64*-*-linux* target. Remove elements in all_syscalls.
4061 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4063 (setup_all_syscalls): New proc.
4065 2015-03-16 Yao Qi <yao.qi@linaro.org>
4067 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4068 (top level): Skip tests if valid_addr_p returns false for
4071 2015-03-11 Andy Wingo <wingo@igalia.com>
4073 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4075 2015-03-11 Yao Qi <yao.qi@linaro.org>
4077 * gdb.base/catch-syscall.exp: Fix typo in comments.
4079 2015-03-11 Yao Qi <yao.qi@linaro.org>
4081 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4083 2015-03-09 Pedro Alves <palves@redhat.com>
4085 * dg-extract-results.py: Delete.
4087 2015-03-09 Pedro Alves <palves@redhat.com>
4089 Merge dg-extract-results.sh from GCC upstream (r218843).
4091 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4092 * dg-extract-results.sh: Use --text with grep to avoid issues with
4093 binary files. Fall back to cat -v, if that doesn't work.
4095 2015-03-05 Pedro Alves <palves@redhat.com>
4097 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4099 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4101 * lib/mi-support.exp (mi_expect_interrupt): Accept
4102 alternative event for when in all-stop mode.
4104 2015-03-04 Pedro Alves <palves@redhat.com>
4106 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4108 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4110 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4112 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4114 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4115 regexps for GDB's current line display, accept a hex address
4116 preceding the line number.
4118 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4120 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4121 the 'arch1' variable for "s390*-linux*" targets.
4123 2015-03-04 Pedro Alves <palves@redhat.com>
4125 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4126 (main): Pass missing retval argument to pthread_join call.
4128 2015-03-02 Pedro Alves <palves@redhat.com>
4130 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4131 (top level): Call do_test with non-stop as well.
4133 2015-03-02 Pedro Alves <palves@redhat.com>
4135 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4138 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4140 * gdb.arch/s390-vregs.exp: New test.
4141 * gdb.arch/s390-vregs.S: New file.
4143 2015-02-27 Pedro Alves <palves@redhat.com>
4145 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4146 call to catch_command_errors.
4147 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4148 catch_command_errors.
4150 2015-02-27 Pedro Alves <palves@redhat.com>
4152 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4153 "true" for boolean result.
4154 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4157 2015-02-27 Pedro Alves <palves@redhat.com>
4159 * lib/unbuffer_output.c: New file.
4160 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4161 (main): Call gdb_unbuffer_output.
4163 2015-02-27 Yao Qi <yao.qi@linaro.org>
4165 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4168 2015-02-26 Doug Evans <dje@google.com>
4170 * gdb.cp/class2.cc (Dbase, D): New classes.
4171 (main): New local delta.
4172 * gdb.cp/class2.exp: Test printing delta.
4173 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4174 (dynbar): New global.
4175 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4177 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4179 * gdb.compile/compile-ifunc.c: New file.
4180 * gdb.compile/compile-ifunc.exp: New file.
4182 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4184 * gdb.base/structs.exp: Check for correct struct on finish.
4186 2015-02-26 Yao Qi <yao.qi@linaro.org>
4188 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4191 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4193 * gdb.arch/cordic.ko.bz2: New file.
4194 * gdb.arch/cordic.ko.debug.bz2: New file.
4195 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4197 2015-02-25 Yao Qi <yao.qi@linaro.org>
4199 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4200 aarch64*-*-* target.
4202 2015-02-23 Pedro Alves <palves@redhat.com>
4204 * lib/gdb.exp (delete_breakpoints): Rewrite using
4207 2015-02-23 Pedro Alves <palves@redhat.com>
4209 * gdb.base/info-os.c: Include stdlib.h.
4211 2015-02-22 Doug Evans <xdje42@gmail.com>
4214 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4215 is read after symbols have been re-read.
4216 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4217 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4219 2015-02-21 Doug Evans <dje@google.com>
4221 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4223 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4226 * gdb.arch/i386-biarch-core.core.bz2: New file.
4227 * gdb.arch/i386-biarch-core.exp: New file.
4229 2015-02-21 Pedro Alves <palves@redhat.com>
4231 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4234 2015-02-20 Pedro Alves <palves@redhat.com>
4236 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4239 2015-02-20 Pedro Alves <palves@redhat.com>
4241 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4243 2015-02-20 Pedro Alves <palves@redhat.com>
4245 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4246 clean_restart before gdb_target_supports_trace.
4248 2015-02-20 Pedro Alves <palves@redhat.com>
4251 * gdb.threads/clone-thread_db.c: New file.
4252 * gdb.threads/clone-thread_db.exp: New file.
4254 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4256 PR breakpoints/16812
4257 * gdb.base/catch-gdb-caused-signals.c: New file.
4258 * gdb.base/catch-gdb-caused-signals.exp: New file.
4260 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4262 * configure: Regenerated.
4263 * configure.ac: Use GDB_AC_TRANSFORM.
4264 * aclocal.m4: sinclude ../transform.m4.
4266 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4268 * lib/dtrace.exp: New file.
4269 * gdb.base/dtrace-probe.exp: Likewise.
4270 * gdb.base/dtrace-probe.d: Likewise.
4271 * gdb.base/dtrace-probe.c: Likewise.
4272 * lib/pdtrace.in: Likewise.
4273 * configure.ac: Output variables with the transformed names of
4274 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4275 * configure: Regenerated.
4277 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4279 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4280 expected message when trying to access $_probe_* convenience
4281 variables while not on a probe.
4283 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4285 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4287 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4289 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4290 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4292 2015-02-10 Doug Evans <xdje42@gmail.com>
4294 * lib/gdb.exp (gdb_load): Always return a result.
4296 2015-02-10 Pedro Alves <palves@redhat.com>
4298 * gdb.threads/signal-sigtrap.c: New file.
4299 * gdb.threads/signal-sigtrap.exp: New file.
4301 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4303 * gdb.trace/no-attach-trace.c: New file.
4304 * gdb.trace/no-attach-trace.exp: New file.
4306 2015-02-09 Mark Wielaard <mjw@redhat.com>
4308 * gdb.dwarf2/atomic.c: New file.
4309 * gdb.dwarf2/atomic-type.exp: Likewise.
4311 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4313 * gdb.btrace/buffer-size.exp: Update "info record" output.
4314 * gdb.btrace/delta.exp: Update "info record" output.
4315 * gdb.btrace/enable.exp: Update "info record" output.
4316 * gdb.btrace/finish.exp: Update "info record" output.
4317 * gdb.btrace/instruction_history.exp: Update "info record" output.
4318 * gdb.btrace/next.exp: Update "info record" output.
4319 * gdb.btrace/nexti.exp: Update "info record" output.
4320 * gdb.btrace/step.exp: Update "info record" output.
4321 * gdb.btrace/stepi.exp: Update "info record" output.
4322 * gdb.btrace/nohist.exp: Update "info record" output.
4324 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4326 * gdb.btrace/buffer-size: New.
4328 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4330 * gdb.btrace/delta.exp: Update "info record" output.
4331 * gdb.btrace/enable.exp: Update "info record" output.
4332 * gdb.btrace/finish.exp: Update "info record" output.
4333 * gdb.btrace/instruction_history.exp: Update "info record" output.
4334 * gdb.btrace/next.exp: Update "info record" output.
4335 * gdb.btrace/nexti.exp: Update "info record" output.
4336 * gdb.btrace/step.exp: Update "info record" output.
4337 * gdb.btrace/stepi.exp: Update "info record" output.
4338 * gdb.btrace/nohist.exp: Update "info record" output.
4340 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4343 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4345 2015-02-06 Pedro Alves <palves@redhat.com>
4347 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4349 (seconds_left, again): New globals.
4350 (main): Wait seconds_left in a 1-second sleep loop instead of
4351 sleeping 180 seconds. If 'again' is set, reset the seconds
4353 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4354 'again' in the inferior before detaching. Print the seconds left.
4355 (options): New global.
4356 (top level): Build program with -DTIMEOUT=$timeout.
4358 2015-02-06 Pedro Alves <palves@redhat.com>
4360 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4361 determine how many seconds to pass to 'alarm'.
4362 * gdb.base/gdb-sigterm.exp (top level): Build program with
4364 (do_test): Return success/failure indication. Add more verbose
4365 logging. Don't fail if 200 single steps are seen. Instead, fail
4366 when the test times out.
4367 (passes): New global.
4368 (top level): Break the testing loop if testing fails on any
4369 iteration. Use gdb_assert.
4371 2015-02-04 Don Breazeal <donb@codesourcery.com>
4373 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4374 and initialize them.
4375 (ipc_cleanup): New function.
4376 (main): Don't declare shmid, semid, and msqid. Add a call to
4377 atexit so that we call ipc_cleanup on exit.
4379 2015-02-04 Pedro Alves <palves@redhat.com>
4381 * boards/native-extended-gdbserver.exp: Remove any target variant
4382 specifications from the board name before clearing the isremote
4383 flag from board_info.
4385 2015-01-31 Doug Evans <xdje42@gmail.com>
4387 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4389 2015-01-31 Gary Benson <gbenson@redhat.com>
4391 * gdb.base/completion.exp: Disable completion limiting for
4392 existing tests. Add new tests to check completion limiting.
4393 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4395 2015-01-31 Doug Evans <xdje42@gmail.com>
4397 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4399 2015-01-31 Doug Evans <xdje42@gmail.com>
4401 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4402 entries. Duplicate file section script entries.
4403 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4404 inlined entries. Add test for safe-path rejection.
4405 * gdb.python/py-section-script.c: Add duplicate inlined section script
4406 entries. Duplicate file section script entries.
4407 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4408 inlined entries. Add test for safe-path rejection.
4410 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4412 * gdb.ada/disc_arr_bound: New testcase.
4414 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4416 * gdb.ada/mi_var_array: New testcase.
4418 2015-01-27 Doug Evans <dje@google.com>
4420 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4421 Add test for objfile.filename, objfile.username after objfile
4424 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4426 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4427 the second test to print the name attribute of value
4428 returned by the call to gdb.lookup_type, and adjust
4429 the expected output accordingly.
4431 2015-01-25 Mark Wielaard <mjw@redhat.com>
4433 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4434 * gdb.base/disp-step-fork.c: Include unistd.h.
4435 * gdb.base/siginfo-obj.c: Include stdio.h.
4436 * gdb.base/siginfo-thread.c: Likewise.
4437 * gdb.mi/non-stop.c: Include unistd.h.
4438 * gdb.mi/nsthrexec.c: Include stdio.h.
4439 * gdb.mi/pthreads.c: Include unistd.h.
4440 * gdb.modula2/unbounded1.c (main): Declare returns int.
4441 * gdb.reverse/consecutive-reverse.c: Likewise.
4442 * gdb.threads/create-fail.c: Include unistd.h.
4443 * gdb.threads/killed.c: Likewise.
4444 * gdb.threads/linux-dp.c: Likewise.
4445 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4446 * gdb.threads/non-ldr-exc-2.c: Likewise.
4447 * gdb.threads/non-ldr-exc-3.c: Likewise.
4448 * gdb.threads/non-ldr-exc-4.c: Likewise.
4449 * gdb.threads/pthreads.c: Include unistd.h.
4450 (main): Declare returns int.
4451 * gdb.threads/tls-main.c (foo): New declaration.
4452 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4454 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4456 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4457 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4459 2015-01-15 Mark Wielaard <mjw@redhat.com>
4461 * gdb.base/noreturn-return.c: New file.
4462 * gdb.base/noreturn-return.exp: New file.
4463 * gdb.base/noreturn-finish.c: New file.
4464 * gdb.base/noreturn-finish.exp: New file.
4466 2015-01-23 Pedro Alves <palves@redhat.com>
4468 * gdb.threads/continue-pending-after-query.c: New file.
4469 * gdb.threads/continue-pending-after-query.exp: New file.
4471 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4472 Simon Marchi <simon.marchi@ericsson.com>
4474 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4475 * gdb.base/valgrind-db-attach.exp: Same.
4476 * gdb.base/valgrind-infcall.exp: Same.
4477 * lib/mi-support.exp (default_mi_gdb_start): Same.
4478 * lib/prompt.exp (default_prompt_gdb_start): Same.
4479 * lib/gdb.exp (default_gdb_spawn): Same.
4480 (gdb_interact): New.
4483 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4485 * gdb.compile/compile.exp (pointer to jit function): New test.
4487 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4489 * lib/gdb.exp (supports_process_record): Return true for
4491 (supports_reverse): Likewise.
4493 2015-01-15 Don Breazeal <donb@codesourcery.com>
4495 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4496 instead of checking whether the target board is remote and
4497 use spawn_wait_for_attach instead of exec/sleep.
4498 * gdb.base/attach-twice.exp: Likewise.
4500 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4502 * gdb.ada/var_arr_attrs: New testcase.
4504 2015-01-14 Pedro Alves <palves@redhat.com>
4505 Joel Brobecker <brobecker@adacore.com>
4508 * gdb.base/bp-cmds-execution-x-script.c: New file.
4509 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4510 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4512 2015-01-14 Pedro Alves <palves@redhat.com>
4515 * gdb.base/batch-preserve-term-settings.c: New file.
4516 * gdb.base/batch-preserve-term-settings.exp: New file.
4518 2015-01-13 Doug Evans <dje@google.com>
4520 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4523 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4525 * Makefile.in (clean mostlyclean): Do not delete *.py.
4527 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4529 * gdb.python/py-lookup-type.exp: New file.
4531 2015-01-12 Pedro Alves <palves@redhat.com>
4533 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4534 restore GDBFLAGS before returning.
4536 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4538 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4539 is_amd64_regs_target and is_x86_like_target.
4541 2015-01-11 Doug Evans <xdje42@gmail.com>
4543 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4544 is given without an explicit form.
4545 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4547 * gdb.dwarf/corrupt.exp: Ditto.
4548 * gdb.dwarf2/enum-type.exp: Ditto.
4549 * gdb.trace/entry-values.exp: Ditto.
4550 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4552 2015-01-11 Doug Evans <xdje42@gmail.com>
4555 * gdb.base/maint.exp: Remove references to "maint demangle".
4556 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4557 Add tests for explicitly specifying language to demangle.
4558 * gdb.dlang/demangle.exp: Ditto.
4560 2015-01-09 Pedro Alves <palves@redhat.com>
4562 * gdb.threads/non-stop-fair-events.c: New file.
4563 * gdb.threads/non-stop-fair-events.exp: New file.
4565 2015-01-09 Pedro Alves <palves@redhat.com>
4567 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4568 the global scope. Set a breakpoint after all threads are started
4569 rather than stepping over two source lines. Expect the prompt.
4570 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4573 (main): Use threads_started_barrier to wait for all threads to
4574 start. Main thread no longer calls thread_function. Exit after
4576 (loop): New function.
4577 (thread_function): Wait on threads_started_barrier barrier. Call
4578 'loop' at each iteration.
4579 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4580 threads have started, instead of hardcoding number of "next"
4581 steps. Use an access watchpoint instead of a write watchpoint.
4583 2015-01-09 Pedro Alves <palves@redhat.com>
4585 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4586 (thread_func): Wait on barrier.
4587 (main): Wait for all threads to start before stopping GDB.
4588 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4590 (thread1_func, thread2_func): Wait on barrier.
4591 (main): Wait for all threads to start before stopping GDB.
4592 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4594 (thread1_func, thread2_func): Wait on barrier.
4595 (main): Wait for all threads to start before stopping GDB.
4597 2015-01-09 Pedro Alves <palves@redhat.com>
4599 * gdb.threads/attach-many-short-lived-threads.c: New file.
4600 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4602 2014-01-09 Pedro Alves <palves@redhat.com>
4604 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4605 instead of to thread 2.
4606 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4607 Add barrier around each pthread_create call instead of around all
4609 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4610 Set a break on thread_function and have the child threads hit it
4613 2015-01-09 Pedro Alves <palves@redhat.com>
4615 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4616 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4618 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4619 checking whether the target board is remote.
4620 * gdb.multi/multi-attach.exp: Likewise.
4621 * gdb.python/py-sync-interp.exp: Likewise.
4622 * gdb.server/ext-attach.exp: Likewise.
4623 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4624 tests that need to attach, instead of checking whether the target
4625 board is remote at the top of the file.
4627 2015-01-08 Yao Qi <yao@codesourcery.com>
4629 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4631 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4633 Fix testcase compilation.
4634 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4636 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4638 * gdb.python/py-type.exp: Add a couple test about empty
4639 array creation, and negative-length array creation.
4641 2015-01-02 Doug Evans <xdje42@gmail.com>
4643 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4645 2015-01-02 Doug Evans <dje@google.com>
4647 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4649 2014-12-29 Yao Qi <yao@codesourcery.com>
4651 * gdb.trace/entry-values.exp: Update comments. Rename variable
4652 bar_call_foo to returned_from_foo.
4654 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4657 * gdb.linespec/break-asm-file.c: New file.
4658 * gdb.linespec/break-asm-file.exp: New file.
4659 * gdb.linespec/break-asm-file0.s: New file.
4660 * gdb.linespec/break-asm-file1.s: New file.
4662 2014-12-18 Nigel Stephens <nigel@mips.com>
4663 Maciej W. Rozycki <macro@codesourcery.com>
4665 * gdb.base/float.exp: Handle the new output from "info float" on
4668 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4670 Fix MinGW compilation.
4671 * gdb.compile/compile-ops.exp: Update untested message if
4672 !skip_compile_feature_tests.
4673 * gdb.compile/compile-setjmp.exp: Likewise.
4674 * gdb.compile/compile-tls.exp: Likewise.
4675 * gdb.compile/compile.exp: Likewise.
4676 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4677 supported on this host".
4679 2014-12-16 Doug Evans <xdje42@gmail.com>
4681 * boards/stabs.exp: New file.
4683 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4685 * gdb.base/completion.exp: Adjust to format changes of "maint
4686 print user-registers".
4688 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4691 * gdb.arch/aarch64-fp.c: New file.
4692 * gdb.arch/aarch64-fp.exp: New file.
4694 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4696 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4697 r210637, r210913, r211666, r215400, r215817).
4699 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4700 * dg-extract-results.py: New file.
4701 * dg-extract-results.sh: Use it if the environment seems
4704 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4706 * dg-extract-results.py (parse_run): Handle warnings that
4707 are printed before a test harness is run.
4709 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4711 * dg-extract-results.py (Named): Remove __cmp__ method.
4712 (output_variation): Use a key to sort variation.harnesses.
4714 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4716 * dg-extract-results.py: For Python 3, force sys.stdout to
4717 handle surrogate escape sequences.
4718 (safe_open): New function.
4719 (output_segment, main): Use it.
4721 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4723 * dg-extract-results.py (Prog.result_re): Include options
4726 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4728 * dg-extract-results.py (output_variation): Always sort if
4731 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4733 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4734 as long as we get pagination notifications.
4736 2014-12-15 Jason Merrill <jason@redhat.com>
4738 * Makefile.in (check-gdb.%): Restore.
4739 * README: Mention it.
4741 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4743 * gdb.ada/str_uninit: New testcase.
4745 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4748 * gdb.base/vla-stub-define.c: New file.
4749 * gdb.base/vla-stub.c: New file.
4750 * gdb.base/vla-stub.exp: New file.
4752 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4753 Jan Kratochvil <jan.kratochvil@redhat.com>
4754 Tom Tromey <tromey@redhat.com>
4756 * configure.ac: Add gdb.compile/.
4757 * configure: Regenerate.
4758 * gdb.compile/Makefile.in: New file.
4759 * gdb.compile/compile-ops.exp: New file.
4760 * gdb.compile/compile-ops.c: New file.
4761 * gdb.compile/compile-tls.c: New file.
4762 * gdb.compile/compile-tls.exp: New file.
4763 * gdb.compile/compile-constvar.S: New file.
4764 * gdb.compile/compile-constvar.c: New file.
4765 * gdb.compile/compile-mod.c: New file.
4766 * gdb.compile/compile-nodebug.c: New file.
4767 * gdb.compile/compile-setjmp-mod.c: New file.
4768 * gdb.compile/compile-setjmp.c: New file.
4769 * gdb.compile/compile-setjmp.exp: New file.
4770 * gdb.compile/compile-shlib.c: New file.
4771 * gdb.compile/compile.c: New file.
4772 * gdb.compile/compile.exp: New file.
4773 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4775 2014-12-12 Tom Tromey <tromey@redhat.com>
4777 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4778 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4780 2014-12-12 Doug Evans <dje@google.com>
4782 * lib/gdb-python.exp (get_python_valueof): New function.
4783 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4785 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4787 * gdb.base/completion.exp: Add test for completion of "info
4790 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4792 * gdb.base/func-ptrs.c: New file.
4793 * gdb.base/func-ptrs.exp: New file.
4795 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4797 PR breakpoints/17012
4798 * gdb.base/dprintf-detach.c: New file.
4799 * gdb.base/dprintf-detach.exp: New file.
4801 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4803 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4804 * lib/gdb.exp (target_is_gdbserver): New procedure.
4806 2014-12-08 Doug Evans <dje@google.com>
4808 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4810 2014-12-05 Yao Qi <yao@codesourcery.com>
4812 * gdb.guile/scm-error.exp: Remove the third argument to
4813 gdb_remote_download.
4814 * gdb.guile/scm-frame-args.exp: Likewise.
4815 * gdb.guile/scm-section-script.exp: Likewise.
4817 2014-12-05 Yao Qi <yao@codesourcery.com>
4819 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4821 2014-12-04 Doug Evans <dje@google.com>
4823 * gdb.python/py-objfile.exp: Add tests for
4824 objfile.add_separate_debug_file.
4826 2014-12-04 Doug Evans <dje@google.com>
4828 * lib/gdb.exp (get_build_id): New function.
4829 (build_id_debug_filename_get): Rewrite to use it.
4830 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4832 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4834 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4835 `method(long)', not just 0x0.
4836 * gdb.cp/nsalias.exp: Align code labels to 4.
4837 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4838 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4839 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4840 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4841 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4842 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4844 2014-12-02 Doug Evans <dje@google.com>
4847 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4848 * gdb.cp/anon-ns2.cc: ... here. New file.
4849 * gdb.cp/anon-ns.exp: Update.
4851 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4853 * gdb.python/py-events.py (inferior_call_handler): New.
4854 (register_changed_handler, memory_changed_handler): New.
4855 (test_events.invoke): Register new handlers.
4856 * gdb.python/py-events.exp: Add tests for inferior call,
4857 memory_changed and register_changed events.
4859 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4861 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4862 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4863 if the linker doesn't understand this.
4865 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4867 * gdb.python/python.exp: Change expected reply to help().
4869 2014-12-01 Yao Qi <yao@codesourcery.com>
4871 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4872 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4873 * configure: Re-generated.
4875 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4877 * gdb.cp/chained-calls.cc: New file.
4878 * gdb.cp/chained-calls.exp: New file.
4879 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4881 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4883 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4884 * gdb.dwarf2/symtab-producer.exp: Same.
4885 * gdb.gdb/python-interrupts.exp: Same.
4886 * gdb.gdb/python-selftest.exp: Same.
4887 * gdb.python/py-linetable.exp: Same.
4888 * gdb.python/py-type.exp: Same.
4889 * gdb.python/py-value-cc.exp: Same.
4890 * gdb.python/py-value.exp: Same.
4892 2014-11-28 Yao Qi <yao@codesourcery.com>
4894 * gdb.base/break-probes.exp: Match library name prefixed with
4897 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4899 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4900 test expected output. Add parentheses for the call to print.
4901 Remove L suffix from integers.
4903 2014-11-26 Doug Evans <dje@google.com>
4905 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4907 2014-11-22 Yao Qi <yao@codesourcery.com>
4909 * gdb.trace/entry-values.c: Remove asms.
4910 (foo): Add foo_label.
4911 (bar): Add bar_label.
4912 * gdb.trace/entry-values.exp: Remove code computing foo's
4913 length and bar's length.
4914 (Dwarf::assemble): Invoke function_range for bar and use
4915 MACRO_AT_func for foo.
4917 2014-11-22 Yao Qi <yao@codesourcery.com>
4919 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4920 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4921 Use .Lgcc43_procstart instead of gcc43.
4923 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4925 * gdb.ada/n_arr_bound: New testcase.
4927 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4929 PR breakpoints/10737
4930 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4931 test_catch_syscall_multi_arch.
4932 (test_catch_syscall_multi_arch): New function.
4934 2014-11-20 Doug Evans <xdje42@gmail.com>
4936 * gdb.base/maint.exp: Update expected output.
4938 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4940 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4941 4-byte instruction on S390.
4943 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4945 * gdb.ada/arr_arr: New testcase.
4947 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4949 * gdb.ada/pkd_arr_elem: New Testcase.
4951 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4953 * gdb.reverse/break-precsave: Expect completion message for
4955 * gdb.reverse/consecutive-precsave.exp: Likewise.
4956 * gdb.reverse/finish-precsave.exp: Likewise.
4957 * gdb.reverse/i386-precsave.exp: Likewise.
4958 * gdb.reverse/machinestate-precsave.exp: Likewise.
4959 * gdb.reverse/sigall-precsave.exp: Likewise.
4960 * gdb.reverse/solib-precsave.exp: Likewise.
4961 * gdb.reverse/step-precsave.exp: Likewise.
4962 * gdb.reverse/until-precsave.exp: Likewise.
4963 * gdb.reverse/watch-precsave.exp: Likewise.
4965 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4967 * gdb.base/bp-permanent.c: Include unistd.h.
4968 * gdb.python/py-framefilter-mi.c (main): Add return type.
4969 * gdb.python/py-framefilter.c (main): Likewise.
4970 * gdb.trace/actions-changed.c (main): Likewise.
4972 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4974 * gdb.mi/until.c: Add eye-catchers.
4975 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4978 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4980 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4981 function header variants in break1.c.
4982 * gdb.base/ena-dis-br.exp: Likewise.
4983 * gdb.base/hbreak2.exp: Likewise.
4984 * gdb.reverse/until-precsave.exp: Drop references to removed
4985 non-prototype function header variants in ur1.c.
4986 * gdb.reverse/until-reverse.exp: Likewise.
4988 2014-11-17 Petr Machata <pmachata@redhat.com>
4990 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4991 ${_cu_offset_size} bytes abbrev offset.
4993 2014-11-15 Doug Evans <xdje42@gmail.com>
4996 * gdb.base/line-symtabs.exp: New file.
4997 * gdb.base/line-symtabs.c: New file.
4998 * gdb.base/line-symtabs.h: New file.
5000 2014-11-14 Yao Qi <yao@codesourcery.com>
5002 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5003 (func): Add label func_label.
5004 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5005 Replace low_pc and high_pc with MACRO_AT_range.
5006 Replace name, low_pc and high_pc with MACRO_AT_func.
5008 2014-11-14 Yao Qi <yao@codesourcery.com>
5010 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5011 Replace name, low_pc and high_pc with MACRO_AT_func.
5013 2014-11-14 Yao Qi <yao@codesourcery.com>
5015 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5016 produce debug information.
5017 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5019 2014-11-14 Yao Qi <yao@codesourcery.com>
5021 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5022 object and get function length.
5023 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5025 (top-level): Replace gdb_compile and clean_restart with
5026 prepare_for_testing.
5027 * gdb.dwarf2/main.c (main): Add label main_label.
5029 2014-11-14 Yao Qi <yao@codesourcery.com>
5031 * lib/dwarf.exp (function_range): New procedure.
5032 (Dwarf::_handle_macro_at_func): New procedure.
5033 (Dwarf::_handle_macro_at_range): New procedure.
5034 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5036 2014-11-14 Yao Qi <yao@codesourcery.com>
5038 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5039 (_handle_attribute): New procedure.
5041 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5043 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5044 * gdb.base/call-sc.c (zed): Likewise.
5045 * gdb.base/checkpoint.c (main): Likewise.
5046 * gdb.base/dump.c (main): Likewise.
5047 * gdb.base/gcore.c (main): Likewise.
5048 * gdb.base/huge.c (main): Likewise.
5049 * gdb.base/multi-forks.c (main): Likewise.
5050 * gdb.base/pr10179-a.c (main): Likewise.
5051 * gdb.base/savedregs.c (main): Likewise.
5052 * gdb.base/sigaltstack.c (main): Likewise.
5053 * gdb.base/siginfo.c (main): Likewise.
5054 * gdb.base/structs.c (zed): Likewise.
5055 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5056 * gdb.mi/mi-syn-frame.c (main): Likewise.
5057 * gdb.mi/until.c (foo, main): Likewise.
5058 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5059 * gdb.base/solib-weak.c (foo): Declare.
5060 * gdb.base/attach-twice.c: Include stdio.h.
5061 * gdb.base/weaklib1.c: Likewise.
5062 * gdb.base/weaklib2.c: Likewise.
5063 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5064 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5066 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5067 * gdb.mi/mi-exit-code.c: Likewise.
5068 * gdb.base/break-interp-lib.c: Include string.h.
5069 * gdb.base/coremaker.c: Likewise.
5070 * gdb.base/testenv.c: Likewise.
5071 * gdb.python/py-finish-breakpoint.c: Likewise.
5072 * gdb.base/inferior-died.c: Include sys/wait.h.
5073 * gdb.base/fileio.c: Include time.h.
5074 * gdb.base/async-shell.c: Include unistd.h.
5075 * gdb.base/dprintf-non-stop.c: Likewise.
5076 * gdb.base/info-os.c: Likewise.
5077 * gdb.mi/mi-console.c: Likewise.
5078 * gdb.mi/watch-nonstop.c: Likewise.
5079 * gdb.python/py-events.c: Likewise.
5080 * gdb.base/async.c (baz): Move up before its invocation.
5081 * gdb.base/code_elim2.c (my_global_func): Likewise.
5082 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5083 * gdb.base/advance.c (func2): Likewise.
5085 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5087 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5089 * gdb.base/annota3.c: Likewise.
5090 * gdb.base/async.c: Likewise.
5091 * gdb.base/average.c: Likewise.
5092 * gdb.base/call-ar-st.c: Likewise.
5093 * gdb.base/call-rt-st.c: Likewise.
5094 * gdb.base/call-sc.c: Likewise.
5095 * gdb.base/call-strs.c: Likewise.
5096 * gdb.base/ending-run.c: Likewise.
5097 * gdb.base/execd-prog.c: Likewise.
5098 * gdb.base/exprs.c: Likewise.
5099 * gdb.base/foll-exec.c: Likewise.
5100 * gdb.base/foll-fork.c: Likewise.
5101 * gdb.base/foll-vfork.c: Likewise.
5102 * gdb.base/funcargs.c: Likewise.
5103 * gdb.base/gcore.c: Likewise.
5104 * gdb.base/jump.c: Likewise.
5105 * gdb.base/langs0.c: Likewise.
5106 * gdb.base/langs1.c: Likewise.
5107 * gdb.base/langs2.c: Likewise.
5108 * gdb.base/mips_pro.c: Likewise.
5109 * gdb.base/nodebug.c: Likewise.
5110 * gdb.base/opaque0.c: Likewise.
5111 * gdb.base/opaque1.c: Likewise.
5112 * gdb.base/recurse.c: Likewise.
5113 * gdb.base/run.c: Likewise.
5114 * gdb.base/scope0.c: Likewise.
5115 * gdb.base/scope1.c: Likewise.
5116 * gdb.base/setshow.c: Likewise.
5117 * gdb.base/setvar.c: Likewise.
5118 * gdb.base/shmain.c: Likewise.
5119 * gdb.base/shr1.c: Likewise.
5120 * gdb.base/shr2.c: Likewise.
5121 * gdb.base/sigall.c: Likewise.
5122 * gdb.base/signals.c: Likewise.
5123 * gdb.base/so-indr-cl.c: Likewise.
5124 * gdb.base/solib2.c: Likewise.
5125 * gdb.base/structs.c: Likewise.
5126 * gdb.base/sum.c: Likewise.
5127 * gdb.base/vforked-prog.c: Likewise.
5128 * gdb.base/watchpoint.c: Likewise.
5129 * gdb.reverse/shr2.c: Likewise.
5130 * gdb.reverse/until-reverse.c: Likewise.
5131 * gdb.reverse/ur1.c: Likewise.
5132 * gdb.reverse/watch-reverse.c: Likewise.
5134 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5136 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5138 * gdb.base/sepdebug.exp: Drop references to removed code.
5140 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5142 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5143 variant. Preserve original line numbering.
5144 * gdb.base/list1.c: Likewise.
5146 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5148 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5150 * gdb.base/break1.c: Likewise.
5151 * gdb.base/break.exp: Drop references to removed code.
5153 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5155 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5158 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5160 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5162 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5164 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5165 logic into perform_all_tests() and invoke it with and without
5166 function header prototypes.
5167 (do_function_calls): Remove conditional XFAIL for PR 5318.
5168 (rerun_and_prepare): Remove duplicate code.
5169 (perform_all_tests): New. Main logic moved here.
5171 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5173 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5174 code guarded by #ifdef NO_PROTOTYPES.
5175 (t_double_many_args): Likewise.
5176 (DEF_FUNC_MANY_ARGS_1): Likewise.
5177 (DEF_FUNC_VALUES_1): Likewise.
5178 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5179 guarded by #ifdef PROTOTYPES.
5181 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5183 * gdb.mi/mi-console.c: Add eye-catcher.
5184 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5185 instead of literal line number.
5187 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5189 * gdb.base/shr2.c: Add eye-catcher.
5190 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5193 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5195 * gdb.base/jump.c: Add eye-catchers.
5196 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5199 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5201 * gdb.base/execd-prog.c: Add eye-catchers.
5202 * gdb.base/foll-exec.c: Likewise.
5203 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5206 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5208 * gdb.base/ending-run.c: Add eye-catchers.
5209 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5210 literal line numbers.
5212 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5214 * gdb.base/call-rt-st.c: Add eye-catchers.
5215 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5216 literal line numbers.
5218 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5220 * gdb.base/call-ar-st.c: Add eye-catchers.
5221 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5222 literal line numbers.
5224 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5226 * gdb.base/average.c: Add eye-catchers.
5227 * gdb.base/sum.c: Likewise.
5228 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5229 regexps dynamically.
5231 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5233 * gdb.base/solib1.c: Add eye-catchers.
5234 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5235 literal line numbers.
5237 2014-11-12 Pedro Alves <palves@redhat.com>
5239 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5242 2014-11-12 Pedro Alves <palves@redhat.com>
5244 * gdb.arch/i386-bp_permanent.c: New file.
5245 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5246 (srcfile): Set to i386-bp_permanent.c.
5247 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5248 that stepi does not execute the 'leave' instruction, instead of
5249 testing it does execute.
5250 * gdb.base/bp-permanent.c: New file.
5251 * gdb.base/bp-permanent.exp: New file.
5253 2014-11-10 Doug Evans <xdje42@gmail.com>
5256 * gdb.base/symtab-search-order.exp: New file.
5257 * gdb.base/symtab-search-order.c: New file.
5258 * gdb.base/symtab-search-order-1.c: New file.
5259 * gdb.base/symtab-search-order-shlib-1.c: New file.
5261 2014-11-07 Pedro Alves <palves@redhat.com>
5264 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5267 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5270 * gdb.cp/pr17494.cc: New file.
5271 * gdb.cp/pr17494.exp: New file.
5273 2014-11-02 Yao Qi <yao@codesourcery.com>
5275 * gdb.python/python.exp: Get working directory and match the
5276 output of "set extended-prompt \\w " with it.
5278 2014-10-30 Doug Evans <dje@google.com>
5280 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5282 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5285 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5287 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5288 * gdb.base/realname-expand.exp: Likewise.
5289 * gdb.linespec/macro-relative.exp: Likewise.
5291 2014-10-29 Pedro Alves <palves@redhat.com>
5294 * gdb.threads/schedlock.c (some_function): New function.
5295 (call_function): New global.
5296 (MAYBE_CALL_SOME_FUNCTION): New macro.
5297 (thread_function): Call it.
5298 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5299 and use it instead of a global counter. Adjust all callers.
5300 (get_current_thread): Use "find current thread" for test message
5301 here rather than having all callers pass down the same string.
5302 (goto_loop): New procedure, factored out from ...
5303 (my_continue): ... this.
5304 (step_ten_loops): Change parameter from test message to command to
5306 (list_count): Delete global.
5307 (check_result): New procedure, factored out from duplicate top
5309 (continue tests): Wrap in with_test_prefix.
5310 (test_step): New procedure, factored out from duplicate top level
5312 (top level): Test "step" in combination with all scheduler-locking
5313 modes. Test "next" in combination with all scheduler-locking
5314 modes, and in combination with stepping over a function call or
5316 * gdb.threads/next-bp-other-thread.c: New file.
5317 * gdb.threads/next-bp-other-thread.exp: New file.
5319 2014-10-29 Pedro Alves <palves@redhat.com>
5322 * gdb.python/python.exp: Test a multi-line command that spawns
5324 * gdb.base/multi-line-starts-subshell.exp: New file.
5326 2014-10-29 Yao Qi <yao@codesourcery.com>
5328 * gdb.base/fileio.exp: Make directories on host.
5330 2014-10-29 Yao Qi <yao@codesourcery.com>
5332 * gdb.base/fileio.c (test_write): Close the file.
5334 2014-10-28 Pedro Alves <palves@redhat.com>
5337 * gdb.base/sigstep.c (no_handler): New global.
5338 (main): If 'no_handler is true, set the signal handlers to
5340 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5341 with_sw_watch and no_handler parameters. Handle them.
5342 (top level) <stepping over handler when stopped at a breakpoint
5343 test>: Add a test axis for testing with a software watchpoint, and
5344 another for testing with the signal handler set to SIG_IGN.
5345 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5346 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5348 2014-10-28 Pedro Alves <palves@redhat.com>
5351 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5352 * gdb.base/sigstep.exp (other_handler_location): New global.
5353 (advance): Support stepping into the signal handler, and running
5354 commands while in the handler.
5355 (in_handler_map): New global.
5356 (top level): In the advance test, add combinations for getting
5357 into the handler with stepping commands, and for running commands
5358 in the handler. Add comment descripting the advancei tests.
5360 2014-10-28 Pedro Alves <palves@redhat.com>
5362 * gdb.base/sigstep.exp: Use build_executable instead of
5363 prepare_for_testing.
5364 (top level): Move code that starts GDB, runs to main and creates a
5366 (restart): ... this new procedure.
5367 (top level): Move backtrace from signal handler test to ...
5368 (validate_backtrace): ... this new procedure.
5369 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5370 with_test_prefix. Always restart GDB.
5371 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5372 with_test_prefix. Always restart GDB. No need to delete
5373 breakpoints after the test.
5374 (test_skip_handler): Remove prefix parameter.
5375 (skip_over_handler, breakpoint_to_handler)
5376 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5377 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5378 restart GDB. No need to delete breakpoints after the test.
5379 (top level): Use foreach to call the test procedures with
5382 2014-10-28 Pedro Alves <palves@redhat.com>
5384 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5385 instead of GNATS numbers.
5386 * gdb.base/sigbpt.exp: Likewise.
5387 * gdb.base/siginfo.exp: Likewise.
5388 * gdb.base/sigstep.exp: Likewise.
5390 2014-10-27 Pedro Alves <palves@redhat.com>
5392 * gdb.base/sigstep.c (dummy): New global.
5393 (main): Issue a couple writes to the new global.
5394 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5396 (skip_over_handler): Use test_skip_handler.
5397 (top level): Call skip_over_handler for stepi and nexti too.
5398 (breakpoint_over_handler): Use test_skip_handler.
5399 (top level): Call breakpoint_over_handler for stepi and nexti too.
5401 2014-10-27 Yao Qi <yao@codesourcery.com>
5403 * gdb.trace/tfile.c (adjust_function_address)
5404 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5405 function descriptor.
5407 2014-10-24 Don Breazeal <donb@codesourcery.com>
5409 * gdb.base/foll-fork.exp (test_follow_fork,
5410 catch_fork_child_follow): Check for updated fork messages emitted
5412 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5413 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5414 vfork_and_exec_child_follow_through_step): Check for updated vfork
5415 messages emitted from infrun.c.
5417 2014-10-24 Pedro Alves <palves@redhat.com>
5419 * gdb.base/corefile.exp: Remove references to ultrix.
5420 * gdb.base/interrupt.exp: Likewise.
5421 * gdb.base/whatis.exp: Likewise.
5422 * gdb.gdb/selftest.exp: Likewise.
5423 * gdb.threads/manythreads.exp: Likewise.
5424 * gdb.threads/print-threads.exp: Likewise.
5425 * gdb.threads/pthreads.exp:: Likewise.
5426 * gdb.threads/schedlock.exp: Likewise.
5428 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5430 * gdb.cp/non-trivial-retval.cc: Add a test case.
5431 * gdb.cp/non-trivial-retval.exp: Add a test.
5433 2014-10-20 Yao Qi <yao@codesourcery.com>
5435 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5436 * gdb.python/py-objfile-script-gdb.py: New file.
5437 * gdb.python/py-objfile-script.exp: Update reference to
5438 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5439 of remote_download. Remove the dest file.
5441 2014-10-20 Yao Qi <yao@codesourcery.com>
5443 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5444 * gdb.base/step-line.exp: Likewise.
5445 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5446 * gdb.dwarf2/dw2-basic.exp: Likewise.
5447 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5448 * gdb.dwarf2/dw2-filename.exp: Likewise.
5449 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5450 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5451 * gdb.dwarf2/dw2-producer.exp: Likewise.
5452 * gdb.dwarf2/mac-fileno.exp: Likewise.
5453 * gdb.python/py-frame-args.exp: Likewise.
5454 * gdb.python/py-framefilter.exp: Likewise.
5455 * gdb.python/py-mi.exp: Likewise.
5456 * gdb.python/py-objfile-script.exp: Likewise
5457 * gdb.python/py-pp-integral.exp: Likewise.
5458 * gdb.python/py-pp-re-notag.exp: Likewise.
5459 * gdb.python/py-prettyprint.exp: Likewise.
5460 * gdb.python/py-section-script.exp: Likewise.
5461 * gdb.python/py-typeprint.exp: Likewise.
5462 * gdb.python/py-xmethods.exp: Likewise.
5463 * gdb.stabs/weird.exp: Likewise.
5464 * gdb.xml/tdesc-regs.exp: Likewise.
5466 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5468 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5469 (out_cu): Use addr_len for the size of addresses.
5470 (out_line): Likewise. Size DW_LNE_set_address instruction
5471 according to addr_len.
5472 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5473 (FUNC): Add START_INSNS to definition.
5475 2014-10-18 Yao Qi <yao@codesourcery.com>
5477 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5478 gdb_has_argv0 return true.
5479 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5480 check [target_info exists noargs], check [gdb_has_argv0]
5482 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5483 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5486 2014-10-17 Doug Evans <dje@google.com>
5488 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5490 * gdb.python/py-events.py: Add clear_objfiles event.
5492 2014-10-17 Doug Evans <dje@google.com>
5494 * gdb.python/py-objfile.exp: Test progspace attribute.
5496 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5498 * gdb.guile/scm-breakpoint.exp: Do not assume any
5499 directory separators when matching source file paths.
5500 * gdb.python/py-breakpoint.exp: Likewise.
5501 * gdb.reverse/break-precsave.exp: Likewise.
5502 * gdb.reverse/break-reverse.exp: Likewise.
5503 * gdb.reverse/consecutive-precsave.exp: Likewise.
5504 * gdb.reverse/finish-precsave.exp: Likewise.
5505 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5506 * gdb.reverse/finish-reverse.exp: Likewise.
5507 * gdb.reverse/i386-precsave.exp: Likewise.
5508 * gdb.reverse/i387-env-reverse.exp: Likewise.
5509 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5510 * gdb.reverse/machinestate-precsave.exp: Likewise.
5511 * gdb.reverse/machinestate.exp: Likewise.
5512 * gdb.reverse/sigall-precsave.exp: Likewise.
5513 * gdb.reverse/solib-precsave.exp: Likewise.
5514 * gdb.reverse/step-precsave.exp: Likewise.
5515 * gdb.reverse/until-precsave.exp: Likewise.
5516 * gdb.reverse/watch-precsave.exp: Likewise.
5517 * gdb.reverse/watch-reverse.exp: Likewise.
5519 2014-10-17 Yao Qi <yao@codesourcery.com>
5521 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5522 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5524 2014-10-17 Pedro Alves <palves@redhat.com>
5527 * gdb.base/bg-execution-repeat.c: New file.
5528 * gdb.base/bg-execution-repeat.exp: New file.
5530 2014-10-17 Pedro Alves <palves@redhat.com>
5533 * gdb.base/continue-all-already-running.c: New file.
5534 * gdb.base/continue-all-already-running.exp: New file.
5536 2014-10-17 Pedro Alves <palves@redhat.com>
5539 * gdb.base/annota-input-while-running.c: New file.
5540 * gdb.base/annota-input-while-running.exp: New file.
5542 2014-10-17 Pedro Alves <palves@redhat.com>
5544 * gdb.base/callfuncs.exp: emove references to osf.
5545 * gdb.base/sigall.exp: Likewise.
5546 * gdb.gdb/selftest.exp: Likewise.
5547 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5548 * gdb.mi/non-stop.c: Likewise.
5549 * gdb.mi/pthreads.c: Likewise.
5550 * gdb.reverse/sigall-precsave.exp: Likewise.
5551 * gdb.reverse/sigall-reverse.exp: Likewise.
5552 * gdb.threads/pthreads.c: Likewise.
5553 * gdb.threads/pthreads.exp: Likewise.
5555 2014-10-17 Yao Qi <yao@codesourcery.com>
5557 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5558 check 'target_info exists noargs'.
5559 (test_command_prompt_position): Likewise.
5560 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5562 (progvar_simple_while_test): Likewise.
5563 (progvar_complex_if_while_test): Likewise.
5564 (if_while_breakpoint_command_test): Likewise.
5565 (infrun_breakpoint_command_test): Likewise.
5566 (breakpoint_command_test): Likewise.
5567 (watchpoint_command_test): Likewise.
5568 (bp_deleted_in_command_test): Likewise.
5569 (temporary_breakpoint_commands): Likewise.
5571 2014-10-16 Yao Qi <yao@codesourcery.com>
5573 * gdb.base/remotetimeout.exp: Remove noargs checking.
5575 2014-10-15 Pedro Alves <palves@redhat.com>
5578 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5579 * gdb.base/breakpoint-in-ro-region.exp
5580 (probe_target_hardware_step): New procedure.
5581 (top level): Probe hardware stepping and hardware breakpoint
5582 support. Test stepping through a read-only region, with both
5583 "breakpoint auto-hw" on and off and both "always-inserted" on and
5586 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5588 * gdb.dlang/demangle.exp: Update for demangling changes.
5590 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5592 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5593 * gdb.cp/non-trivial-retval.exp: Add new tests.
5595 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5599 * gdb.cp/non-trivial-retval.cc: New file.
5600 * gdb.cp/non-trivial-retval.exp: New file.
5602 2014-10-15 Yao Qi <yao@codesourcery.com>
5604 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5607 2014-10-15 Yao Qi <yao@codesourcery.com>
5609 * gdb.python/py-symbol.exp: Match file base name if host is
5610 remote, otherwise match file name with dir name.
5611 * gdb.python/py-symtab.exp: Likewise.
5612 * gdb.python/python.exp: Likewise.
5614 2014-10-15 Yao Qi <yao@codesourcery.com>
5616 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5618 * gdb.python/py-symtab.exp: Likewise.
5619 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5622 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5624 * gdb.ada/addr_arith: New testcase.
5626 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5628 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5629 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5630 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5631 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5633 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5635 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5636 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5637 * gdb.arch/stap-eval-lang-ada.exp: New file.
5639 2014-10-14 Yao Qi <yao@codesourcery.com>
5641 * gdb.mi/mi-var-child.c (nothing1): New function.
5642 (nothing2): New function.
5643 (do_children_tests): Set function pointers by nothing1 and
5645 * gdb.mi/mi-var-child.exp: Step over new added statements.
5646 Update test to match the new output.
5647 * gdb.mi/var-cmd.c (nothing1): New function.
5648 (nothing2): New function.
5649 (do_children_tests): Set function pointers by nothing1 and
5651 * gdb.mi/mi-var-display.exp: Update test to match output.
5652 Step to the line specified by $line_dct_nothing.
5653 Increase the number of lines to step.
5655 2014-10-14 Yao Qi <yao@codesourcery.com>
5657 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5659 * gdb.mi/mi2-var-child.exp: Likewise.
5661 2014-10-13 Doug Evans <dje@google.com>
5663 * gdb.python/py-objfile.exp: Change name of file name test.
5665 2014-10-13 Doug Evans <dje@google.com>
5667 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5668 from the start of the CU.
5670 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5671 Yao Qi <yao@codesourcery.com>
5673 Fix "save breakpoints" for "catch" command.
5674 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5675 Remove -nonewline. Match also the added "main" line.
5677 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5679 Fix "save breakpoints" for "disable $bpnum" command.
5680 * gdb.base/save-bp.c (main): Add label.
5681 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5683 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5685 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5687 2014-10-11 Yao Qi <yao@codesourcery.com>
5689 * gdb.server/server-kill.exp: Execute command
5690 "set remote trace-status-packet on" before "tstatus".
5692 2014-10-11 Yao Qi <yao@codesourcery.com>
5694 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5695 (main): Call getppid.
5696 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5697 and continue to it. Read variable "server_pid".
5699 2014-10-11 Yao Qi <yao@codesourcery.com>
5701 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5703 2014-10-11 Yao Qi <yao@codesourcery.com>
5705 * gdb.threads/thread-find.exp: Don't execute command
5707 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5708 * gdb.threads/linux-dp.exp: Don't check the condition
5709 $threads_created equals to zero.
5711 2014-10-10 Pedro Alves <palves@redhat.com>
5713 * gdb.base/bigcore.exp: Remove references to IRIX.
5714 * gdb.base/funcargs.exp: Likewise.
5715 * gdb.base/interrupt.exp: Likewise.
5716 * gdb.base/mips_pro.exp: Likewise.
5717 * gdb.base/nodebug.exp: Likewise.
5718 * gdb.base/setvar.exp: Likewise.
5719 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5721 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5722 Pedro Alves <palves@redhat.com>
5725 * gdb.base/vdso-warning.c: New file.
5726 * gdb.base/vdso-warning.exp: New file.
5728 2014-10-02 Doug Evans <dje@google.com>
5730 * gdb.base/structs.c (main): Don't run forever.
5732 2014-10-02 Pedro Alves <palves@redhat.com>
5734 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5735 (top level) <stop threads 1, stop threads 2>: Use it.
5737 2014-10-02 Pedro Alves <palves@redhat.com>
5739 * gdb.threads/break-while-running.exp (test): Add new
5740 'update_thread_list' argument. Skip "info threads" if false.
5741 (top level): Add new 'update_thread_list' axis.
5743 2014-10-02 Pedro Alves <palves@redhat.com>
5745 PR breakpoints/17431
5746 * gdb.base/execl-update-breakpoints.c: New file.
5747 * gdb.base/execl-update-breakpoints.exp: New file.
5749 2014-10-01 Pedro Alves <palves@redhat.com>
5751 * gdb.base/breakpoint-in-ro-region.c: New file.
5752 * gdb.base/breakpoint-in-ro-region.exp: New file.
5754 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5756 * gdb.mi/mi-exit-code.exp: New file.
5757 * gdb.mi/mi-exit-code.c: New file.
5759 2014-09-30 Yao Qi <yao@codesourcery.com>
5761 * lib/prelink-support.exp (build_executable_own_libs): Error if
5762 the target isn't native.
5764 2014-09-30 Yao Qi <yao@codesourcery.com>
5766 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5769 2014-09-22 Pedro Alves <palves@redhat.com>
5771 * gdb.threads/break-while-running.exp: New file.
5772 * gdb.threads/break-while-running.c: New file.
5774 2014-09-19 Yao Qi <yao@codesourcery.com>
5776 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5777 Invoke test. Restart GDB with --readnow and invoke test again.
5779 2014-09-19 Yao Qi <yao@codesourcery.com>
5781 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5782 proc set_breakpoint_on_gcd_function. Invoke
5783 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5784 invoke set_breakpoint_on_gcd_function again.
5786 2014-09-18 Doug Evans <dje@google.com>
5788 * gdb.dwarf2/symtab-producer.exp: New file.
5790 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5792 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5793 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5794 * gdb.base/global-var-nested-by-dso.c: Likewise.
5795 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5797 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5798 Pedro Alves <palves@redhat.com>
5800 * gdb.base/watch-bitfields.exp: Pass string other than test file
5801 name to prepare_for_testing.
5802 (watch): New procedure.
5803 (expect_watchpoint): Use with_test_prefix.
5804 (top level): Factor out tests to ...
5805 (test_watch_location, test_regular_watch): ... these new
5806 procedures, and use with_test_prefix and gdb_continue_to_end.
5808 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5810 PR breakpoints/12526
5811 * gdb.base/watch-bitfields.exp: New file.
5812 * gdb.base/watch-bitfields.c: New file.
5814 2014-09-16 Pedro Alves <palves@redhat.com>
5816 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5817 software and hardware addresses, not software address against
5820 2014-09-16 Pedro Alves <palves@redhat.com>
5822 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5823 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5825 2014-09-16 Pedro Alves <palves@redhat.com>
5827 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5829 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5830 "*-*-vxworks*" throughout.
5831 * gdb.base/break.exp: Likewise.
5832 * gdb.base/default.exp: Likewise.
5833 * gdb.base/scope.exp: Likewise.
5834 * gdb.base/sepdebug.exp: Likewise.
5835 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5837 * gdb.base/run.c: Likewise.
5838 * gdb.base/sepdebug.c: Likewise.
5839 * gdb.hp/gdb.aCC/run.c: Likewise.
5840 * gdb.reverse/until-reverse.c: Likewise.
5841 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5843 2014-09-16 Yao Qi <yao@codesourcery.com>
5845 * boards/local-remote-host-native.exp: New file.
5847 2014-09-14 Doug Evans <xdje42@gmail.com>
5849 * gdb.threads/queue-signal.c (thread_count): New variable.
5850 (thread_count_mutex, thread_count_condvar): New variables.
5851 (incr_thread_count, wait_all_threads_running): New functions.
5852 (main): Wait for all threads to be in their thread functions.
5854 2014-09-13 Doug Evans <xdje42@gmail.com>
5856 * gdb.threads/queue-signal.c: New file.
5857 * gdb.threads/queue-signal.exp: New file.
5859 2014-09-13 Doug Evans <xdje42@gmail.com>
5861 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5862 be consistent with what default_gdb_init uses.
5863 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5864 the plain text of the prompt. Add some logging printfs.
5865 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5867 2014-09-12 Pedro Alves <palves@redhat.com>
5869 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5870 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5871 * gdb.arch/i386-size-overlap.exp: Likewise.
5872 * gdb.arch/i386-size.exp: Likewise.
5873 * gdb.arch/i386-unwind.exp: Likewise.
5874 * gdb.base/a2-run.exp: Likewise.
5875 * gdb.base/break.exp: Likewise.
5876 * gdb.base/charset.exp: Likewise.
5877 * gdb.base/chng-syms.exp: Likewise.
5878 * gdb.base/commands.exp: Likewise.
5879 * gdb.base/dbx.exp: Likewise.
5880 * gdb.base/find.exp: Likewise.
5881 * gdb.base/funcargs.exp: Likewise.
5882 * gdb.base/jit-simple.exp: Likewise.
5883 * gdb.base/reread.exp: Likewise.
5884 * gdb.base/sepdebug.exp: Likewise.
5885 * gdb.base/step-bt.exp: Likewise.
5886 * gdb.cp/mb-inline.exp: Likewise.
5887 * gdb.cp/mb-templates.exp: Likewise.
5888 * gdb.objc/basicclass.exp: Likewise.
5889 * gdb.threads/killed.exp: Likewise.
5891 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5894 * gdb.arch/powerpc-stackless.S: New file.
5895 * gdb.arch/powerpc-stackless.exp: New file.
5897 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5899 * gdb.base/attach.c: Include unistd.h.
5900 (main): Call alarm. Add label postloop.
5901 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5902 gdb_breakpoint, gdb_continue_to_breakpoint.
5903 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5905 2014-09-11 Pedro Alves <palves@redhat.com>
5908 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5909 * gdb.base/attach.exp (test_command_line_attach_run): New
5911 (top level): Call it.
5913 2014-09-11 Pedro Alves <palves@redhat.com>
5915 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5916 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5917 (do_command_attach_tests): Use spawn_wait_for_attach.
5918 * gdb.base/solib-overlap.exp: Likewise.
5919 * gdb.multi/multi-attach.exp: Likewise.
5920 * gdb.python/py-prompt.exp: Likewise.
5921 * gdb.python/py-sync-interp.exp: Likewise.
5922 * gdb.server/ext-attach.exp: Likewise.
5924 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5926 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5927 command in testcase. Simplify testcase.
5929 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5931 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5933 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5935 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5937 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5939 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5941 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5943 * gdb.dwarf2/dynarr-ptr.c: New file.
5944 * gdb.dwarf2/dynarr-ptr.exp: New file.
5946 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5948 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5949 of 30 rather than hardcoding 120 for a slow test case. Take the
5950 `gdb,timeout' target setting into account for this calculation.
5951 Don't extend the timeout for the test cases that don't need it.
5953 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5955 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5956 a factor of 2 for a slow test case. Take the `gdb,timeout'
5957 target setting into account for this calculation.
5958 * gdb.reverse/until-precsave.exp: Increase the timeout by
5959 a factor of 15 and 3 respectively rather than adding 120
5960 for a pair of slow test cases. Take the `gdb,timeout'
5961 target setting into account for this calculation.
5963 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5965 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5966 timeout, don't pass one down to gdb_expect.
5967 (gdb_expect): Rework timeout selection.
5969 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5971 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5972 exception on timeout.
5973 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5974 (gdbserver_start_extended): Catch any `gdbserver_start' error
5976 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5977 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5978 `gdbserver_gdb_load' error exceptions.
5980 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5982 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5983 120 on waiting for the TCP socket to open.
5985 2014-09-09 Doug Evans <xdje42@gmail.com>
5987 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5988 _caller_matches, _any_caller_is, _any_caller_matches.
5990 2014-09-09 Doug Evans <xdje42@gmail.com>
5992 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5994 2014-09-09 Yao Qi <yao@codesourcery.com>
5996 * gdb.mi/mi-var-display.exp: Set print symbol off.
5998 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6001 * gdb.base/commands.exp: Add tests to verify user-defined
6002 commands with empty bodies.
6003 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6004 python commands in `show user command`.
6005 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6006 scheme commands in `show user command`.
6008 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6011 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6012 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6013 * gdb.python/py-framefilter-invalidarg.exp: New file.
6014 * gdb.python/py-framefilter-invalidarg.py: New file.
6016 2014-09-06 Doug Evans <xdje42@gmail.com>
6019 * gdb.python/py-caller-is.c: New file.
6020 * gdb.python/py-caller-is.exp: New file.
6022 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6025 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6026 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6028 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6031 * gdb.fortran/print-formatted.exp: New file.
6032 * gdb.fortran/print-formatted.f90: Likewise.
6034 2014-09-03 Sasha Smundak <asmundak@google.com>
6036 * gdb.python/py-frame.exp: Test Frame.read_register.
6038 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6041 * gdb.python/py-completion.exp: New file.
6042 * gdb.python/py-completion.py: Likewise.
6044 2014-08-28 Doug Evans <dje@google.com>
6046 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6047 eax,etc. are live with values set by gdb and thus the compiler can't
6049 * gdb.arch/i386-pseudo.c (main): Ditto.
6051 2014-08-27 Doug Evans <dje@google.com>
6053 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6055 2014-08-25 Doug Evans <dje@google.com>
6057 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6060 2014-08-25 Doug Evans <dje@google.com>
6062 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6064 2014-08-24 Yao Qi <yao@codesourcery.com>
6066 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6068 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6070 2014-08-22 Doug Evans <dje@google.com>
6073 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6074 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6075 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6077 2014-08-22 Yao Qi <yao@codesourcery.com>
6079 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6080 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6081 * gdb.python/python.exp: Likewise. Use .py file on the host
6082 instead of the build.
6084 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6086 * gdb.threads/gcore-stale-thread.c: New file.
6087 * gdb.threads/gcore-stale-thread.exp: New file.
6089 2014-08-21 Pedro Alves <palves@redhat.com>
6091 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6092 * gdb.base/gcore-relro-pie.exp: Likewise.
6093 * gdb.base/gcore-relro.exp: Likewise.
6094 * gdb.base/gcore.exp: Likewise.
6095 * gdb.base/print-symbol-loading.exp: Likewise.
6096 * gdb.threads/gcore-thread.exp: Likewise.
6097 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6099 2014-08-20 Pedro Alves <palves@redhat.com>
6100 Jan Kratochvil <jan.kratochvil@redhat.com>
6102 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6104 (EXPECT): Handle READ1 being set.
6105 (all): Depend on EXTRA_RULES.
6106 (check-read1, expect-read1, read1.so, read1): New rules.
6107 * README (Testsuite Parameters): Document the READ1 make variable.
6108 (Race detection): New section.
6109 * configure: Regenerate.
6110 * configure.ac: If build==host==target, and running under a
6111 GNU/glibc system, add read1 to the extra Makefile rules.
6112 (EXTRA_RULES): AC_SUBST it.
6113 * lib/read1.c: New file.
6115 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6117 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6118 the handling of variables declared as a typedef to an array
6119 which a DW_AT_data_location attribute.
6121 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6122 Pedro Alves <palves@redhat.com>
6126 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6129 2014-08-19 Pedro Alves <palves@redhat.com>
6131 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6133 2014-08-19 Yao Qi <yao@codesourcery.com>
6135 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6138 2014-08-18 David Blaikie <dblaikie@gmail.com>
6140 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6142 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6144 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6145 attribute in array range.
6147 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6149 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6151 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6154 * gdb.cp/pr17132.cc: New file.
6155 * gdb.cp/pr17132.exp: New file.
6157 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6159 * gdb.python/py-xmethods.py (A_getarrayind)
6160 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6161 Use 'print' with function call syntax.
6162 (E_method_matcher.match): Fix tab vs space indentation mixup.
6164 2014-08-15 Yao Qi <yao@codesourcery.com>
6166 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6169 2014-08-15 Yao Qi <yao@codesourcery.com>
6171 * gdb.cp/casts.exp: Set print symbol off.
6172 * gdb.cp/class2.exp: Likewise.
6173 * gdb.cp/overload.exp: Likewise.
6174 * gdb.cp/templates.exp: Likewise.
6176 2014-08-11 Doug Evans <dje@google.com>
6178 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6179 (test_load_shlib): Update.
6181 2014-08-09 Yao Qi <yao@codesourcery.com>
6183 * gdb.base/display.exp: Invoke is_address_zero_readable.
6184 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6185 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6186 * gdb.base/hbreak-unmapped.exp: Return if
6187 is_address_zero_readable returns true.
6188 * gdb.base/signest.exp: Likewise.
6189 * gdb.base/signull.exp: Likewise.
6190 * gdb.base/sigbpt.exp: Likewise.
6191 * gdb.guile/scm-disasm.exp: Do the test if
6192 is_address_zero_readable returns false.
6193 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6194 * gdb.python/py-arch.exp: Likewise.
6195 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6196 * lib/gdb.exp (is_address_zero_readable): New proc.
6198 2014-08-09 Yao Qi <yao@codesourcery.com>
6201 * gdb.mi/mi-var-display.exp: Make test messages unique.
6203 2014-08-04 Tom Tromey <tromey@redhat.com>
6205 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6208 2014-08-04 Tom Tromey <tromey@redhat.com>
6210 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6213 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6215 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6216 inner_vla_struct_object_size.
6217 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6220 2014-07-30 Pedro Alves <palves@redhat.com>
6222 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6225 2014-07-29 Yao Qi <yao@codesourcery.com>
6228 * gdb.base/until-nodebug.exp: New.
6230 2014-07-28 Doug Evans <xdje42@gmail.com>
6233 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6234 previously existing parameter, and previously ambiguously spelled
6237 2014-07-28 Will Newton <will.newton@linaro.org>
6239 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6241 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6242 Doug Evans <xdje42@gmail.com>
6245 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6247 2014-07-25 Pedro Alves <palves@redhat.com>
6249 * gdb.threads/signal-command-handle-nopass.c: New file.
6250 * gdb.threads/signal-command-handle-nopass.exp: New file.
6251 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6252 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6253 * gdb.threads/signal-delivered-right-thread.c: New file.
6254 * gdb.threads/signal-delivered-right-thread.exp: New file.
6256 2014-07-25 Pedro Alves <palves@redhat.com>
6258 * gdb.base/double-prompt-target-event-error.exp
6259 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6261 (cancel_pagination_in_target_event): Rework double prompt
6263 * gdb.base/paginate-after-ctrl-c-running.exp
6264 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6266 * gdb.base/paginate-bg-execution.exp
6267 (test_bg_execution_pagination_return)
6268 (test_bg_execution_pagination_cancel): Remove '-notransfer
6270 * gdb.base/paginate-execution-startup.exp
6271 (test_fg_execution_pagination_return)
6272 (test_fg_execution_pagination_cancel): Remove '-notransfer
6274 * gdb.base/paginate-inferior-exit.exp
6275 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6277 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6278 * lib/gdb.exp (pagination_prompt): Run text through
6280 (gdb_test_multiple): Match $pagination_prompt instead of
6282 (string_to_regexp): Move to lib/gdb-utils.exp.
6284 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6286 * gdb.arch/amd64-entry-value-paramref.S: New file.
6287 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6288 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6289 * gdb.arch/amd64-optimout-repeat.S: New file.
6290 * gdb.arch/amd64-optimout-repeat.c: New file.
6291 * gdb.arch/amd64-optimout-repeat.exp: New file.
6293 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6296 * gdb.base/statistics.exp: New file.
6298 2014-07-17 Doug Evans <dje@google.com>
6301 * gdb.base/maint.exp: Update testing of per-command stats.
6303 2014-07-16 Pedro Alves <palves@redhat.com>
6305 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6306 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6307 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6308 (tfile_write_buf): New functions.
6309 (add_memory_block): Rewrite using the above.
6310 (adjust_function_address): New function.
6311 (FUNCTION_ADDRESS): New macro.
6312 (write_basic_trace_file): Remove short_x local, and use
6313 tfile_write_16. Change type of func_addr local to unsigned long
6314 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6315 here. Cast argument of add_memory_block to char pointer.
6316 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6317 (main): Remove parameters.
6318 * gdb.trace/tfile.exp: Remove nowarnings.
6320 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6322 * gdb.base/debug-expr.exp: Test string evaluation with
6323 "debug expression" on.
6325 2014-07-15 Pedro Alves <palves@redhat.com>
6327 * gdb.base/reread.exp: Use clean_restart.
6329 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6331 * gdb.arch/avr-flash-qualifer.c: New.
6332 * gdb.arch/avr-flash-qualifer.exp: New.
6334 2014-07-14 Pedro Alves <palves@redhat.com>
6336 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6337 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6339 2014-07-14 Pedro Alves <palves@redhat.com>
6341 * gdb.base/double-prompt-target-event-error.c: New file.
6342 * gdb.base/double-prompt-target-event-error.exp: New file.
6344 2014-07-14 Pedro Alves <palves@redhat.com>
6347 * gdb.base/paginate-inferior-exit.c: New file.
6348 * gdb.base/paginate-inferior-exit.exp: New file.
6350 2014-07-14 Pedro Alves <palves@redhat.com>
6353 * gdb.base/paginate-bg-execution.c: New file.
6354 * gdb.base/paginate-bg-execution.exp: New file.
6356 2014-07-14 Pedro Alves <palves@redhat.com>
6359 * gdb.base/paginate-execution-startup.c: New file.
6360 * gdb.base/paginate-execution-startup.exp: New file.
6361 * lib/gdb.exp (pagination_prompt): New global.
6362 (default_gdb_spawn): New procedure, factored out from
6364 (default_gdb_start): Adjust to call default_gdb_spawn.
6365 (gdb_spawn): New procedure.
6367 2014-07-14 Pedro Alves <palves@redhat.com>
6369 * lib/gdb.exp (gdb_assert): New procedure.
6370 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6372 2014-07-14 Pedro Alves <palves@redhat.com>
6374 * gdb.base/execution-termios.c: New file.
6375 * gdb.base/execution-termios.exp: New file.
6377 2014-07-14 Tom Tromey <tromey@redhat.com>
6379 * gdb.cp/vla-cxx.cc: New file.
6380 * gdb.cp/vla-cxx.exp: New file.
6382 2014-07-14 Tom Tromey <tromey@redhat.com>
6384 * gdb.reverse/rerun-prec.c: New file.
6385 * gdb.reverse/rerun-prec.exp: New file.
6387 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6388 Maciej W. Rozycki <macro@codesourcery.com>
6390 * lib/gdb-utils.exp: New file.
6391 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6392 inline `gdb_init_command' processing.
6393 (gdb_start_cmd): Likewise.
6394 * lib/mi-support.exp (mi_run_cmd): Likewise.
6395 * README: Document `gdb_init_command' and `gdb_init_commands'.
6397 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6399 Fix false FAIL running under a very long directory name.
6400 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6401 and "set print elements 10000". Twice.
6403 2014-07-11 Yao Qi <yao@codesourcery.com>
6405 * gdb.base/exprs.exp: "set print symbol off".
6407 2014-07-11 Pedro Alves <palves@redhat.com>
6409 * gdb.threads/kill.c: New file.
6410 * gdb.threads/kill.exp: New file.
6412 2014-07-10 Yao Qi <yao@codesourcery.com>
6414 * gdb.trace/tfile.c (write_basic_trace_file)
6415 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6416 address written to trace file.
6418 2014-07-09 Pedro Alves <palves@redhat.com>
6420 * gdb.base/attach-wait-input.exp: New file.
6421 * gdb.base/attach-wait-input.c: New file.
6423 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6425 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6426 setting up test structures.
6427 (main): Call new test function.
6428 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6429 test function, continue into test function and walk test
6432 2014-07-02 Yao Qi <yao@codesourcery.com>
6434 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6435 'bar_start' at the beginning of functions 'foo' and 'bar'
6437 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6438 instead of 'foo' and 'bar'.
6440 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6442 * gdb.btrace/segv.exp: New.
6443 * gdb.btrace/segv.c: New.
6445 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6447 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6450 2014-06-30 Mark Wielaard <mjw@redhat.com>
6452 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6453 vulture, vilify, villar): New volatile array constants.
6454 (vindictive, vegetation): New const volatile array constants.
6455 * gdb.base/volatile.exp: Test volatile and const volatile array
6458 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6460 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6461 target lacks support for awatch, rwatch, or hbreak.
6463 2014-06-27 Yao Qi <yao@codesourcery.com>
6465 * gdb.multi/dummy-frame-restore.exp: New.
6466 * gdb.multi/dummy-frame-restore.c: New.
6468 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6470 * gdb.btrace/gcore.exp: New.
6472 2014-06-23 Pedro Alves <palves@redhat.com>
6474 * gdb.base/watchpoint-reuse-slot.c: New file.
6475 * gdb.base/watchpoint-reuse-slot.exp: New file.
6477 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6479 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6480 progspace's filename in 'info', 'enable' and 'disable' command
6483 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6485 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6486 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6487 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6489 2014-06-20 Gary Benson <gbenson@redhat.com>
6491 * gdb.arch/i386-avx.exp: Fix include file location.
6492 * gdb.arch/i386-sse.exp: Likewise.
6494 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6496 * gdb.dlang/expression.exp: New file.
6498 2014-06-19 Pedro Alves <palves@redhat.com>
6500 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6502 (top level): ... here. Iterate running tests under different
6503 scheduler-locking settings.
6505 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6507 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6508 to DW_FORM_addr and use non-zero addresses.
6510 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6513 * gdb.python/py-xmethods.cc: Add global function call counters and
6514 increment them in their respective functions. Remove "cout"
6516 * gdb.python/py-xmethods.exp: Make tests check the global function
6517 call counters instead of depending on inferior IO.
6519 2014-06-18 Don Breazeal <donb@codesourcery.com>
6521 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6523 (explicit_fork_parent_follow): Deleted procedure.
6524 (explicit_fork_child_follow): Deleted procedure.
6525 (test_follow_fork): New procedure.
6526 (do_fork_tests): Replace calls to deleted procedures with
6527 calls to test_follow_fork and reset GDB for subsequent
6530 2014-06-17 Yao Qi <yao@codesourcery.com>
6532 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6535 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6537 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6538 Initialize ptr and S explicitly.
6539 (skip_type_update_when_not_use_rtti_test): Likewise.
6541 2014-06-16 Keith Seitz <keiths@redhat.com>
6544 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6545 the inferior is started.
6547 2014-06-16 Pedro Alves <palves@redhat.com>
6549 * gdb.base/break-main-file-remove-fail.c: New file.
6550 * gdb.base/break-main-file-remove-fail.exp: New file.
6551 * gdb.base/break-unload-file.exp: Use build_executable instead of
6552 prepare_for_testing.
6553 (test_break): New parameter "initial_load". Handle it.
6554 (top level): Add initial_load cmdline/file axis.
6556 2014-06-12 Tom Tromey <tromey@redhat.com>
6558 * gdb.base/completion.exp: Don't use directory name in test.
6560 2014-06-09 Gary Benson <gbenson@redhat.com>
6562 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6563 separate the always-available ANSI-standard signals from the
6564 signals that require checking.
6566 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6570 2014-06-07 Keith Seitz <keiths@redhat.com>
6574 * gdb.cp/var-tag.cc: New file.
6575 * gdb.cp/var-tag.exp: New file.
6576 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6577 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6578 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6579 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6581 2014-06-06 Doug Evans <xdje42@gmail.com>
6583 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6585 2014-06-06 Pedro Alves <palves@redhat.com>
6587 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6588 in target debug output instead of looking at RSP packets,
6589 disabling the test on any target that uses hardware stepping.
6592 2014-06-06 Pedro Alves <palves@redhat.com>
6594 * gdb.base/break-unload-file.exp: Fix typo.
6596 2014-06-06 Yao Qi <yao@codesourcery.com>
6598 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6599 from "jit_function" to "^jit_function".
6601 2014-06-06 Yao Qi <yao@codesourcery.com>
6603 * gdb.base/async.c (foo): Add one statement.
6604 * gdb.base/async.exp: Get the next instruction address and
6605 match the output of "nexti" by instruction address. Match
6606 the hex address in the output of "finish".
6608 2014-06-06 Gary Benson <gbenson@redhat.com>
6610 * gdb.base/call-signals.c: Remove preprocessor conditionals
6611 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6612 SIGSEGV and SIGTERM.
6613 * gdb.base/sigall.c: Likewise.
6614 * gdb.base/unwindonsignal.c: Likewise.
6615 * gdb.reverse/sigall-reverse.c: Likewise.
6617 2014-06-06 Yao Qi <yao@codesourcery.com>
6619 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6620 readable, skip the test.
6622 2014-06-06 Yao Qi <yao@codesourcery.com>
6624 * gdb.threads/staticthreads.c (thread_function): Move the line
6625 setting breakpoint on forward.
6626 * gdb.threads/staticthreads.exp: Update comments.
6628 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6630 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6631 "history-append! type error".
6633 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6635 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6636 erroneous dprintf expected input.
6638 2014-06-04 Doug Evans <xdje42@gmail.com>
6640 * gdb.guile/scm-generics.exp: Delete.
6642 2014-06-04 Doug Evans <xdje42@gmail.com>
6644 * gdb.guile/scm-breakpoint.exp: Update.
6645 Add tests for breakpoint registration.
6647 2014-06-04 Tom Tromey <tromey@redhat.com>
6649 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6651 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6652 inner_vla_struct, vla_union types. Initialize objects of those
6653 types and compute their sizes.
6655 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6656 Hui Zhu <hui@codesourcery.com>
6658 * gdb.base/fileio.exp: Add test for shell not available as well as
6660 * gdb.base/fileio.c (test_system): Check for shell twice.
6662 2014-06-04 Yao Qi <yao@codesourcery.com>
6664 * gdb.base/auto-connect-native-target.exp: Remove redundant
6665 space from the regexp pattern.
6667 2014-06-04 Yao Qi <yao@codesourcery.com>
6669 * gdb.base/default.exp: Replace "child" with "native" in
6672 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6674 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6675 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6676 * gdb.python/py-xmethods.py: Python script supporting the
6677 new testcase and tests.
6679 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6680 Pedro Alves <palves@redhat.com>
6682 PR breakpoints/17000
6683 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6684 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6686 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6688 * gdb.base/subst.exp: Add tests to verify partial path matching
6691 2014-06-03 Pedro Alves <palves@redhat.com>
6693 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6694 target that doesn't use software single-stepping.
6696 2014-06-03 Pedro Alves <palves@redhat.com>
6698 PR breakpoints/17000
6699 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6700 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6702 2014-06-02 Doug Evans <xdje42@gmail.com>
6704 * gdb.guile/scm-parameter.exp: New file.
6706 2014-06-02 Doug Evans <xdje42@gmail.com>
6708 * gdb.guile/scm-cmd.c: New file.
6709 * gdb.guile/scm-cmd.exp: New file.
6711 2014-06-02 Doug Evans <xdje42@gmail.com>
6713 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6714 pretty-printer lookup.
6715 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6716 (make-pp_s-printer): Call it.
6717 (make-pretty-printer-from-dict): New function.
6718 (lookup-pretty-printer-maker-from-dict): New function.
6719 (*pretty-printer*): Simplify.
6720 (make-objfile-pp_s-printer): New function.
6721 (install-objfile-pretty-printers!): New function.
6722 (make-progspace-pp_s-printer): New function.
6723 (install-progspace-pretty-printers!): New function.
6724 * gdb.guile/scm-progspace.c: New file.
6725 * gdb.guile/scm-progspace.exp: New file.
6727 2014-06-02 Pedro Alves <palves@redhat.com>
6729 * gdb.base/dprintf-bp-same-addr.c: New file.
6730 * gdb.base/dprintf-bp-same-addr.exp: New file.
6732 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6734 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6735 * gdb.arch/powerpc-power.s: Likewise.
6737 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6739 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6741 2014-06-01 Yao Qi <yao@codesourcery.com>
6743 * gdb.base/watchpoint.exp (test_watch_location): Check null
6744 pointer can be dereferenced. If not, do the test, otherwise
6747 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6749 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6751 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6753 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6755 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6756 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6757 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6758 * gdb.arch/amd64-invalid-stack-top.c: New file.
6759 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6761 2014-05-30 Pedro Alves <palves@redhat.com>
6763 PR breakpoints/17000
6764 * gdb.base/sss-bp-on-user-bp.c: New file.
6765 * gdb.base/sss-bp-on-user-bp.exp: New file.
6767 2014-05-30 David Blaikie <dblaikie@gmail.com>
6769 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6770 gnu_inline semantics via attribute.
6771 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6772 source explicitly specifies the required semantics.
6774 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6776 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6778 2014-05-29 Pedro Alves <palves@redhat.com>
6779 Tom Tromey <tromey@redhat.com>
6781 * gdb.base/async-shell.exp: Don't enable target-async.
6782 * gdb.base/async.exp
6783 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6785 (top level): Don't test with "target-async".
6786 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6787 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6788 * gdb.base/inferior-died.exp: Don't enable target-async.
6789 * gdb.base/interrupt-noterm.exp: Likewise.
6790 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6791 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6792 * gdb.mi/mi-nonstop.exp: Likewise.
6793 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6794 * gdb.mi/mi-nsintrall.exp: Likewise.
6795 * gdb.mi/mi-nsmoribund.exp: Likewise.
6796 * gdb.mi/mi-nsthrexec.exp: Likewise.
6797 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6798 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6799 * gdb.python/py-evsignal.exp: Don't enable target-async.
6800 * gdb.python/py-evthreads.exp: Likewise.
6801 * gdb.python/py-prompt.exp: Likewise.
6802 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6803 * gdb.server/solib-list.exp: Don't enable target-async.
6804 * gdb.threads/thread-specific-bp.exp: Likewise.
6805 * lib/mi-support.exp: Adjust to use mi-async.
6807 2014-05-29 Pedro Alves <palves@redhat.com>
6810 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6811 reason, even in sync mode.
6813 2014-05-29 Pedro Alves <palves@redhat.com>
6814 Hui Zhu <hui@codesourcery.com>
6817 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6818 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6819 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6820 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6822 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6824 * config/monitor.exp (gdb_target_monitor): Replace use of
6825 "set remotebaud" by "set serial baud".
6827 2014-05-26 Andy Wingo <wingo@igalia.com>
6829 * gdb.guile/scm-breakpoint.exp:
6830 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6831 properties instead of gdb-object-properties.
6833 2014-05-26 Yao Qi <yao@codesourcery.com>
6835 * gdb.server/no-thread-db.exp: Specify source file name
6836 explicitly when setting a breakpoint.
6838 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6840 * gdb.btrace/vdso.c: New.
6841 * gdb.btrace/vdso.exp: New.
6843 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6845 * gdb.base/gcore.exp (capture_command_output): Move ...
6846 * lib/gdb.exp (capture_command_output): ... here.
6848 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6850 * gdb.btrace/data.exp: Test memory access during btrace replay.
6852 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6854 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6856 2014-05-21 Pedro Alves <palves@redhat.com>
6859 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6860 (top level): Test that output related to execution commands is
6861 sent to the console with CLI commands, but not with MI commands.
6862 Test that breakpoint events are always mirrored to the console.
6863 Also expect the new source line to be output after a "next" in
6864 async mode too. Make it a pass/fail test.
6865 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6867 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6869 2014-05-21 Pedro Alves <palves@redhat.com>
6871 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6872 Use them to test variations of "list" after reaching a breakpoint.
6873 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6874 Test "list" with listsize 10 after reaching a breakpoint.
6875 * gdb.python/python.exp (decode_line current location line
6876 number): Adjust expected line number.
6878 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6880 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6881 behavior for $args, pass it directly to "run".
6883 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6885 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6888 2014-05-21 Pedro Alves <palves@redhat.com>
6890 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6891 auto-connect-native-target off".
6892 * gdb.base/auto-connect-native-target.c: New file.
6893 * gdb.base/auto-connect-native-target.exp: New file.
6895 2014-05-21 Pedro Alves <palves@redhat.com>
6897 * gdb.base/default.exp: Test "target native" instead of "target
6900 2014-05-21 Mark Wielaard <mjw@redhat.com>
6902 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6904 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6906 Fix TLS access for -static -pthread.
6907 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6908 <HAVE_TLS> (thread_function, main): Initialize it.
6909 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6911 <$have_tls != "">: Check TLSVAR.
6913 2014-05-21 Pedro Alves <palves@redhat.com>
6915 * gdb.base/dcache-line-read-error.c: New.
6916 * gdb.base/dcache-line-read-error.exp: New.
6918 2014-05-20 Pedro Alves <palves@redhat.com>
6920 * gdb.base/compare-sections.c: New file.
6921 * gdb.base/compare-sections.exp: New file.
6923 2014-05-20 Pedro Alves <palves@redhat.com>
6925 * gdb.base/break-idempotent.c: New file.
6926 * gdb.base/break-idempotent.exp: New file.
6928 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6930 * gdb.btrace/nohist.exp: New.
6932 2014-05-20 Yao Qi <yao@codesourcery.com>
6934 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6935 gdb.reverse directory and gdb_reverse_timeout exists in board
6937 * README: Document gdb_reverse_timeout.
6939 2014-05-20 Yao Qi <yao@codesourcery.com>
6941 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6942 'test_file_name'. Treat args as a string instead of a list.
6943 (gdb_init): Rename argument 'args' by 'test_file_name'.
6945 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6947 * gdb.arch/powerpc-power.exp: New file.
6948 * gdb.arch/powerpc-power.s: New file.
6950 2014-05-16 Doug Evans <dje@google.com>
6952 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6953 * gdb.base/completion.exp: Check that all expected files exist
6954 before doing file completion.
6956 2014-05-16 Doug Evans <dje@google.com>
6958 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6960 (do_syscall_tests_without_xml): Update.
6962 2014-05-16 Pedro Alves <palves@redhat.com>
6964 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6965 instead of "unknown output after running".
6967 2014-05-16 Yao Qi <yao@codesourcery.com>
6969 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6970 file1.txt from host at the end.
6971 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6973 2014-05-15 Doug Evans <dje@google.com>
6975 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6976 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6977 loading file. Add test for TU lookup.
6979 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6981 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6982 calling "-exec-arguments" or "set args" before running the
6985 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6987 * lib/mi-support.exp (mi_expect_stop): Expect message for
6988 inferiors that exit with non-zero exit code.
6990 2014-05-14 Yao Qi <yao@codesourcery.com>
6992 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6993 match absolute path on remote host.
6994 (test_file_list_exec_source_files): Remove "/" from the
6997 2014-05-14 Yao Qi <yao@codesourcery.com>
6999 * boards/local-remote-host-notty.exp (${board}_file): New
7002 2014-05-07 Kyle McMartin <kyle@redhat.com>
7004 Pushed by Joel Brobecker <brobecker@adacore.com>.
7005 * gdb.arch/aarch64-atomic-inst.c: New file.
7006 * gdb.arch/aarch64-atomic-inst.exp: New file.
7008 2014-05-07 Yao Qi <yao@codesourcery.com>
7010 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7011 in current context" too.
7013 2014-05-05 Keith Seitz <keiths@redhat.com>
7015 * gdb.linespec/ls-dollar.exp: Add test for linespec
7016 file:convenience_variable.
7018 2014-05-05 Yao Qi <yao@codesourcery.com>
7020 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7021 traceframes into tfile and ctf trace files. Read data from
7022 trace file and test collected data.
7023 (gdb_collect_locals_test): Likewise.
7024 (gdb_unavailable_registers_test): Likewise.
7025 (gdb_unavailable_floats): Likewise.
7026 (gdb_collect_globals_test): Likewise.
7027 (top-level): Append "ctf" to trace_file_targets if GDB
7030 2014-05-05 Yao Qi <yao@codesourcery.com>
7032 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7034 (gdb_collect_args_test_1): ... it. New proc.
7035 (gdb_collect_locals_test): Move some code to ...
7036 (gdb_collect_locals_test_1): ... it. New proc.
7037 (gdb_unavailable_registers_test): Move some code to ...
7038 (gdb_unavailable_registers_test_1): ... it. New proc.
7039 (gdb_unavailable_floats): Move some code to ...
7040 (gdb_unavailable_floats_1): ... it. New proc.
7042 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7044 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7045 probes to test for bitness recognition.
7046 * gdb.arch/amd64-stap-optional-prefix.exp
7047 (test_probe_value_without_reg): New procedure.
7048 Add code to test for different kinds of bitness.
7050 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7052 PR breakpoints/16889
7053 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7054 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7056 2014-05-01 Pedro Alves <palves@redhat.com>
7058 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7059 gdb_file_cmd if no file is specified.
7060 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7061 last_loaded_file to set the remote exec-file.
7063 2014-05-01 Pedro Alves <palves@redhat.com>
7065 * boards/local-remote-host.exp: New file.
7067 2014-05-01 Pedro Alves <palves@redhat.com>
7069 * boards/local-remote-host.exp: Rename to ...
7070 * boards/local-remote-host-notty.exp: ... this.
7072 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7074 * gdb.ada/dyn_arrayidx: New testcase.
7076 2014-04-26 Yao Qi <yao@codesourcery.com>
7078 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7079 and compute the length of function main. Save it in
7081 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7082 (top-level): Use gdb_compile to compile objects into
7083 executable and restart GDB. Remove invocation to
7084 prepare_for_testing.
7086 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7087 Pedro Alves <palves@redhat.com>
7090 * gdb.multi/multi-attach.c: New file.
7091 * gdb.multi/multi-attach.exp: New file.
7093 2014-04-25 Pedro Alves <palves@redhat.com>
7095 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7097 (top level): Test that "set remote conditional-breakpoints-packet
7098 off" works as intended.
7099 * gdb.base/dprintf.exp: Test that "set remote
7100 breakpoint-commands-packet off" works as intended.
7101 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7103 (top level): Call it.
7104 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7105 remote fast-tracepoints-packet off" works as intended.
7106 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7107 * lib/gdb.exp (gdb_is_target_remote): ... here.
7109 2014-04-24 David Blaikie <dblaikie@gmail.com>
7111 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7112 ensure clang would not discard them.
7113 * gdb.base/gdbvars.c: Ditto.
7114 * gdb.base/memattr.c: Ditto.
7115 * gdb.base/whatis.c: Ditto.
7116 * gdb.python/py-prettyprint.c: Ditto.
7117 * gdb.trace/actions.c: Ditto.
7118 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7119 ensure clang would not discard it.
7121 2014-04-24 David Blaikie <dblaikie@gmail.com>
7123 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7124 clang to emit the full definition of type required by the test
7125 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7127 2014-04-24 David Blaikie <dblaikie@gmail.com>
7129 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7130 coax Clang into emitting the definition of the type.
7131 * gdb.cp/pr10728-x.h (y): Ditto.
7132 * gdb.cp/pr10728-y.cc (y): Ditto.
7134 2014-04-24 David Blaikie <dblaikie@gmail.com>
7136 * gdb.base/label.exp: XFAIL label related tests under Clang.
7137 * gdb.cp/cplabel.exp: Ditto.
7138 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7139 under Clang those using labels.
7141 2014-04-25 Yao Qi <yao@codesourcery.com>
7143 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7145 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7146 partial_label and double_label.
7148 2014-04-24 David Blaikie <dblaikie@gmail.com>
7150 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7152 2014-04-24 David Blaikie <dblaikie@gmail.com>
7154 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7155 of the function to work across GCC and Clang.
7156 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7157 pointer types (const void ** const V void **).
7159 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7160 Walfred Tedeschi <walfred.tedeschi@intel.com>
7162 * Makefile.in (EXECUTABLES): Added i386-avx512.
7163 * gdb.arch/i386-avx512.c: New file.
7164 * gdb.arch/i386-avx512.exp: Likewise.
7166 2014-04-23 Keith Seitz <keiths@redhat.com>
7168 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7169 (mi_make_breakpoint_table): New procedure.
7170 (mi_create_breakpoint): Use mi_make_breakpoint
7171 and return the result.
7172 (mi_make_breakpoint): New procedure.
7173 (mi_build_kv_pairs): New procedure.
7175 * gdb.mi/mi-break.exp: Remove unused globals,
7176 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7177 All callers updated.
7178 * gdb.mi/mi-dprintf.exp: Use variable to track command
7180 Update all callers of mi_create_breakpoint and use
7181 mi_make_breakpoint_table.
7182 Remove any unused global variables.
7183 * gdb.mi/mi-nonstop.exp: Likewise.
7184 * gdb.mi/mi-nsintrall.exp: Likewise.
7185 * gdb.mi/mi-nsmoribund.exp: Likewise.
7186 * gdb.mi/mi-nsthrexec.exp: Likewise.
7187 * gdb.mi/mi-reverse.exp: Likewise.
7188 * gdb.mi/mi-simplerun.exp: Likewise.
7189 * gdb.mi/mi-stepn.exp: Likewise.
7190 * gdb.mi/mi-syn-frame.exp: Likewise.
7191 * gdb.mi/mi-until.exp: Likewise.
7192 * gdb.mi/mi-var-cp.exp: Likewise.
7193 * gdb.mi/mi-var-display.exp: Likewise.
7194 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7195 * gdb.mi/mi2-var-child.exp: Likewise.
7196 * gdb.mi/mi-vla-c99.exp: Likewise.
7197 * lib/mi-support.exp: Likewise.
7199 From Ian Lance Taylor <iant@cygnus.com>:
7200 * lib/gdb.exp (parse_args): New procedure.
7202 2014-04-23 Pedro Alves <palves@redhat.com>
7204 * gdb.base/break-unload-file.c: New file.
7205 * gdb.base/break-unload-file.exp: New file.
7206 * gdb.base/sym-file-lib.c (baz): New function.
7207 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7209 (load): Store the segment's mapped size.
7210 (unload): New function.
7211 (unload_shlib): New function.
7212 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7213 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7214 set a breakpoint at baz, and call it.
7215 * gdb.base/sym-file.exp: New tests for stale breakpoint
7218 2014-04-23 Pedro Alves <palves@redhat.com>
7220 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7221 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7222 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7223 * gdb.base/hbreak-unmapped.c: New file.
7224 * gdb.base/hbreak-unmapped.exp: New file.
7225 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7226 * lib/gdb.exp (gdb_is_target_remote): ... here.
7228 2014-04-22 Pedro Alves <palves@redhat.com>
7230 * gdb.base/consecutive-step-over.c: New file.
7231 * gdb.base/consecutive-step-over.exp: New file.
7233 2014-04-22 Pedro Alves <palves@redhat.com>
7235 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7236 instead of send_gdb/gdb_expect.
7238 2014-04-22 Yao Qi <yao@codesourcery.com>
7240 * lib/trace-support.exp (generate_tracefile): New procedure.
7241 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7243 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7244 if generate_tracefile returns 1.
7246 2014-04-18 Tom Tromey <palves@redhat.com>
7247 Pedro alves <tromey@redhat.com>
7250 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7251 with a backtrace limit.
7252 * gdb.python/py-frame-inline.exp: Test running to an inline
7253 function with a backtrace limit, and printing the newest frame.
7254 * gdb.python/py-frame-inline.c (main): Call f.
7256 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7258 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7260 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7262 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7263 Drop prefix from unsupported source file path.
7265 2014-04-17 Yao Qi <yao@codesourcery.com>
7267 * lib/gdb.exp (with_target_charset): New proc.
7268 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7269 with_target_charset.
7270 (test_print_strings): Likewise.
7271 (test_repeat_bytes): Likewise.
7272 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7275 2014-04-16 Keith Seitz <keiths@redhat.com>
7278 * gdb.dwarf2/corrupt.c: New file.
7279 * gdb.dwarf2/corrupt.exp: New file.
7281 2014-04-16 Keith Seitz <keiths@redhat.com>
7284 * gdb.cp/namelessclass.cc: New file.
7285 * gdb.cp/namelessclass.exp: New file.
7286 * gdb.cp/namelessclass.S: New file.
7288 2014-04-16 Doug Evans <dje@google.com>
7290 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7292 (gdbserver_default_get_comm_port): New function.
7293 (gdbserver_start): Check if board file provided
7294 "gdbserver,get_comm_port" and use it if so.
7295 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7296 (gdb,socketport): Set to "stdio".
7297 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7298 (stdio_gdbserver_template): Delete.
7299 (${board}_get_remote_address): Update.
7300 (${board}_build_remote_cmd): Delete.
7301 (${board}_get_comm_port): New function.
7302 (${board}_spawn): Update.
7303 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7305 (${board}_get_remote_address): Update.
7306 (${board}_get_comm_port): New function.
7308 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7310 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7311 appearing in any order.
7313 2014-04-15 Doug Evans <dje@google.com>
7315 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7316 uninitialized value of "description".
7318 2014-04-15 Keith Seitz <keiths@redhat.com>
7320 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7321 Remove unused globals.
7322 (test_running_the_program): Likewise.
7323 (test_controlled_execution): Likewise.
7324 (test_controlling_breakpoints): Likewise.
7325 (test_program_termination): Likewise.
7327 2014-04-15 Keith Seitz <keiths@redhat.com>
7329 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7331 (test_rbreak_creation_and_listing): Likewise.
7332 (test_ignore_count): Likewise.
7333 (test_error): Likewise.
7335 2014-04-15 Pedro Alves <palves@redhat.com>
7337 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7338 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7340 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7341 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7342 to sym-file-loader.c.
7343 (struct library): Forward declare.
7344 (load_shlib, lookup_function): Change prototypes.
7345 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7346 (translate_offset): Remove declarations.
7347 (get_text_addr): New declaration.
7348 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7349 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7351 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7352 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7353 here from sym-file-loader.h.
7354 (struct library): New structure.
7355 (load_shlib, lookup_function): Change prototypes and adjust to
7356 work with a struct library.
7357 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7358 (translate_offset): Make static.
7359 (get_text_addr): New function.
7360 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7362 2014-04-15 Pedro Alves <palves@redhat.com>
7364 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7366 2014-04-15 Pedro Alves <palves@redhat.com>
7368 * gdb.base/sym-file-loader.c: Include <limits.h>.
7369 (SELF_LINK): New define.
7370 (get_origin): New function.
7371 (load_shlib): Use it.
7372 * gdb.base/sym-file.exp: Don't early return if the target is
7373 remote. Use runto_main, and issue fail is that fails. Use
7375 (shlib_name): Delete.
7376 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7378 2014-04-15 Pedro Alves <palves@redhat.com>
7380 * gdb.base/sym-file.exp: Remove regex characters from test
7381 message. Don't refer to breakpoint numbers in test messages.
7383 2014-04-14 Keith Seitz <keiths@redhat.com>
7386 * gdb.cp/var-tag.cc: New file.
7387 * gdb.cp/var-tag.exp: New file.
7388 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7389 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7390 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7391 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7393 2014-04-14 Tom Tromey <tromey@redhat.com>
7395 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7396 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7398 * gdb.cp/enum-class.exp: New file.
7399 * gdb.cp/enum-class.cc: New file.
7401 2014-04-14 Tom Tromey <tromey@redhat.com>
7403 * gdb.dwarf2/enum-type.exp: New file.
7405 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7407 * gdb.mi/mi-vla-c99.exp: New file.
7408 * gdb.mi/vla.c: New file.
7410 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7412 * gdb.base/vla-datatypes.c: New file.
7413 * gdb.base/vla-datatypes.exp: New file.
7415 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7417 * gdb.base/vla-ptr.c: New file.
7418 * gdb.base/vla-ptr.exp: New file.
7420 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7422 * gdb.dwarf2/count.exp: New file.
7424 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7426 * gdb.base/vla-sideeffect.c: New file.
7427 * gdb.base/vla-sideeffect.exp: New file.
7429 2014-04-14 David Blaikie <dblaikie@gmail.com>
7431 * gdb.mi/non-stop.c: Add return value for non-void function return
7433 * gdb.threads/staticthreads.c: Ditto.
7435 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7436 Doug Evans <xdje42@gmail.com>
7438 * gdb.guile/scm-value.c: Improve test case.
7439 * gdb.guile/scm-value.exp: Add new test.
7441 2014-04-11 David Blaikie <dblaikie@gmail.com>
7443 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7444 override Clang's default.
7446 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7448 Revert the following changes (regressions):
7450 * gdb.base/vla-sideeffect.c: New file.
7451 * gdb.base/vla-sideeffect.exp: New file.
7453 * gdb.dwarf2/count.exp: New file.
7455 * gdb.base/vla-multi.c: New file.
7456 * gdb.base/vla-multi.exp: New file.
7458 * gdb.base/vla-ptr.c: New file.
7459 * gdb.base/vla-ptr.exp: New file.
7461 * gdb.base/vla-datatypes.c: New file.
7462 * gdb.base/vla-datatypes.exp: New file.
7464 * gdb.mi/mi-vla-c99.exp: New file.
7465 * gdb.mi/vla.c: New file.
7467 2014-04-11 Keith Seitz <keiths@redhat.com>
7470 * gdb.cp/cpsizeof.exp: New file.
7471 * gdb.cp/cpsizeof.cc: New file.
7473 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7475 * gdb.mi/mi-vla-c99.exp: New file.
7476 * gdb.mi/vla.c: New file.
7478 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7480 * gdb.base/vla-datatypes.c: New file.
7481 * gdb.base/vla-datatypes.exp: New file.
7483 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7485 * gdb.base/vla-ptr.c: New file.
7486 * gdb.base/vla-ptr.exp: New file.
7488 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7490 * gdb.base/vla-multi.c: New file.
7491 * gdb.base/vla-multi.exp: New file.
7493 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7495 * gdb.dwarf2/count.exp: New file.
7497 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7499 * gdb.base/vla-sideeffect.c: New file.
7500 * gdb.base/vla-sideeffect.exp: New file.
7502 2014-04-11 Yao Qi <yao@codesourcery.com>
7504 * gdb.base/completion.exp: Check file exists before running tests
7507 2014-04-10 Pedro Alves <palves@redhat.com>
7509 * gdb.base/cond-eval-mode.c: New file.
7510 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7511 prepare_for_testing to build the new file. Check result of
7513 (test_break, test_watch): New procedures.
7514 (top level): Use them.
7516 2014-04-08 Pierre Muller <muller@sourceware.org>
7518 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7519 Ctrl-V use for mingw hosts.
7521 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7523 * gdb.python/py-value.c: Improve test case.
7524 * gdb.python/py-value.exp: Add new test.
7526 2014-04-07 David Blaikie <dblaikie@gmail.com>
7528 * lib/compiler.c: Identify the clang compiler.
7529 * lib/compiler.cc: Ditto.
7531 2014-04-03 Yao Qi <yao@codesourcery.com>
7533 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7535 2014-04-01 Anton Blanchard <anton@samba.org>
7537 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7540 2014-04-01 Anton Blanchard <anton@samba.org>
7542 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7543 prepare_for_testing.
7545 2014-04-01 Anton Blanchard <anton@samba.org>
7547 * gdb.arch/ppc64-atomic-inst.c: Remove.
7548 * gdb.arch/ppc64-atomic-inst.S: New file.
7549 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7551 2014-03-31 Doug Evans <dje@google.com>
7553 * gdb.base/print-symbol-loading-lib.c: New file.
7554 * gdb.base/print-symbol-loading-main.c: New file.
7555 * gdb.base/print-symbol-loading.exp: New file.
7557 2014-03-31 Yao Qi <yao@codesourcery.com>
7559 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7561 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7563 * gdb.ada/mi_dyn_arr: New testcase.
7565 2014-03-27 Doug Evans <dje@google.com>
7567 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7569 2014-03-27 Yao Qi <yao@codesourcery.com>
7571 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7572 if target is nios2-*-*.
7574 2014-03-26 Yao Qi <yao@codesourcery.com>
7576 * lib/gdb.exp (readline_is_used): New proc.
7577 * gdb.base/completion.exp: Move tests on command complete up.
7578 Skip the rest of tests if readline is not used.
7579 * gdb.ada/complete.exp: Skp the test if readline is not
7581 * gdb.base/filesym.exp: Likewise.
7582 * gdb.base/macscp.exp: Likewise.
7583 * gdb.base/readline-ask.exp: Likewise.
7584 * gdb.base/readline.exp: Likewise.
7585 * gdb.python/py-cmd.exp: Likewise.
7586 * gdb.trace/tfile.exp: Likewise.
7588 2014-03-26 Yao Qi <yao@codesourcery.com>
7590 * gdb.base/macscp.exp: Fix code format issues.
7592 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7594 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7595 * gdb.asm/powerpc64le.inc: New file.
7597 2014-03-25 Pedro Alves <palves@redhat.com>
7598 Doug Evans <dje@google.com>
7600 * gdb.base/source-execution.c: New file.
7601 * gdb.base/source-execution.exp: New file.
7602 * gdb.base/source-execution.gdb: New file.
7604 2014-03-24 Doug Evans <dje@google.com>
7606 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7609 2014-03-24 Hui Zhu <hui@codesourcery.com>
7610 Pedro Alves <palves@redhat.com>
7612 PR breakpoints/16101
7613 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7614 test pass/fail messages. Detect missing support for dprintf when
7615 breakpoints are actually inserted.
7616 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7617 breakpoints are actually inserted.
7618 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7621 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7623 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7625 2014-03-22 Doug Evans <xdje42@gmail.com>
7627 * gdb.python/python.exp (python not supported): Verify multi-line
7628 python command issues an error.
7629 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7630 guile command issues an error.
7632 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7634 * gdb.threads/thread-specific.exp: Handle the lack of usable
7635 $this_breakpoint and $this_thread.
7637 2014-03-21 Hui Zhu <hui@codesourcery.com>
7639 * gdb.base/attach.exp (do_command_attach_tests): New.
7641 2014-03-20 Tom Tromey <tromey@redhat.com>
7642 Pedro Alves <palves@redhat.com>
7645 * gdb.base/condbreak-call-false.c: New file.
7646 * gdb.base/condbreak-call-false.exp: New file.
7648 2014-03-20 Pedro Alves <palves@redhat.com>
7650 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7652 (block_signals, unblock_signals): Delete.
7653 (child_function_2, main): Remove references to deleted variable
7656 2014-03-20 Pedro Alves <palves@redhat.com>
7658 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7659 Use pthread_kill to signal thread 2.
7660 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7661 Adjust to make the test send itself a signal rather than using the
7662 host's "kill" command.
7664 2014-03-20 Pedro Alves <palves@redhat.com>
7666 * gdb.threads/multiple-step-overs.c: New file.
7667 * gdb.threads/multiple-step-overs.exp: New file.
7668 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7669 Adjust expected infrun debug output.
7671 2014-03-20 Pedro Alves <palves@redhat.com>
7673 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7674 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7676 2014-03-20 Pedro Alves <palves@redhat.com>
7679 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7680 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7681 of gdb_test_multiple.
7682 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7683 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7685 2014-03-20 Pedro Alves <palves@redhat.com>
7687 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7688 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7690 2014-03-19 Pedro Alves <palves@redhat.com>
7692 * gdb.base/async.exp: Remove early return.
7694 2014-03-19 Pedro Alves <palves@redhat.com>
7696 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7698 2014-03-19 Pedro Alves <palves@redhat.com>
7700 * gdb.base/async.exp (test_background): Expect \r\n after
7701 "completed." in the fail pattern.
7703 2014-03-19 Pedro Alves <palves@redhat.com>
7705 * gdb.base/async.exp (test_background): New procedure.
7706 Use it for all background execution command tests.
7708 2014-03-19 Pedro Alves <palves@redhat.com>
7710 * gdb.base/async.exp: Use prepare_for_testing.
7712 2014-03-19 Pedro Alves <palves@redhat.com>
7714 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7717 2014-03-19 Pedro Alves <palves@redhat.com>
7719 * gdb.base/async.c (main): Add "jump here" and "until here" line
7721 * gdb.base/async.exp (jump_here): New global.
7722 (jump& test): Use it.
7723 (until_here): New global.
7724 (until& test): Use it.
7726 2014-03-19 Pedro Alves <palves@redhat.com>
7728 * gdb.base/async.exp: Don't frob gdb_protocol.
7730 2014-03-18 Doug Evans <xdje42@gmail.com>
7732 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7733 Fix spelling of exec-done-display.
7735 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7738 * gdb.base/gdb-sigterm.c: New file.
7739 * gdb.base/gdb-sigterm.exp: New file.
7741 2014-03-18 Pedro Alves <palves@redhat.com>
7744 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7745 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7748 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7750 * gdb.ada/pckd_arr_ren: New testcase.
7752 2014-03-13 Doug Evans <xdje42@gmail.com>
7755 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7756 collect after discarding symbols.
7758 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7759 Doug Evans <xdje42@gmail.com>
7761 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7762 to history survives a gc.
7764 2014-03-13 Pedro Alves <palves@redhat.com>
7766 * gdb.base/default.exp: Don't test "target procfs".
7768 2014-03-13 Pedro Alves <palves@redhat.com>
7770 * gdb.base/default.exp: Update "target child" and "target procfs"
7771 tests to not expect "Unix".
7773 2014-03-12 Tom Tromey <tromey@redhat.com>
7775 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7776 New procs. Add target-async tests.
7777 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7778 Add target-async tests.
7780 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7782 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7783 'func_start' and 'func_end' for the beginning and end of the
7784 function code, respectively.
7785 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7786 'func_end' instead of 'func' and 'main'.
7788 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7790 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7791 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7792 generate the debug info assembler source.
7794 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7796 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7797 * gdb.dwarf2/arr-subrange.exp: Likewise.
7798 * gdb.dwarf2/dwz.exp: Likewise.
7799 * gdb.dwarf2/method-ptr.exp: Likewise.
7800 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7801 * gdb.dwarf2/subrange.exp: Likewise.
7802 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7803 * gdb.dwarf2/implptrpiece.exp: Likewise.
7804 * gdb.dwarf2/nostaticblock.exp: Likewise.
7806 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7808 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7809 directory to absolute path name arguments.
7811 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7813 * gdb.ada/tagged_access: New testcase.
7815 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7817 * gdb.btrace/data.exp: Update expected output.
7819 2014-03-06 Yao Qi <yao@codesourcery.com>
7821 * gdb.trace/pr16508.exp: New file.
7823 2014-03-05 Pedro Alves <palves@redhat.com>
7826 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7828 (top level): Adjust to use it. Add tests that exercise breakpoint
7829 interaction with the code-cache.
7831 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7833 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7834 test for 'history-append!'.
7836 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7838 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7839 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7840 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7841 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7842 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7843 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7845 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7847 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7848 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7849 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7851 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7853 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7855 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7857 * gdb.dwarf2/arr-stride.c: New file.
7858 * gdb.dwarf2/arr-stride.exp: New file.
7860 2014-02-26 Pedro Alves <palves@redhat.com>
7862 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7863 that won't ever trigger. Make sure that GDB reports the correct
7864 breakpoint that caused the stop.
7866 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7869 * gdb.base/auto-load-script: New file.
7870 * gdb.base/auto-load.c: New file.
7871 * gdb.base/auto-load.exp: New file.
7874 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7876 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7878 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7879 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7881 2014-02-24 Doug Evans <dje@google.com>
7883 * lib/gdb.exp (run_on_host): Log error output if program fails.
7885 2014-02-21 Pedro Alves <palves@redhat.com>
7887 * gdb.threads/step-after-sr-lock.c: Rename to ...
7888 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7889 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7890 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7893 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7896 * gdb.arch/amd64-stap-special-operands.exp: New file.
7897 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7898 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7899 * gdb.arch/amd64-stap-triplet.S: Likewise.
7900 * gdb.arch/amd64-stap-triplet.c: Likewise.
7902 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7904 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7905 in .section pseudo-op.
7907 2014-02-20 lin zuojian <manjian2006@gmail.com>
7908 Joel Brobecker <brobecker@adacore.com>
7909 Doug Evans <xdje42@gmail.com>
7912 * gdb.dwarf2/dw2-icycle.S: New file.
7913 * gdb.dwarf2/dw2-icycle.c: New file.
7914 * gdb.dwarf2/dw2-icycle.exp: New file.
7916 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7918 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7919 operations on gdb.Value objects.
7920 * gdb.python/py-value-cc.exp: Add new test to test operations on
7923 2014-02-18 Doug Evans <dje@google.com>
7925 * Makefile.in (TESTS): New variable.
7926 (expanded_tests, expanded_tests_or_none): New variables
7927 (check-single): Pass $(expanded_tests_or_none) to runtest.
7928 (check-parallel): Only run tests in $(TESTS) if non-empty.
7929 (check/no-matching-tests-found): New rule.
7930 * README: Document TESTS makefile variable.
7932 2014-02-18 Doug Evans <dje@google.com>
7934 * Makefile.in (check-parallel): rm -rf outputs temp.
7936 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7938 Fix "ERROR: no fileid for" in the testsuite.
7939 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7941 2014-02-12 Doug Evans <dje@google.com>
7943 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7944 (MISCELLANEOUS): New variable.
7945 (clean): rm -rf $(MISCELLANEOUS).
7946 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7947 dwp live in the same directory as symlinks, with each symlink pointed
7948 to a differently named file in a different directory.
7950 2014-02-11 Doug Evans <dje@google.com>
7952 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7953 of Tcl file commands.
7955 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7957 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7960 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7962 * gdb.ada/tick_length_array_enum_idx: New testcase.
7964 2014-02-10 Doug Evans <xdje42@gmail.com>
7966 * configure.ac (AC_OUTPUT): Add gdb.guile.
7967 * configure: Regenerate.
7968 * lib/gdb-guile.exp: New file.
7969 * lib/gdb.exp (get_target_charset): New function.
7970 * gdb.base/help.exp: Update expected output from "apropos apropos".
7971 * gdb.guile/Makefile.in: New file.
7972 * gdb.guile/guile.exp: New file.
7973 * gdb.guile/scm-arch.c: New file.
7974 * gdb.guile/scm-arch.exp: New file.
7975 * gdb.guile/scm-block.c: New file.
7976 * gdb.guile/scm-block.exp: New file.
7977 * gdb.guile/scm-breakpoint.c: New file.
7978 * gdb.guile/scm-breakpoint.exp: New file.
7979 * gdb.guile/scm-disasm.c: New file.
7980 * gdb.guile/scm-disasm.exp: New file.
7981 * gdb.guile/scm-equal.c: New file.
7982 * gdb.guile/scm-equal.exp: New file.
7983 * gdb.guile/scm-error.exp: New file.
7984 * gdb.guile/scm-error.scm: New file.
7985 * gdb.guile/scm-frame-args.c: New file.
7986 * gdb.guile/scm-frame-args.exp: New file.
7987 * gdb.guile/scm-frame-args.scm: New file.
7988 * gdb.guile/scm-frame-inline.c: New file.
7989 * gdb.guile/scm-frame-inline.exp: New file.
7990 * gdb.guile/scm-frame.c: New file.
7991 * gdb.guile/scm-frame.exp: New file.
7992 * gdb.guile/scm-generics.exp: New file.
7993 * gdb.guile/scm-gsmob.exp: New file.
7994 * gdb.guile/scm-iterator.c: New file.
7995 * gdb.guile/scm-iterator.exp: New file.
7996 * gdb.guile/scm-math.c: New file.
7997 * gdb.guile/scm-math.exp: New file.
7998 * gdb.guile/scm-objfile-script-gdb.in: New file.
7999 * gdb.guile/scm-objfile-script.c: New file.
8000 * gdb.guile/scm-objfile-script.exp: New file.
8001 * gdb.guile/scm-objfile.c: New file.
8002 * gdb.guile/scm-objfile.exp: New file.
8003 * gdb.guile/scm-ports.exp: New file.
8004 * gdb.guile/scm-pretty-print.c: New file.
8005 * gdb.guile/scm-pretty-print.exp: New file.
8006 * gdb.guile/scm-pretty-print.scm: New file.
8007 * gdb.guile/scm-section-script.c: New file.
8008 * gdb.guile/scm-section-script.exp: New file.
8009 * gdb.guile/scm-section-script.scm: New file.
8010 * gdb.guile/scm-symbol.c: New file.
8011 * gdb.guile/scm-symbol.exp: New file.
8012 * gdb.guile/scm-symtab-2.c: New file.
8013 * gdb.guile/scm-symtab.c: New file.
8014 * gdb.guile/scm-symtab.exp: New file.
8015 * gdb.guile/scm-type.c: New file.
8016 * gdb.guile/scm-type.exp: New file.
8017 * gdb.guile/scm-value-cc.cc: New file.
8018 * gdb.guile/scm-value-cc.exp: New file.
8019 * gdb.guile/scm-value.c: New file.
8020 * gdb.guile/scm-value.exp: New file.
8021 * gdb.guile/source2.scm: New file.
8022 * gdb.guile/types-module.cc: New file.
8023 * gdb.guile/types-module.exp: New file.
8025 2014-02-10 Yao Qi <yao@codesourcery.com>
8028 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8029 * configure: Regenerated.
8030 * Makefile.in: New file.
8032 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8034 * gdb.python/py-framefilter.exp: Fix typo.
8036 2014-02-08 Yao Qi <yao@codesourcery.com>
8038 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8039 that no =breakpoint-modified is emitted when breakpoints are
8040 modified through MI commands.
8042 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8043 Pedro Alves <palves@redhat.com>
8045 * gdb.threads/step-after-sr-lock.c: New file.
8046 * gdb.threads/step-after-sr-lock.exp: New file.
8048 2014-02-07 Pedro Alves <palves@redhat.com>
8050 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8052 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8054 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8055 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8057 2014-02-06 Doug Evans <xdje42@gmail.com>
8059 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8062 * gdb.gdb/python-interrupts.exp: New file.
8064 2014-02-05 Yao Qi <yao@codesourcery.com>
8066 * gdb.trace/report.exp (use_collected_data): Test the output
8067 of "info threads" and "info inferiors".
8069 2014-02-05 Yao Qi <yao@codesourcery.com>
8073 2013-05-24 Yao Qi <yao@codesourcery.com>
8075 * gdb.trace/tfile.exp: Test inferior and thread.
8077 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8079 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8081 * gdb.base/step-bt.c: Call hello via function pointer to make
8082 sure its first instruction is executed on powerpc64le-linux.
8084 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8086 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8088 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8090 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8091 of the test patterns for use on little-endian systems.
8093 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8095 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8096 (decimal_vector): Fix for little-endian.
8098 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8100 * gdb.arch/sparc-sysstep.exp: New file.
8101 * gdb.arch/sparc-sysstep.c: Likewise.
8103 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8105 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8107 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8109 2014-01-23 Tom Tromey <tromey@redhat.com>
8111 * gdb.ada/array_char_idx: New testcase.
8113 2014-01-23 Tom Tromey <tromey@redhat.com>
8116 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8117 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8120 2014-01-23 Tom Tromey <tromey@redhat.com>
8123 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8124 string from an inferior frame.
8125 * gdb.python/py-framefilter-mi.exp: Update.
8127 2014-01-22 Doug Evans <dje@google.com>
8129 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8131 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8133 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8135 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8137 * gdb.trace/entry-values.exp: Remove excess space character from
8138 regex patterns. Handle s390 call instruction.
8140 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8142 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8143 define "*_start" label. Make "name" static.
8144 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8145 ${name} by references to ${name}_start.
8147 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8149 * gdb.base/info-macros.exp: Remove "debug" from the compile
8152 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8154 * gdb.dlang/demangle.exp: New file.
8156 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8158 * gdb.dlang/primitive-types.exp: New file.
8160 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8162 * configure.ac: Create gdb.dlang/Makefile.
8163 * configure: Regenerate.
8164 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8165 * gdb.dlang/Makefile.in: New file.
8166 * lib/d-support.exp: New file.
8167 * lib/gdb.exp (skip_d_tests): New proc.
8169 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8171 * gdb.btrace/delta.exp: Check reverse stepi.
8172 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8173 * gdb.btrace/finish.exp: New.
8174 * gdb.btrace/next.exp: New.
8175 * gdb.btrace/nexti.exp: New.
8176 * gdb.btrace/record_goto.c: Add comments.
8177 * gdb.btrace/step.exp: New.
8178 * gdb.btrace/stepi.exp: New.
8179 * gdb.btrace/multi-thread-step.c: New.
8180 * gdb.btrace/multi-thread-step.exp: New.
8181 * gdb.btrace/rn-dl-bind.c: New.
8182 * gdb.btrace/rn-dl-bind.exp: New.
8183 * gdb.btrace/data.c: New.
8184 * gdb.btrace/data.exp: New.
8185 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8187 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8189 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8190 * gdb.btrace/exception.exp: Update.
8191 * gdb.btrace/instruction_history.exp: Update.
8192 * gdb.btrace/record_goto.exp: Update.
8193 * gdb.btrace/tailcall.exp: Update.
8194 * gdb.btrace/unknown_functions.exp: Update.
8195 * gdb.btrace/delta.exp: New.
8197 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8199 * gdb.btrace/record_goto.exp: Add backtrace test.
8200 * gdb.btrace/tailcall.exp: Add backtrace test.
8202 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8204 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8205 * gdb.btrace/record_goto.c: New.
8206 * gdb.btrace/record_goto.exp: New.
8207 * gdb.btrace/x86-record_goto.S: New.
8209 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8211 * gdb.btrace/function_call_history.exp: Update tests.
8212 * gdb.btrace/instruction_history.exp: Update tests.
8214 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8216 * gdb.btrace/function_call_history.exp: Fix expected field
8217 order for "record function-call-history".
8218 Add new tests for "record function-call-history /c".
8219 * gdb.btrace/exception.cc: New.
8220 * gdb.btrace/exception.exp: New.
8221 * gdb.btrace/tailcall.exp: New.
8222 * gdb.btrace/x86-tailcall.S: New.
8223 * gdb.btrace/x86-tailcall.c: New.
8224 * gdb.btrace/unknown_functions.c: New.
8225 * gdb.btrace/unknown_functions.exp: New.
8226 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8228 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8230 * gdb.btrace/instruction_history.exp: Update.
8231 * gdb.btrace/function_call_history.exp: Update.
8233 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8235 * gdb.btrace/function_call_history.exp: Fix expected function
8237 * gdb.btrace/instruction_history.exp: Initialize traced.
8238 Remove traced_functions.
8240 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8242 * gdb.btrace/function_call_history.exp: Update
8243 * gdb.btrace/instruction_history.exp: Update.
8245 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8247 * gdb.btrace/enable.exp: Update expected text.
8249 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8251 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8254 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8256 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8258 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8260 * lib/gdb.exp (supports_process_record): Return true for
8261 arm*-linux*. (supports_reverse): Likewise.
8263 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8267 * gdb.python/py-type.c: Enhance test case.
8268 * gdb.python/py-value-cc.cc: Likewise
8269 * gdb.python/py-type.exp: Add new tests.
8270 * gdb.python/py-value-cc.exp: Likewise
8272 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8273 Pedro Alves <palves@redhat.com>
8275 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8277 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8278 references to ${name}_start by references to ${name}.
8280 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8282 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8284 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8286 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8288 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8289 Pedro Alves <palves@redhat.com>
8291 * gdb.mi/mi-info-os.exp: Connect to the target with
8294 2014-01-08 Pedro Alves <palves@redhat.com>
8296 * gdb.threads/reconnect-signal.c: New file.
8297 * gdb.threads/reconnect-signal.exp: New file.
8299 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8301 * gdb.base/source-dir.exp: New file.
8303 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8305 * gdb.ada/mi_interface: New testcase.
8307 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8309 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8310 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8311 gdb.ada/pp-rec-component/pck.ads: New files.
8313 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8315 * gdb.python/py-pp-integral.c: New file.
8316 * gdb.python/py-pp-integral.py: New file.
8317 * gdb.python/py-pp-integral.exp: New file.
8319 For older changes see ChangeLog-1993-2013.
8325 ;; version-control: never
8328 Copyright 2014-2016 Free Software Foundation, Inc.
8329 Copying and distribution of this file, with or without modification,
8330 are permitted provided the copyright notice and this notice are preserved.