1 2016-06-02 Tom Tromey <tom@tromey.com>
4 * gdb.python/py-shared.exp: Add solib_name test.
6 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
8 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
10 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
13 * gdb.dwarf2/implref.exp: Rename to...
14 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
15 * gdb.dwarf2/implref-array.c: New file.
16 * gdb.dwarf2/implref-array.exp: Likewise.
17 * gdb.dwarf2/implref-global.c: Likewise.
18 * gdb.dwarf2/implref-global.exp: Likewise.
19 * gdb.dwarf2/implref-struct.c: Likewise.
20 * gdb.dwarf2/implref-struct.exp: Likewise.
22 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
24 * gdb.trace/trace-condition.exp: Add 64bit tests.
26 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
28 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
30 (main): Adapt to 8 to 64 bits types.
31 * gdb.trace/trace-condition.exp: Add new tests.
33 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
35 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
37 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
39 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
40 Move condition tests...
41 * gdb.trace/trace-condition.exp: Here.
43 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
45 * gdb.trace/trace-condition.exp: Add counter-case tests.
47 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
50 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
51 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
53 2016-05-27 Pedro Alves <palves@redhat.com>
55 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
57 (top level): Call it, and bail out of DejaGnu is known to be bad.
59 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
61 * gdb.base/whatis.c: Extend the test case.
62 * gdb.base/whatis.exp: Add additional tests.
64 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
66 * gdb.fortran/type.f90: Add pointer variable.
67 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
69 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
71 * gdb.fortran/vla-type.exp: Fix testcase name.
73 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
75 * gdb.fortran/vla-type.exp: Access elements in nested structs.
77 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
79 * gdb.fortran/type.f90: Add nested structures.
80 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
81 * gdb.fortran/derived-type.exp: Adapt expected output.
82 * gdb.fortran/vla-type.exp: Adapt expected output.
84 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
86 * gdb.fortran/whatis_type.exp: Adapt expected output.
88 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
90 * gdb.fortran/print_type.exp: Fix expected output.
91 * gdb.fortran/whatis_type.exp: Fix expected output.
93 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
95 * gdb.fortran/whatis_type.exp: Use multi_line.
97 2016-05-24 Tom Tromey <tom@tromey.com>
100 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
101 use value as an index.
103 2016-05-23 Tom Tromey <tom@tromey.com>
106 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
109 2016-05-24 Pedro Alves <palves@redhat.com>
112 * gdb.threads/clone-attach-detach.c: New file.
113 * gdb.threads/clone-attach-detach.exp: New file.
115 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
117 * gdb.base/annota-input-while-running.exp: Fix syntax error.
119 2016-05-23 Tom Tromey <tom@tromey.com>
121 PR python/19438, PR python/18393:
122 * gdb.python/py-progspace.exp: Add "dir" test.
123 * gdb.python/py-objfile.exp: Add "dir" test.
125 2016-05-23 Yao Qi <yao.qi@linaro.org>
127 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
128 * gdb.arch/thumb2-it.exp: Likewise.
130 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
132 * gdb.mi/mi-threads-interrupt.c: New file.
133 * gdb.mi/mi-threads-interrupt.exp: New file.
135 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
138 * gdb.mi/mi-async-run.exp: New file.
139 * gdb.mi/mi-async-run.c: New file.
141 2016-05-17 Tom Tromey <tom@tromey.com>
142 Manish Goregaokar <manishsmail@gmail.com>
144 * lib/rust-support.exp: New file.
145 * lib/gdb.exp (skip_rust_tests): New proc.
146 (build_executable_from_specs): Handle rust.
147 * lib/future.exp (gdb_find_rustc): New proc.
148 (gdb_default_target_compile): Handle rust.
149 * gdb.rust/expr.exp: New file.
150 * gdb.rust/generics.exp: New file.
151 * gdb.rust/generics.rs: New file.
152 * gdb.rust/methods.exp: New file.
153 * gdb.rust/methods.rs: New file.
154 * gdb.rust/modules.exp: New file.
155 * gdb.rust/modules.rs: New file.
156 * gdb.rust/simple.exp: New file.
157 * gdb.rust/simple.rs: New file.
159 2016-05-17 Tom Tromey <tom@tromey.com>
161 * gdb.base/default.exp (set language): Add rust.
163 2016-05-17 Tom Tromey <tom@tromey.com>
165 * gdb.gdb/unittest.exp: New file.
167 2016-05-16 Yao Qi <yao.qi@linaro.org>
169 * gdb.base/batch-preserve-term-settings.exp: Remove variable
170 shell_prompt. Update shell_prompt_re.
172 2016-05-12 Doug Evans <dje@google.com>
175 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
176 $options when building executable.
177 * gdb.dwarf2/fission-loclists-pie.S: New file.
178 * gdb.dwarf2/fission-loclists-pie.exp: New file.
180 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
182 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
183 of [is_remote target],
185 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
187 * lib/gdb.exp (use_gdb_stub): New procedure.
189 2016-05-03 Yunlian Jiang <yunlian@google.com>
190 Doug Evans <dje@google.com>
193 * gdb.dwarf2/dwp-sepdebug.c: New file.
194 * gdb.dwarf2/dwp-sepdebug.exp: New file.
196 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
198 * gdb.base/detach.exp: Remove is_remote check.
200 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
202 * gdb.base/annota-input-while-running.exp: Don't check for
203 [is_remote target]. Enable annotations after running to main.
204 Remove unused "set test..." line.
206 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
208 * gdb.trace/trace-enable-disable.exp: New file.
209 * gdb.trace/trace-enable-disable.c: New file.
211 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
213 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
214 use it in info sharedlibrary test.
215 * gdb.trace/ftrace-lock.exp: Likewise.
216 * gdb.trace/ftrace.exp: Likewise.
217 * gdb.trace/range-stepping.exp: Likewise.
218 * gdb.trace/trace-break.exp: Likewise.
219 * gdb.trace/trace-condition.exp: Likewise.
220 * gdb.trace/trace-mt.exp: Likewise.
222 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
224 * lib/gdb.exp (gdb_load_shlibs): Rename to...
225 (gdb_load_shlib): ... this.
226 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
228 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
229 * gdb.base/ctxobj.exp: Likewise.
230 * gdb.base/dprintf-pending.exp: Likewise.
231 * gdb.base/dso2dso.exp: Likewise.
232 * gdb.base/fixsection.exp: Likewise.
233 * gdb.base/gcore-relro.exp: Likewise.
234 * gdb.base/gdb1555.exp: Likewise.
235 * gdb.base/global-var-nested-by-dso.exp: Likewise.
236 * gdb.base/gnu-ifunc.exp: Likewise.
237 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
238 * gdb.base/jit-so.exp (one_jit_test): Likewise.
239 * gdb.base/pending.exp: Likewise.
240 * gdb.base/print-file-var.exp: Likewise.
241 * gdb.base/print-symbol-loading.exp: Likewise.
242 * gdb.base/shlib-call.exp: Likewise.
243 * gdb.base/shreloc.exp: Likewise.
244 * gdb.base/so-impl-ld.exp: Likewise.
245 * gdb.base/solib-disc.exp: Likewise.
246 * gdb.base/solib-nodir.exp: Likewise.
247 * gdb.base/solib-overlap.exp: Likewise.
248 * gdb.base/solib-symbol.exp: Likewise.
249 * gdb.base/solib-weak.exp (do_test): Likewise.
250 * gdb.base/sym-file.exp: Likewise.
251 * gdb.base/symtab-search-order.exp: Likewise.
252 * gdb.base/type-opaque.exp: Likewise.
253 * gdb.base/unload.exp: Likewise.
254 * gdb.base/watchpoint-solib.exp: Likewise.
255 * gdb.compile/compile.exp: Likewise.
256 * gdb.cp/gdb2384.exp: Likewise.
257 * gdb.cp/infcall-dlopen.exp: Likewise.
258 * gdb.cp/re-set-overloaded.exp: Likewise.
259 * gdb.fortran/library-module.exp: Likewise.
260 * gdb.opt/solib-intra-step.exp: Likewise.
261 * gdb.python/py-finish-breakpoint.exp: Likewise.
262 * gdb.python/py-shared.exp: Likewise.
263 * gdb.reverse/solib-precsave.exp: Likewise.
264 * gdb.reverse/solib-reverse.exp: Likewise.
265 * gdb.server/solib-list.exp: Likewise.
266 * gdb.threads/dlopen-libpthread.exp: Likewise.
267 * gdb.threads/tls-shared.exp: Likewise.
268 * gdb.threads/tls-so_extern.exp: Likewise.
269 * gdb.trace/change-loc.exp: Likewise.
270 * gdb.trace/ftrace-lock.exp: Likewise.
271 * gdb.trace/ftrace.exp: Likewise.
272 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
273 * gdb.trace/pending.exp: Likewise.
274 * gdb.trace/range-stepping.exp: Likewise.
275 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
276 (strace_info_marker): Likewise.
277 (strace_probe_marker): Likewise.
278 (strace_trace_on_same_addr): Likewise.
279 (strace_trace_on_diff_addr): Likewise.
280 * gdb.trace/trace-break.exp: Likewise.
281 * gdb.trace/trace-condition.exp: Likewise.
282 * gdb.trace/trace-mt.exp: Likewise.
284 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
286 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
287 result of gdb_remote_download.
288 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
289 * gdb.base/dso2dso.exp: Likewise.
290 * gdb.base/global-var-nested-by-dso.exp: Likewise.
291 * gdb.base/print-file-var.exp: Likewise.
292 * gdb.base/shlib-call.exp: Likewise.
293 * gdb.base/shreloc.exp: Likewise.
294 * gdb.base/solib-overlap.exp: Likewise.
295 * gdb.base/solib-weak.exp (do_test): Likewise.
296 * gdb.base/unload.exp: Likewise.
298 2016-04-27 Yao Qi <yao.qi@linaro.org>
300 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
303 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
305 * vla-type.exp: Print structure from toplevel.
307 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
309 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
311 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
314 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
316 * gdb.fortran/vla-type.f90: New file.
317 * gdb.fortran/vla-type.exp: New file.
319 2016-04-25 Yao Qi <yao.qi@linaro.org>
321 * gdb.base/branch-to-self.c: New file.
322 * gdb.base/branch-to-self.exp: New file.
324 2016-04-22 Yao Qi <yao.qi@linaro.org>
326 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
329 2016-04-22 Yao Qi <yao.qi@linaro.org>
331 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
332 * gdb.base/annota3.exp: Likewise.
334 2016-04-22 Yao Qi <yao.qi@linaro.org>
336 * gdb.reverse/step-precsave.exp: Do one step and test program
337 stops in "callee" and do multiple steps until program goes out
339 * gdb.reverse/step-reverse.exp: Likewise.
341 2016-04-22 Yao Qi <yao.qi@linaro.org>
343 * gdb.trace/signal.exp: Also pass if
344 $tracepoint_hits($i) > $iterations.
346 2016-04-22 Yao Qi <yao.qi@linaro.org>
348 * gdb.trace/signal.c: New file.
349 * gdb.trace/signal.exp: New file.
351 2016-04-19 Doug Evans <xdje42@gmail.com>
353 * gdb.base/bad-file.exp: New file.
355 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
357 * gdb.dwarf2/implref.exp: New file.
359 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
361 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
362 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
363 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
364 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
365 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
366 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
367 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
368 * lib/fortran.exp (fortran_int4): New procedure.
369 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
370 (fortran_logical4): Likewise.
372 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
374 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
376 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
378 * lib/compiler.c: Add Intel specific preprocessor macros.
379 * lib/compiler.cc: Likewise.
381 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
383 * gdb.server/connect-with-no-symbol-file.c: New file.
384 * gdb.server/connect-with-no-symbol-file.exp: New file.
386 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
388 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
390 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
392 * boards/gdbserver-base.exp (${board}_download): Copy source file to
393 standard output directory.
395 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
397 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
399 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
401 * gdb.btrace/instruction_history.c (loop): Add declaration.
403 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
405 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
407 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
409 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
410 parentheses to print.
411 (continue_handler): Likewise.
413 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
415 * gdb.server/solib-list.exp: Remove is_remote check.
416 Pass shlib= to gdb_compile. Don't link shared library with
417 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
418 Run binary filename through "readlink -f" on the target.
420 2016-04-08 Pedro Alves <palves@redhat.com>
422 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
423 interpreter filename as argument to gdbserver_spawn.
424 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
425 Return empty if $last_loaded_file does not exist.
427 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
429 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
430 * gdb.base/jit-main.c: Use exit after usage.
432 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
434 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
435 GDBHISTSIZE prior to the tests.
436 * gdb.base/gdbinit-history.exp: Likewise.
438 2016-04-07 Pedro Alves <palves@redhat.com>
440 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
441 instead of build_executable. Use gdb_load_shlibs.
443 2016-04-07 Yao Qi <yao.qi@linaro.org>
445 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
446 Execute "si" command.
448 2016-04-07 Yao Qi <yao.qi@linaro.org>
450 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
451 number instead of the comments on some line.
453 2016-04-06 Don Breazeal <donb@codesourcery.com>
455 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
456 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
458 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
460 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
461 standard_output_file. Remove unused binfile variable.
463 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
465 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
466 * gdb.python/py-mi-objfile.exp: Match "list main" output
469 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
471 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
474 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
476 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
478 * gdb.trace/ftrace.exp: Likewise.
479 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
481 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
482 (gdb_load_shlibs): Copy libraries to test directory when testing
483 natively. Only set solib-search-path if testing remotely.
484 * lib/mi-support.exp (mi_load_shlibs): Likewise.
486 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
488 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
489 gdb_download. Use it even if the target is not remote.
490 * gdb.base/jit.exp (compile_jit_test): Likewise.
491 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
492 output directory if the destination board is local, otherwise use
493 the standard remote_download from DejaGnu.
494 (gdb_download): Remove.
495 (gdb_load_shlibs): Use gdb_remote_download instead of
497 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
498 Use gdb_remote_download instead of gdb_download. Use it even if
499 the target is not remote.
500 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
501 instead of gdb_download.
503 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
505 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
506 (test_insert_delete_modify): Call mi_load_shlibs before trying to
509 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
512 * gdb.base/printcmds.exp: Add artificial arrays tests.
514 2016-03-31 Pedro Alves <palves@redhat.com>
517 * gdb.base/jit-main.c: Include unistd.h.
518 (ATTACH): Define to 0 if not already defined.
519 (wait_for_gdb, mypid): New globals.
520 (WAIT_FOR_GDB): New macro.
521 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
522 some breakpoint locations.
523 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
525 (one_jit_test): Add REATTACH parameter, and handle it. Use
526 continue_to_test_location.
527 (top level): Test attach, and adjusts calls to one_jit_test.
529 2016-03-31 Pedro Alves <palves@redhat.com>
532 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
533 BINSUFFIX parameter, and handle it.
534 (top level): Adjust calls compile_jit_test.
536 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
539 * gdb.python/py-mi-events-gdb.py: New file.
540 * gdb.python/py-mi-events.c: New file.
541 * gdb.python/py-mi-events.exp: New file.
543 2016-03-30 Yao Qi <yao.qi@linaro.org>
545 * gdb.reverse/until-precsave.exp: Match function name only.
546 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
547 Move malloc to a condition block.
548 * gdb.reverse/until-reverse.exp: Match function name only.
550 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
552 * gdb.trace/ftrace.exp: Set arg0exp for s390.
553 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
554 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
555 variable for GPR 0 instead of assuming it is register 0.
556 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
557 * lib/trace-support.exp: Add s390 registers.
559 2016-03-29 Yao Qi <yao.qi@linaro.org>
561 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
563 2016-03-24 Yao Qi <yao.qi@linaro.org>
565 * gdb.reverse/break-reverse.exp: Add quotation mark in the
568 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
570 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
571 maintaining separate logic for constructing the output path.
573 2016-03-16 Don Breazeal <donb@codesourcery.com>
575 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
576 Retry fork and waitpid on interrupted system call errors.
577 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
578 Use with_timeout_factor to increase timeout by factor of 10.
580 2016-03-15 Don Breazeal <donb@codesourcery.com>
582 * gdb.cp/scope-err.cc: New test program.
583 * gdb.cp/scope-err.exp: New test script.
584 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
585 lines and "set breakpoint here" comment.
586 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
587 Fixed some whitespace and format issues.
588 * gdb.mi/mi-linespec-err-cp.cc: New test program.
589 * gdb.mi/mi-linespec-err-cp.exp: New test script.
591 2016-03-15 Doug Evans <dje@google.com>
593 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
594 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
595 All callers updated. Add tests for enums, mixed flags register.
597 2016-03-15 Doug Evans <dje@google.com>
599 * gdb.base/skip.c (main): Call test_skip_file_and_function.
600 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
602 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
604 * gdb.base/default.exp: Add $_as_string to the list of expected
605 convenience functions.
607 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
609 * gdb.base/maint.exp: New tests for 'maint info line-table'.
611 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
613 * gdb.python/py-as-string.exp: New file.
614 * gdb.python/py-as-string.c: New file.
616 2016-03-09 Pedro Alves <palves@redhat.com>
618 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
619 signal" -> "Thread NN received signal" output change.
620 * gdb.threads/ia64-sigill.exp: Likewise.
621 * gdb.threads/linux-dp.exp: Likewise.
622 * gdb.threads/manythreads.exp: Likewise.
623 * gdb.threads/pending-step.exp: Likewise.
624 * gdb.threads/print-threads.exp: Likewise.
625 * gdb.threads/sigstep-threads.exp: Likewise.
626 * gdb.threads/staticthreads.exp: Likewise.
627 * gdb.threads/tls.exp: Likewise.
629 2016-03-09 Pedro Alves <palves@redhat.com>
631 * gdb.base/command-line-input.exp: New file.
633 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
635 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
636 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
637 * gdb.trace/pending.exp: Accept leading dot before function name.
638 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
639 * lib/trace-support.exp: Set registers for ppc.
641 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
643 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
644 use it for disassembly; accept .main in addition to main in backtrace.
646 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
647 Marcin Kościelnicki <koriakin@0x04.net>
649 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
650 (gdb_recursion_test_ptr): New global variable.
651 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
655 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
657 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
660 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
662 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
663 (bar): Add bar_start_lbl label.
664 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
665 of foo/bar for emitting DWARF and tracing.
667 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
669 * analyze-racy-logs.py: Set executable bit.
671 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
673 * Makefile.in (DEFAULT_RACY_ITER): New variable.
674 (CHECK_TARGET_TMP): Likewise.
675 (check-single-racy): New rule.
676 (check-parallel-racy): Likewise.
677 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
678 (do-check-parallel-racy): New rule.
679 (check-racy/%.exp): Likewise.
680 * README (Racy testcases): New section.
681 * analyze-racy-logs.py: New file.
683 2016-03-03 Doug Evans <dje@google.com>
685 * gdb.base/skip.exp: Use with_test_prefix.
687 2016-03-03 Yao Qi <yao.qi@linaro.org>
689 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
690 Invoke step_over_syscall "clone" and break_cond_on_syscall
692 * gdb.base/step-over-clone.c: New file.
694 2016-03-03 Yao Qi <yao.qi@linaro.org>
696 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
699 2016-03-03 Yao Qi <yao.qi@linaro.org>
701 * gdb.base/disp-step-fork.c: Rename to ...
702 * gdb.base/step-over-fork.c: ... it. New file.
703 * gdb.base/disp-step-vfork.c: Rename to ...
704 * gdb.base/step-over-vfork.c: ... it. New file.
705 * gdb.base/disp-step-syscall.exp: Rename to ...
706 * gdb.base/step-over-syscall.exp: ... it. New file.
707 (disp_step_cross_syscall): Rename to ...
708 (step_over_syscall): ... it.
710 2016-03-03 Yao Qi <yao.qi@linaro.org>
712 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
713 If target supports condition evaluation on target, invoke
714 break_cond_on_syscall for fork and vfork.
716 2016-03-03 Yao Qi <yao.qi@linaro.org>
718 * gdb.base/disp-step-syscall.exp: Don't invoke
719 support_displaced_stepping.
720 (disp_step_cross_syscall): Test with displaced stepping off and
723 2016-03-03 Yao Qi <yao.qi@linaro.org>
725 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
728 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
731 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
733 * gdb.fortran/vla-history.exp: Remove breakpoint.
735 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
737 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
739 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
741 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
743 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
745 * gdb.mi/vla.f90: Nullify pointer after declaration.
747 2016-03-01 Pedro Alves <palves@redhat.com>
749 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
751 2016-03-01 Pedro Alves <palves@redhat.com>
753 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
754 before anything else.
755 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
757 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
758 before anything else.
759 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
761 2016-03-01 Pedro Alves <palves@redhat.com>
763 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
765 2016-03-01 Yao Qi <yao.qi@linaro.org>
767 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
770 2016-03-01 Yao Qi <yao.qi@linaro.org>
772 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
774 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
776 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
777 manually constructing the output path.
779 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
781 * gdb.arch/s390-stackless.S: New.
782 * gdb.arch/s390-stackless.exp: New.
784 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
786 * gdb.dlang/circular.c: New file.
787 * gdb.dlang/circular.exp: New file.
789 2016-02-26 Yao Qi <yao.qi@linaro.org>
791 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
792 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
795 2016-02-26 Yao Qi <yao.qi@linaro.org>
797 * gdb.reverse/aarch64.c: Rename to ...
798 * gdb.reverse/insn-reverse.c: ... it.
799 * gdb.reverse/aarch64.exp: Rename to ...
800 * gdb.reverse/insn-reverse.exp: ... it.
802 2016-02-26 Yao Qi <yao.qi@linaro.org>
804 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
805 (testcase_ftype): New.
806 (testcases): New array.
808 (main): Call each element in testcases.
809 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
810 (read_testcase): New.
811 Do the tests in a loop.
813 2016-02-25 Yao Qi <yao.qi@linaro.org>
815 * gdb.base/branches.c: Remove.
817 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
820 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
822 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
824 * gdb.trace/ftrace.exp: Remove unnecessary target check.
826 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
828 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
829 change x86_64 call_insn to 'callq'.
831 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
833 * gdb.trace/tfile-avx.c: Move to...
834 * gdb.trace/tracefile-pseudo-reg.c: Here.
835 * gdb.trace/tfile-avx.exp: Move to...
836 * gdb.trace/tracefile-pseudo-reg.exp: Here.
838 2016-02-24 Gary Benson <gbenson@redhat.com>
840 * gdb.base/attach-pie-noexec.exp: Do not expect an error
843 2016-02-23 Doug Evans <dje@google.com>
845 * gdb.base/skip.c (test_skip): New function.
846 (end_test_skip_file_and_function): New function.
847 (test_skip_file_and_function): New function.
848 * gdb.base/skip1.c (test_skip): New function.
849 (skip1_test_skip_file_and_function): New function.
850 * gdb.base/skip.exp: Add tests for new skip options.
851 * gdb.base/skip-solib.exp: Update expected output.
852 * gdb.perf/skip-command.cc: New file.
853 * gdb.perf/skip-command.exp: New file.
854 * gdb.perf/skip-command.py: New file.
856 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
858 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
859 info registers pattern.
861 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
863 * lib/future.exp: Add D support.
864 (gdb_find_gdc): New proc.
865 (gdb_default_target_compile): Add D support.
867 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
869 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
871 (trace_speed_test): Determine the iteration count for a time
872 between 15..30 seconds.
874 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
876 * gdb.arch/i386-mpx-sigsegv.c: New file.
877 * gdb.arch/i386-mpx-sigsegv.exp: New file.
878 * gdb.arch/i386-mpx-simple_segv.c: New file.
879 * gdb.arch/i386-mpx-simple_segv.exp: New file.
881 2016-02-18 Yao Qi <yao.qi@linaro.org>
883 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
884 Don't call setup_kfail.
886 2016-02-18 Yao Qi <yao.qi@linaro.org>
888 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
889 Set "set breakpoint condition-evaluation" per $cond_bp_target.
891 2016-02-16 Doug Evans <dje@google.com>
893 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
894 * gdb.base/skip1.c: Ditto.
895 * gdb.base/skip.exp: Whitespace cleanup.
897 2016-02-16 Don Breazeal <donb@codesourcery.com>
900 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
901 Remove kfail for PR remote/19496.
903 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
905 * lib/gdb.exp (standard_temp_file): Return a path specific to
906 the runtest invocation.
908 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
910 * gdb.trace/save-trace.exp: Change relative path to be in the
911 standard output directory.
913 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
915 * gdb.arch/i386-prologue.c: Add missing prototypes.
917 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
919 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
920 * gdb.arch/i386-prologue.exp: Likewise.
921 * gdb.arch/i386-size.exp: Likewise.
923 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
925 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
926 define object file path.
927 * gdb.btrace/gcore.exp: Use standard_output_file to define core
929 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
930 standard_output_file to define binfile.
932 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
934 Fix compatibility with recent gfortran-5.3.1.
935 * gdb.fortran/vla-history.exp (print vla1 allocated)
936 (print vla2 allocated, print $2, print $3): Remove
937 (print $4): Rename to ...
938 (print $2): ... here.
939 (print $9): Rename to ...
940 (print $5): ... here.
941 (print $10): Rename to ...
942 (print $6): ... here.
943 * gdb.fortran/vla.f90: Add pvla initialization.
945 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
947 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
949 * gdb.fortran/vla-value-sub.exp: Likewise.
951 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
953 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
955 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
957 * i386-biarch-core.exp: Define corefile using
958 standard_output_file.
960 2016-02-12 Yao Qi <yao.qi@linaro.org>
962 * gdb.arch/arm-single-step-kernel-helper.c: New.
963 * gdb.arch/arm-single-step-kernel-helper.exp: New.
965 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
967 * gdb.btrace/tailcall-only.exp: New.
968 * gdb.btrace/tailcall-only.c: New.
969 * gdb.btrace/x86_64-tailcall-only.S: New.
970 * gdb.btrace/i686-tailcall-only.S: New.
972 2016-02-11 Pedro Alves <palves@redhat.com>
974 * README (Parallel testing): Add missing double quotes.
976 2016-02-11 Pedro Alves <palves@redhat.com>
978 * README (Parallel testing): New section.
979 (GDB_PARALLEL): Rewrite.
980 (FORCE_PARALLEL): Document.
982 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
984 * gdb.trace/tfile-avx.c: New test.
985 * gdb.trace/tfile-avx.exp: New test.
987 2016-02-09 Keith Seitz <keiths@redhat.com>
990 * gdb.base/infcall-exec.c: New file.
991 * gdb.base/infcall-exec2.c: New file.
992 * gdb.base/infcall-exec.exp: New file.
994 2016-02-09 Keith Seitz <keiths@redhat.com>
996 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
997 (toplevel): Call test_bkpt_address.
999 2016-02-09 Keith Seitz <keiths@redhat.com>
1002 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1003 (toplevel): Call test_bkpt_address.
1005 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1007 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1009 * configure: Regenerate.
1011 2016-02-09 Pedro Alves <palves@redhat.com>
1013 PR breakpoints/19548
1014 * gdb.base/execl-update-breakpoints.c (some_function): New
1017 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1018 Tighten expected GDB output.
1020 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1022 * Makefile.in (ALL_SUBDIRS): Remove.
1023 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1024 (distclean maintainer-clean realclean): Likewise.
1025 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1026 * configure: Regenerate.
1027 * gdb.ada/Makefile.in: Delete.
1028 * gdb.arch/Makefile.in: Likewise.
1029 * gdb.asm/Makefile.in: Likewise.
1030 * gdb.base/Makefile.in: Likewise.
1031 * gdb.btrace/Makefile.in: Likewise.
1032 * gdb.cell/Makefile.in: Likewise.
1033 * gdb.compile/Makefile.in: Likewise.
1034 * gdb.cp/Makefile.in: Likewise.
1035 * gdb.disasm/Makefile.in: Likewise.
1036 * gdb.dlang/Makefile.in: Likewise.
1037 * gdb.dwarf2/Makefile.in: Likewise.
1038 * gdb.fortran/Makefile.in: Likewise.
1039 * gdb.gdb/Makefile.in: Likewise.
1040 * gdb.go/Makefile.in: Likewise.
1041 * gdb.guile/Makefile.in: Likewise.
1042 * gdb.java/Makefile.in: Likewise.
1043 * gdb.linespec/Makefile.in: Likewise.
1044 * gdb.mi/Makefile.in: Likewise.
1045 * gdb.modula2/Makefile.in: Likewise.
1046 * gdb.multi/Makefile.in: Likewise.
1047 * gdb.objc/Makefile.in: Likewise.
1048 * gdb.opencl/Makefile.in: Likewise.
1049 * gdb.opt/Makefile.in: Likewise.
1050 * gdb.pascal/Makefile.in: Likewise.
1051 * gdb.perf/Makefile.in: Likewise.
1052 * gdb.python/Makefile.in: Likewise.
1053 * gdb.reverse/Makefile.in: Likewise.
1054 * gdb.server/Makefile.in: Likewise.
1055 * gdb.stabs/Makefile.in: Likewise.
1056 * gdb.threads/Makefile.in: Likewise.
1057 * gdb.trace/Makefile.in: Likewise.
1058 * gdb.xml/Makefile.in: Likewise.
1059 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1061 (standard_output_file): Remove check for GDB_PARALLEL, always
1062 return path in outputs/$subdir/$testname.
1064 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1066 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1067 (site.exp): Assign abs_srcdir to tcl's srcdir.
1069 2016-02-04 Yao Qi <yao.qi@linaro.org>
1071 * gdb.base/foll-exec-mode.c: Include limits.h.
1072 (main): Add parameters argc and argv. Get directory from
1074 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1076 * gdb.base/foll-exec.c: Include limits.h.
1077 (main): Add parameters argc and argv.
1078 Get directory from argv[0].
1079 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1080 Adjust tests on the number of lines as source code changed.
1081 * gdb.base/foll-vfork-exit.c: Include limits.h.
1082 (main): Add one line of statement before vfork.
1083 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1084 (main): Add parameters argc and argv. Get directory from
1086 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1087 (setup_gdb): Set tbreak to skip some source lines.
1088 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1089 (main): Add parameters argc and argv. Get directory from
1091 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1093 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1094 (main): Add parameters argc and argv. Get directory from
1096 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1099 2016-02-01 Doug Evans <dje@google.com>
1101 * gdb.base/skip.exp: Clean up multiple references to same test name.
1103 2016-02-01 Pedro Alves <palves@redhat.com>
1106 * gdb.threads/forking-threads-plus-breakpoint.exp
1107 (displaced_stepping_supported): New global.
1108 (probe_displaced_stepping_support): New procedure.
1109 (do_test): Add 'displaced' parameter, and use it.
1110 (top level): Check for displaced stepping support. Add displaced
1111 stepping on/off testing axis.
1113 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1115 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1116 pointer. Don't perform further tests on the unassociated pointer
1117 if the first test fails.
1119 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1121 * gdb.base/max-value-size.c: New file.
1122 * gdb.base/max-value-size.exp: New file.
1123 * gdb.base/huge.exp: Disable max-value-size for this test.
1125 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1127 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1129 2016-01-28 Yao Qi <yao.qi@linaro.org>
1131 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1133 2016-01-25 Pedro Alves <palves@redhat.com>
1136 * gdb.base/fork-running-state.c: New file.
1137 * gdb.base/fork-running-state.exp: New file.
1139 2016-01-25 Pedro Alves <palves@redhat.com>
1142 * gdb.base/catch-fork-kill.c: New file.
1143 * gdb.base/catch-fork-kill.exp: New file.
1145 2016-01-25 Pedro Alves <palves@redhat.com>
1147 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1148 Delete, moved to lib/gdb.exp.
1149 * gdb.threads/forking-threads-plus-breakpoint.exp
1150 (foreach_with_prefix): Likewise.
1151 * gdb.threads/process-dies-while-handling-bp.exp
1152 (foreach_with_prefix): Likewise.
1153 * lib/gdb.exp (foreach_with_prefix): New procedure.
1155 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1157 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1158 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1160 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1162 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1165 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1166 Pedro Alves <palves@redhat.com>
1168 Fix testsuite compatibility with Guile.
1169 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1172 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1174 Fix testsuite compatibility with Guile.
1175 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1176 (thread 1): New test for backtrace through signal handler.
1178 2016-01-22 Yao Qi <yao.qi@linaro.org>
1181 * gdb.base/multi-forks.c: Include
1182 ../lib/unbuffer_output.c
1183 (main): Call gdb_unbuffer_output.
1185 2016-01-21 Doug Evans <dje@google.com>
1187 * lib/ada.exp (gdb_compile_ada): Fix typo.
1189 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1191 * gdb.base/break-fun-addr.exp: New file.
1192 * gdb.base/break-fun-addr1.c: New file.
1193 * gdb.base/break-fun-addr2.c: New file.
1195 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1197 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1198 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1201 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1203 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1204 when GDB can not set the vector return value. Add more comments
1207 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1209 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1212 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1214 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1216 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1218 * Makefile.in (check-single): Pass --status to runtest.
1219 (check/%.exp): Likewise.
1221 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1223 * Makefile.in (check-parallel): Propagate return code from make
1226 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1228 * gdb.trace/ftrace.exp: Fix expected message on continue.
1229 * gdb.trace/pending.exp: Fix expected message on continue.
1230 * gdb.trace/trace-break.exp: Fix expected message on continue.
1232 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1234 * lib/gdb.exp (gdb_test): Remove unused global references.
1236 2016-01-18 Pedro Alves <palves@redhat.com>
1238 * gdb.base/async-shell.exp: Adjust expected output.
1239 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1240 * gdb.base/siginfo-thread.exp: Adjust expected output.
1241 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1242 * gdb.java/jnpe.exp: Adjust expected output.
1243 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1244 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1245 * gdb.threads/leader-exit.exp: Adjust expected output.
1246 * gdb.threads/manythreads.exp: Adjust expected output.
1247 * gdb.threads/pthreads.exp: Adjust expected output.
1248 * gdb.threads/schedlock.exp: Adjust expected output.
1249 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1250 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1252 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1254 * gdb.threads/sigthread.exp: Adjust expected output.
1255 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1257 2016-01-18 Yao Qi <yao.qi@linaro.org>
1259 * gdb.guile/scm-section-script.c: Replace @progbits with
1261 * gdb.python/py-section-script.c: Likewise.
1263 2016-01-15 Pedro Alves <palves@redhat.com>
1265 * gdb.multi/tids.exp: Test star wildcard ranges.
1267 2016-01-15 Pedro Alves <palves@redhat.com>
1269 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1270 command from "thread apply" invocation.
1271 (thr_apply_info_thr_invalid): Default the expected output to the
1273 (top level): Add tests that use convenience variables. Add tests
1274 for "thread apply" with a valid TID list, but missing the command.
1276 2016-01-13 Pedro Alves <palves@redhat.com>
1278 * gdb.base/default.exp: Expect $_gthread as well.
1279 * gdb.multi/tids.exp: Test $_gthread.
1280 * gdb.threads/thread-specific.exp: Test $_gthread.
1282 2016-01-13 Pedro Alves <palves@redhat.com>
1284 * gdb.multi/tids.exp: Test "info threads -gid".
1286 2016-01-13 Pedro Alves <palves@redhat.com>
1288 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1290 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1292 2016-01-07 Pedro Alves <palves@redhat.com>
1294 * gdb.base/break.exp: Adjust to output changes.
1295 * gdb.base/hbreak2.exp: Likewise.
1296 * gdb.base/sepdebug.exp: Likewise.
1297 * gdb.base/watch_thread_num.exp: Likewise.
1298 * gdb.linespec/keywords.exp: Likewise.
1299 * gdb.multi/info-threads.exp: Likewise.
1300 * gdb.threads/thread-find.exp: Likewise.
1301 * gdb.multi/tids.c: New file.
1302 * gdb.multi/tids.exp: New file.
1304 2016-01-13 Pedro Alves <palves@redhat.com>
1306 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1308 2016-01-13 Pedro Alves <palves@redhat.com>
1310 * gdb.base/default.exp: Expect $_inferior as well.
1311 * gdb.multi/base.exp: Test $_inferior.
1313 2016-01-13 Pedro Alves <palves@redhat.com>
1315 PR breakpoints/19388
1316 * gdb.base/catch-signal-siginfo-cond.c: New file.
1317 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1319 2016-01-12 Josh Stone <jistone@redhat.com>
1320 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1322 * gdb.base/catch-syscall.c (do_execve): New variable.
1323 (main): Conditionally trigger an execve.
1324 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1325 (test_catch_syscall_execve): New, check entry/return across execve.
1326 (do_syscall_tests): Call test_catch_syscall_execve.
1328 2016-01-12 Pedro Alves <palves@redhat.com>
1330 * gdb.base/random-signal.exp (do_test): New procedure, with body
1331 of testcase moved in.
1333 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1334 Pedro Alves <palves@redhat.com>
1336 * gdb.base/funcargs.exp (finish from indirectly called function):
1337 Reintroduce the case for 'First'.
1339 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1340 Pedro Alves <palves@redhat.com>
1342 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1343 (tcatch_vfork_then_child_follow_exec)
1344 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1347 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1349 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1350 and repeats to unlimited.
1351 * gdb.python/py-value.exp: Likewise.
1352 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1353 and repeats to unlimited.
1355 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1357 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1358 and reordering the functions.
1359 * gdb.multi/hangout.c: Likewise.
1360 * gdb.multi/hello.c: Likewise.
1362 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1364 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1366 (SingleStatisticTestResult.report): Use dict.keys instead of
1369 2016-01-06 Pedro Alves <palves@redhat.com>
1371 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1373 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1375 * gdb.btrace/dlopen.exp: New.
1376 * gdb.btrace/dlopen.c: New.
1377 * gdb.btrace/dlopen-dso.c: New.
1379 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1381 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1382 PATTERN argument is optional.
1384 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1386 * lib/ada.exp (target_compile_ada_from_dir): New function.
1387 (gdb_compile_ada): Reimplement avoiding the use of project files.
1388 * gdb.ada/gnat_ada.gpr: Delete.
1389 * gdb.ada/cond_lang.exp: Adjust test to make path before
1391 * gdb.ada/small_reg_param.exp: Likewise.
1393 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1395 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1397 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1399 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1402 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1404 * gdb.base/break.exp: Remove dead code.
1405 * gdb.base/sepdebug.exp: Likewise.
1407 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1409 * gdb.asm/asm-source.exp: Remove HP-UX references.
1410 * gdb.base/annota1.exp: Likewise.
1411 * gdb.base/annota3.exp: Likewise.
1412 * gdb.base/attach.exp: Likewise.
1413 * gdb.base/bigcore.exp: Likewise.
1414 * gdb.base/break.exp: Likewise.
1415 * gdb.base/call-ar-st.exp: Likewise.
1416 * gdb.base/callfuncs.exp: Likewise.
1417 * gdb.base/catch-fork-static.exp: Likewise.
1418 * gdb.base/display.exp: Likewise.
1419 * gdb.base/foll-exec-mode.exp: Likewise.
1420 * gdb.base/foll-exec.exp: Likewise.
1421 * gdb.base/foll-fork.exp: Likewise.
1422 * gdb.base/foll-vfork.exp: Likewise.
1423 * gdb.base/funcargs.exp: Likewise.
1424 * gdb.base/hbreak2.exp: Likewise.
1425 * gdb.base/inferior-died.exp: Likewise.
1426 * gdb.base/interrupt.exp: Likewise.
1427 * gdb.base/multi-forks.exp: Likewise.
1428 * gdb.base/nodebug.exp: Likewise.
1429 * gdb.base/sepdebug.exp: Likewise.
1430 * gdb.base/solib1.c: Likewise.
1431 * gdb.base/step-test.exp: Likewise.
1432 * gdb.mi/non-stop.c: Likewise.
1433 * gdb.mi/pthreads.c: Likewise.
1434 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1435 * gdb.threads/pthreads.c: Likewise.
1436 * gdb.threads/staticthreads.exp: Likewise.
1437 * lib/future.exp: Likewise.
1438 * lib/gdb.exp: Likewise.
1439 * gdb.base/so-indr-cl.c: Remove.
1440 * gdb.base/so-indr-cl.exp: Likewise.
1441 * gdb.base/solib.c: Likewise.
1442 * gdb.base/solib.exp: Likewise.
1443 * gdb.base/solib2.c: Likewise.
1445 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1447 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1448 * gdb.base/call-ar-st.exp: Likewise.
1449 * gdb.base/callfuncs.exp: Likewise.
1450 * gdb.base/condbreak.exp: Likewise.
1451 * gdb.base/constvars.exp: Likewise.
1452 * gdb.base/hbreak2.exp: Likewise.
1453 * gdb.base/langs.exp: Likewise.
1454 * gdb.base/list.exp: Likewise.
1455 * gdb.base/long_long.exp: Likewise.
1456 * gdb.base/ptype.exp: Likewise.
1457 * gdb.base/scope.exp: Likewise.
1458 * gdb.base/signals.exp: Likewise.
1459 * gdb.base/so-impl-ld.exp: Likewise.
1460 * gdb.base/varargs.exp: Likewise.
1461 * gdb.base/volatile.exp: Likewise.
1462 * gdb.base/whatis.exp: Likewise.
1463 * gdb.cp/cplusfuncs.exp: Likewise.
1464 * gdb.cp/inherit.exp: Likewise.
1465 * gdb.cp/local.exp: Likewise.
1466 * gdb.cp/member-ptr.exp: Likewise.
1467 * gdb.cp/method.exp: Likewise.
1468 * gdb.cp/overload.exp: Likewise.
1469 * gdb.cp/templates.exp: Likewise.
1470 * gdb.stabs/weird.exp: Likewise.
1471 * lib/compiler.c: Likewise.
1472 * lib/compiler.cc: Likewise.
1473 * lib/cp-support.exp: Likewise.
1474 * lib/gdb.exp: Likewise.
1476 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1478 * configure.ac: Remove HP-UX case.
1479 * configure: Regenerate.
1481 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1483 * lib/gdb.exp (gdb_compile): Add function doc.
1485 2015-12-17 Pedro Alves <palves@redhat.com>
1488 * gdb.multi/info-threads.exp: New file.
1490 2015-12-15 Yao Qi <yao.qi@linaro.org>
1492 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1495 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1497 * gdb.base/history-duplicates.exp: Skip if no readline support.
1499 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1501 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1503 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1505 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1507 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1509 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1510 ctrl-C if nointerrupts target property is set.
1511 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1512 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1513 * gdb.base/paginate-bg-execution.exp: Likewise.
1514 * gdb.base/paginate-execution-startup.exp: Likewise.
1515 * gdb.base/random-signal.exp: Likewise.
1516 * gdb.base/range-stepping.exp: Likewise.
1517 * gdb.cp/annota2.exp: Likewise.
1518 * gdb.cp/annota3.exp: Likewise.
1519 * gdb.gdb/selftest.exp: Likewise.
1520 * gdb.threads/continue-pending-status.exp: Likewise.
1521 * gdb.threads/leader-exit.exp: Likewise.
1522 * gdb.threads/manythreads.exp: Likewise.
1523 * gdb.threads/pthreads.exp: Likewise.
1524 * gdb.threads/schedlock.exp: Likewise.
1525 * gdb.threads/sigthread.exp: Likewise.
1527 2015-12-11 Don Breazeal <donb@codesourcery.com>
1529 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1531 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1532 * gdb.base/foll-exec.exp (main): Enable for target remote.
1533 * gdb.base/foll-fork.exp (main): Likewise.
1534 * gdb.base/foll-vfork.exp (main): Likewise.
1535 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1536 (proc continue_to_exit_bp_loc): Use clean_restart.
1537 * gdb.base/pie-execl.exp (main): Disable for target remote.
1538 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1539 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1540 * gdb.threads/execl.exp (main): Likewise.
1541 * gdb.threads/fork-child-threads.exp (main): Likewise.
1542 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1544 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1546 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1547 pid.tid style ptids, instead of just tid.
1548 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1549 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1550 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1551 ptids, instead of just tid.
1553 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1555 * gdb.base/list.exp (test_list_forward): Add end of file error
1557 (test_repeat_list_command): Add end of file error test.
1558 (test_list_backwards): Add beginning of file error test.
1560 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1562 * gdb.base/list.exp (test_list_invalid_args): New function,
1563 defined, and called.
1565 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1567 * gdb.base/list.exp (test_list): Make test names unique.
1569 2015-12-11 Yao Qi <yao.qi@linaro.org>
1571 * gdb.base/coremaker2.c: Remove.
1573 2015-12-10 Pedro Alves <palves@redhat.com>
1575 * gdb.multi/base.exp: Remove stale "spaces" references.
1577 2015-12-10 Pedro Alves <palves@redhat.com>
1579 * gdb.multi/base.exp: Don't use nowarnings.
1580 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1581 * gdb.multi/hangout.c: Include stdio.h.
1582 * gdb.multi/hello.c: Include stdlib.h.
1583 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1584 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1585 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1587 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1589 * gdb.dwarf2/dw2-ranges-base.c: New file.
1590 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1591 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1592 support additional line table, and debug ranges generation.
1593 (Dwarf::ranges): New function, generate .debug_ranges.
1594 (Dwarf::lines): Support generating simple line table programs.
1595 (Dwarf::assemble): Initialise new namespace variables.
1597 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1599 * gdb.base/async.exp (proc test_background): Add case for
1600 asynchronous execution not supported.
1602 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1604 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1605 format and change test names to make them unique.
1607 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1608 Pedro Alves <pedro@redhat.com>
1611 Add checking of floatformats setup on x86_64 hosts.
1612 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1613 (smallval, bigval): New labels/constants.
1614 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1615 float" after loading bigval and smallval.
1617 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1619 * gdb.ada/fun_overload_menu.exp: New testcase.
1620 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1622 2015-12-04 Josh Stone <jistone@redhat.com>
1624 * gdb.base/catch-fork-static.exp: New.
1626 2015-12-03 Yao Qi <yao.qi@linaro.org>
1628 * gdb.base/sizeof.c: Don't include stdio.h and
1629 ../lib/unbuffer_output.c.
1630 (main): New variable 'size' and 'value'. Remove printf and
1631 gdb_unbuffer_output. Assign return value to size and value.
1632 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1634 (check_sizeof): Check the result by printing variable 'size'.
1635 (check_valueof): Check the result by printing variable 'value'.
1637 2015-12-01 Yao Qi <yao.qi@linaro.org>
1639 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1640 for aarch64*-*-linux* target.
1642 2015-11-30 Pedro Alves <palves@redhat.com>
1644 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1646 2015-11-30 Pedro Alves <palves@redhat.com>
1648 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1649 Handle non-stop mode vCont replies.
1651 2015-11-30 Pedro Alves <palves@redhat.com>
1653 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1654 prepare_for_testing. Start gdb with "set non-stop on" appended to
1655 GDBFLAGS. Lax expected stop output.
1657 2015-11-27 Yao Qi <yao.qi@linaro.org>
1659 * gdb.arch/arm-neon.exp: New.
1660 * gdb.arch/arm-neon.c: New.
1662 2015-11-27 Yao Qi <yao.qi@linaro.org>
1664 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1666 2015-11-27 Yao Qi <yao.qi@linaro.org>
1668 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1669 frames-invalid annotation.
1671 2015-11-27 Yao Qi <yao.qi@linaro.org>
1673 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1675 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1677 * gdb.threads/names.exp: New file.
1678 * gdb.threads/names.c: New file.
1679 * README: Mention gdb,no_thread_names.
1681 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1684 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1687 2015-11-24 Pedro Alves <palves@redhat.com>
1690 * gdb.base/display.exp: Expect displays to be sorted in ascending
1691 order. Use multi_line.
1692 * gdb.base/solib-display.exp: Likewise.
1694 2015-11-24 Pedro Alves <palves@redhat.com>
1697 * gdb.base/display.exp: Expect displays to be sorted in ascending
1698 order. Use multi_line.
1699 * gdb.base/solib-display.exp: Likewise.
1701 2015-11-24 Pedro Alves <palves@redhat.com>
1704 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1705 threads in ascending order.
1706 * gdb.base/foll-fork.exp: Likewise.
1707 * gdb.base/foll-vfork.exp: Likewise.
1708 * gdb.base/multi-forks.exp: Likewise.
1709 * gdb.mi/mi-nonstop.exp: Likewise.
1710 * gdb.mi/mi-nsintrall.exp: Likewise.
1711 * gdb.multi/base.exp: Likewise.
1712 * gdb.multi/multi-arch.exp: Likewise.
1713 * gdb.python/py-inferior.exp: Likewise.
1714 * gdb.threads/break-while-running.exp: Likewise.
1715 * gdb.threads/execl.exp: Likewise.
1716 * gdb.threads/gcore-thread.exp: Likewise.
1717 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1718 * gdb.threads/kill.exp: Likewise.
1719 * gdb.threads/linux-dp.exp: Likewise.
1720 * gdb.threads/multiple-step-overs.exp: Likewise.
1721 * gdb.threads/next-bp-other-thread.exp: Likewise.
1722 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1723 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1724 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1725 * gdb.threads/thread-find.exp: Likewise.
1726 * gdb.threads/tls.exp: Likewise.
1727 * lib/mi-support.exp (mi_reverse_list): Delete.
1728 (mi_check_thread_states): No longer reverse list.
1730 2015-11-24 Pedro Alves <palves@redhat.com>
1732 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1735 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1737 * gdb.trace/actions.c: Include trace-common.h.
1738 (main): Add a location for a fast tracepoint.
1739 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1740 the normal tracepoints.
1741 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1743 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1745 * save-trace.exp: Factor out code to these...
1746 (gdb_save_tracepoints): New.
1747 (gdb_load_tracepoints): New.
1748 (do_save_load_test): New.
1750 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1752 * gdb.base/asmlabel.exp: New test.
1753 * gdb.base/asmlabel.c: New test case.
1755 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1757 * gdb.base/wrong_frame_bt_full-main.c: New file.
1758 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1759 * gdb.base/wrong_frame_bt_full.exp: New file.
1761 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1763 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1765 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1767 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1768 pstate register when comparing registers values in
1769 sparc64-*-linux-gnu targets to avoid spurious differences.
1771 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1773 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1775 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1777 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1778 as type argument to gdb_compile.
1779 * gdb.base/nested-subp2.exp: Likewise.
1780 * gdb.base/nested-subp3.exp: Likewise.
1782 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1784 * lib/dwarf.exp (_note): Fix left shift of negative value.
1785 * gdb.trace/trace-condition.exp: Likewise.
1787 2015-11-13 Yao Qi <yao.qi@linaro.org>
1789 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1790 comments about d10v.
1791 (test_scalar_returns): Likewise.
1792 * gdb.base/d10v.ld: Remove.
1793 * gdb.base/overlays.exp: Remove the target triplet checking for
1795 * gdb.base/structs.exp (test_struct_returns): Remove the
1796 comments about d10v.
1797 (test_struct_calls): Likewise.
1799 2015-11-13 Yao Qi <yao.qi@linaro.org>
1801 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1802 * gdb.base/gnu_vector.c: Don't include stdio.h.
1803 (main): Don't print res and call add_some_intvecs.
1805 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1807 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1810 (func4): Use FAST_TRACEPOINT_LABEL.
1811 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1814 (thread_function): Use FAST_TRACEPOINT_LABEL.
1815 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1817 (marker): Use FAST_TRACEPOINT_LABEL.
1818 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1819 (pendfunc1): Remove.
1820 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1821 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1823 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1824 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1827 (marker): Use FAST_TRACEPOINT_LABEL.
1828 * gdb.trace/trace-common.h: New header.
1829 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1832 (marker): Use FAST_TRACEPOINT_LABEL.
1833 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1835 (thread_function): Use FAST_TRACEPOINT_LABEL.
1837 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1839 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1841 * gdb.trace/change-loc.exp: Use global pcreg definition.
1842 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1843 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1845 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1846 * gdb.trace/pending.exp: Likewise.
1847 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1848 * gdb.trace/trace-break.exp: Likewise.
1849 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1851 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1852 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1854 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1856 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1858 * gdb.ada/fin_fun_out: New testcase.
1860 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1862 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1863 value associated with DW_AT_byte_size.
1864 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1865 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1868 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1870 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1871 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1873 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1874 gdb.dwarf2/dw2-canonicalize-type.exp,
1875 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1876 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1877 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1878 provided by gdb_target_symbol_prefix_flags_asm.
1879 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1880 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1881 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1882 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1883 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1884 macros where needed). Use this macro for symbols which require
1885 the prefix provided by SYMBOL_PREFIX.
1887 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1889 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1891 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1892 representing expressions, of more than one list element.
1893 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1894 to prepend linker symbol prefix to f.
1895 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1896 table_1 and table_2.
1897 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1898 Likewise, for f and g.
1899 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1901 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1903 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1904 table_1_ptr and table_2_ptr.
1906 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1907 Joel Brobecker <brobecker@adacore.com>
1909 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1911 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1913 * gdb.reverse/s390-mvcle.c: New test.
1914 * gdb.reverse/s390-mvcle.exp: New file.
1915 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1917 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1919 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1921 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1923 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1925 * gdb.reverse/getresuid-reverse.exp: Likewise.
1926 * gdb.reverse/pipe-reverse.exp: Likewise.
1927 * gdb.reverse/readv-reverse.exp: Likewise.
1928 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1929 * gdb.reverse/time-reverse.exp: Likewise.
1930 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1932 2015-10-30 Yao Qi <yao.qi@linaro.org>
1934 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1935 (empty_cycle): Remove.
1936 (main): Don't call empty_cycle. Don't use watch_count_done.
1937 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1938 empty_cycle. Rewrite the code counting HW watchpoints.
1940 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1942 * gdb.reverse/fstatat-reverse.c: New test.
1943 * gdb.reverse/fstatat-reverse.exp: New file.
1944 * gdb.reverse/getresuid-reverse.c: New test.
1945 * gdb.reverse/getresuid-reverse.exp: New file.
1946 * gdb.reverse/pipe-reverse.c: New test.
1947 * gdb.reverse/pipe-reverse.exp: New file.
1948 * gdb.reverse/readv-reverse.c: New test.
1949 * gdb.reverse/readv-reverse.exp: New file.
1950 * gdb.reverse/recvmsg-reverse.c: New test.
1951 * gdb.reverse/recvmsg-reverse.exp: New file.
1952 * gdb.reverse/time-reverse.c: New test.
1953 * gdb.reverse/time-reverse.exp: New file.
1954 * gdb.reverse/waitpid-reverse.c: New test.
1955 * gdb.reverse/waitpid-reverse.exp: New file.
1957 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1959 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1961 2015-10-26 Doug Evans <dje@google.com>
1964 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1965 * gdb.dwarf2/bad-regnum.c: New file.
1966 * gdb.dwarf2/bad-regnum.exp: New file.
1968 2015-10-26 Doug Evans <dje@google.com>
1971 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1974 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1976 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1977 for a change by "Mention language in compile error message".
1979 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1982 * gdb.python/py-type.c (C::a_method): New.
1983 (C::a_const_method): New.
1984 (C::a_static_method): New.
1986 * gdb.python/py-type.exp (test_fields): Test getting fields
1987 from function and method.
1989 2015-10-21 Keven Boell <keven.boell@intel.com>
1991 * gdb.fortran/vla-alloc-assoc.exp: New file.
1992 * gdb.fortran/vla-datatypes.exp: New file.
1993 * gdb.fortran/vla-datatypes.f90: New file.
1994 * gdb.fortran/vla-history.exp: New file.
1995 * gdb.fortran/vla-ptype-sub.exp: New file.
1996 * gdb.fortran/vla-ptype.exp: New file.
1997 * gdb.fortran/vla-sizeof.exp: New file.
1998 * gdb.fortran/vla-sub.f90: New file.
1999 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2000 * gdb.fortran/vla-value-sub-finish.exp: New file.
2001 * gdb.fortran/vla-value-sub.exp: New file.
2002 * gdb.fortran/vla-value.exp: New file.
2003 * gdb.fortran/vla-ptr-info.exp: New file.
2004 * gdb.mi/mi-vla-fortran.exp: New file.
2005 * gdb.mi/vla.f90: New file.
2007 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2009 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2010 of hardwired timeout value.
2012 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2013 Pedro Alves <palves@redhat.com>
2015 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2016 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2018 2015-10-19 Josh Stone <jistone@redhat.com>
2020 * gdb.base/catch-syscall.c: Include <sched.h>.
2021 (unknown_syscall): New variable.
2022 (main): Trigger a vfork and an unknown syscall.
2023 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2024 (unknown_syscall_number): Likewise.
2025 (check_call_to_syscall): Accept an optional syscall pattern.
2026 (check_return_from_syscall): Likewise.
2027 (check_continue): Likewise.
2028 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2029 (test_catch_syscall_skipping_return): New test toggling off 'catch
2030 syscall' to step over the syscall return, then toggling back on.
2031 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2032 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2033 (do_syscall_tests): Call test_catch_syscall_without_args and
2034 test_catch_syscall_mid_vfork.
2035 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2036 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2038 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2040 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2041 print g_vE): Add new pass patterns.
2042 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2043 print various symbol names for vptr fields.
2045 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2047 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2050 2015-10-12 Yao Qi <yao.qi@linaro.org>
2052 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2054 2015-10-12 Yao Qi <yao.qi@linaro.org>
2056 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2057 is aarch64*-*-linux*.
2059 2015-10-12 Yao Qi <yao.qi@linaro.org>
2061 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2062 (can_relocate_bcond_true): ... it.
2063 (can_relocate_bcond_false): New function.
2065 (can_relocate_bl): Likewise.
2066 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2069 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2071 * gdb.base/nested-addr.c: New file.
2072 * gdb.base/nested-addr.exp: New testcase.
2074 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2076 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2077 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2078 its output. Ignore the output of "record goto begin" and instead
2079 check that GDB is replaying.
2081 2015-10-09 Pedro Alves <palves@redhat.com>
2083 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2084 (top level): Use it in the run with no args test.
2086 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2088 * gdb.dlang/properties.exp: New file.
2090 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2092 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2093 whether or not address 0x1000 is mapped on the target.
2095 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2097 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2100 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2102 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2103 instruction-history test.
2105 2015-09-28 Doug Evans <dje@google.com>
2107 * gdb.base/gcore.c (array_func): Add reference to static_array.
2109 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2111 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2114 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2116 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2117 short or char as base type.
2119 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2121 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2122 to allow any size enum.
2124 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2126 * gdb.ada/array_ptr_renaming.exp: New testcase.
2127 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2128 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2130 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2132 * gdb.trace/ftrace-lock.c: New file.
2133 * gdb.trace/ftrace-lock.exp: New file.
2135 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2137 * gdb.arch/insn-reloc.c: New file.
2138 * gdb.arch/ftrace-insn-reloc.exp: New file.
2140 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2142 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2144 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2145 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2146 * gdb.trace/range-stepping.c: Likewise.
2147 * gdb.trace/trace-break.c: Likewise.
2148 * gdb.trace/trace-mt.c (thread_function): Likewise.
2149 * gdb.trace/ftrace.c (marker): Likewise.
2150 * gdb.trace/trace-condition.c (marker): Likewise.
2151 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2152 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2155 2015-09-18 Doug Evans <xdje42@gmail.com>
2157 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2158 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2160 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2162 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2165 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2167 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2168 the pending breakpoint. Remove timeout override for "Run till
2169 MI pending breakpoint on pendfunc3 on thread 2" test.
2171 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2173 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2176 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2178 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2179 in breakpoint filename pattern.
2181 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2183 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2185 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2187 * gdb.linespec/explicit.exp: Check for readline support for
2188 tab-completion tests. Fix obvious typo.
2190 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2192 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2195 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2197 * gdb.btrace/non-stop.c: New.
2198 * gdb.btrace/non-stop.exp: New.
2200 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2201 Yao Qi <yao.qi@linaro.org>
2203 * gdb.trace/trace-condition.c: New file.
2204 * gdb.trace/trace-condition.exp: New file.
2206 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2208 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2209 for testing bytecode compilation.
2211 2015-09-16 Pedro Alves <palves@redhat.com>
2212 Sandra Loosemore <sandra@codesourcery.com>
2214 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2215 (SECONDS): Redefine.
2216 (main): Call pthread_kill and alarm early.
2217 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2219 (test): If the target can't hardware step and doesn't support
2220 displaced stepping, increase the timeout.
2222 2015-09-16 Pedro Alves <palves@redhat.com>
2224 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2225 (enable_debug): New procedures.
2226 (test): Use them. Bail out if waiting for threads fails.
2227 (top level): Bail out if a test fails.
2229 2015-09-16 Yao Qi <yao.qi@linaro.org>
2231 * gdb.asm/asm-source.exp: Set asm-arch for
2232 aarch64*-*-* target.
2233 * gdb.asm/aarch64.inc: New file.
2235 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2237 * gdb.ada/array_of_variable_length.exp: New testcase.
2238 * gdb.ada/array_of_variable_length/foo.adb: New file.
2239 * gdb.ada/array_of_variable_length/pck.adb: New file.
2240 * gdb.ada/array_of_variable_length/pck.ads: New file.
2242 2015-09-15 Doug Evans <dje@google.com>
2244 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2245 of function static local variable.
2247 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2249 * gdb.threads/tls-so_extern.exp: New test file.
2250 * gdb.threads/tls-so_extern.c: New test file.
2251 * gdb.threads/tls-so_extern_main.c: New test file.
2253 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2255 * gdb.opt/solib-intra-step-lib.c: New file.
2256 * gdb.opt/solib-intra-step-main.c: New file.
2257 * gdb.opt/solib-intra-step.exp: New file.
2259 2015-09-15 Pedro Alves <palves@redhat.com>
2261 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2262 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2264 2015-09-14 Pedro Alves <palves@redhat.com>
2266 * gdb.base/hook-stop-continue.c: Delete.
2267 * gdb.base/hook-stop-continue.exp: Delete.
2268 * gdb.base/hook-stop-frame.c: Delete.
2269 * gdb.base/hook-stop-frame.exp: Delete.
2270 * gdb.base/hook-stop.c: New file.
2271 * gdb.base/hook-stop.exp: New file.
2273 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2275 * gdb.ada/access_to_packed_array.exp: New testcase.
2276 * gdb.ada/access_to_packed_array/foo.adb: New file.
2277 * gdb.ada/access_to_packed_array/pack.adb: New file.
2278 * gdb.ada/access_to_packed_array/pack.ads: New file.
2280 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2282 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2285 2015-09-11 Don Breazeal <donb@codesourcery.com>
2287 * gdb.base/foll-exec.c: Add copyright header. Fix
2289 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2290 (do_exec_tests): Use clean_restart in place of zap_session,
2291 and for test initialization. Fix formatting issues. Use
2292 fail in place of perror.
2293 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2294 an expect statement to match an expression with output from
2295 the program under debug.
2296 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2297 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2298 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2299 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2300 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2302 2015-09-09 Doug Evans <dje@google.com>
2304 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2306 2015-09-09 Doug Evans <dje@google.com>
2308 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2310 2015-09-09 Doug Evans <dje@google.com>
2312 * gdb.base/savedregs.exp: Fix typo.
2314 2015-09-09 Pedro Alves <palves@redhat.com>
2316 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2318 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2320 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2321 command actually switches threads. Give up on remaining
2322 tests if target fails to stop at breakpoint.
2324 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2326 * gdb.ada/funcall_char.exp: New testcase.
2327 * gdb.ada/funcall_char/foo.adb: New file.
2329 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2331 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2332 expected outputs. Add two testcases for completing ambiguous
2334 * gdb.ada/complete/aux_pck.adb: New file.
2335 * gdb.ada/complete/aux_pck.ads: New file.
2336 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2337 Ambiguous_Func functions.
2338 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2339 * gdb.ada/complete/pck.adb: Likewise.
2341 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2343 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2344 failures to run the test program under GDB.
2346 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2348 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2351 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2353 * gdb.base/run-after-attach.exp: New test file.
2354 * gdb.base/run-after-attach.c: New test file.
2356 2015-08-26 Don Breazeal <donb@codesourcery.com>
2358 * gdb.base/foll-exec-2.c: New test program.
2359 * gdb.base/foll-exec-2.exp: New test.
2361 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2363 * gdb.base/nested-subp1.exp: New file.
2364 * gdb.base/nested-subp1.c: New file.
2365 * gdb.base/nested-subp2.exp: New file.
2366 * gdb.base/nested-subp2.c: New file.
2367 * gdb.base/nested-subp3.exp: New file.
2368 * gdb.base/nested-subp3.c: New file.
2370 2015-08-24 Pedro Alves <palves@redhat.com>
2372 * gdb.server/connect-without-multi-process.c: New file.
2373 * gdb.server/connect-without-multi-process.exp: New file.
2375 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2377 * gdb.opt/inline-markers.c: Make z int.
2379 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2381 * gdb.opt/inline-markers.c: Make z volatile.
2383 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2385 * gdb.opt/inline-bt.c: New volatile global z.
2386 * gdb.opt/inline-cmds.c: Likewise.
2387 * gdb.opt/inline-locals.c: Likewise.
2388 * gdb.opt/inline-markers.c: New extern global z.
2390 (inline_fn): Likewise.
2392 2015-08-24 Pedro Alves <palves@redhat.com>
2394 * config/m32r-stub.exp: Remove file.
2395 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2396 * gdb.base/call-rt-st.exp: Likewise.
2397 * gdb.base/call-strs.exp: Likewise.
2398 * gdb.base/default.exp: Remove references to h8300-*-hms and
2400 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2402 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2404 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2405 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2406 and "return" use KFAIL when GDB can not read/write the vector
2409 2015-08-21 Gary Benson <gbenson@redhat.com>
2411 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2413 2015-08-20 Pedro Alves <palves@redhat.com>
2415 * gdb.server/solib-list.exp: No longer expect an interior stop in
2418 2015-08-20 Pedro Alves <palves@redhat.com>
2420 * gdb.server/connect-stopped-target.c: New file.
2421 * gdb.server/connect-stopped-target.exp: New file.
2423 2015-08-20 Pedro Alves <palves@redhat.com>
2425 * gdb.dwarf2/comp-unit-lang.exp: New file.
2426 * gdb.dwarf2/comp-unit-lang.c: New file.
2428 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2430 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2431 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2433 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2435 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2436 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2438 2015-08-18 Doug Evans <dje@google.com>
2439 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2441 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2442 skip_python_tests. New arg prompt_regexp.
2443 (skip_python_tests): New function.
2444 * lib/mi-support.exp (mi_skip_python_tests): New function.
2445 * gdb.python/py-mi-objfile-gdb.py: New file.
2446 * gdb.python/py-mi-objfile.c: New file.
2447 * gdb.python/py-mi-objfile.exp: New file.
2449 2015-08-17 Keith Seitz <keiths@redhat.com>
2451 * gdb.linespec/explicit.exp: Move strace test from here ...
2452 * gdb.trace/strace.exp: ... to here.
2454 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2456 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2457 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2459 2015-08-14 Doug Evans <xdje42@gmail.com>
2461 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2462 inferior before selecting a new file.
2464 2015-08-14 Doug Evans <xdje42@gmail.com>
2466 * gdb.mi/mi-disassemble.exp: Update.
2467 * gdb.base/disasm-optim.S: New file.
2468 * gdb.base/disasm-optim.c: New file.
2469 * gdb.base/disasm-optim.h: New file.
2470 * gdb.base/disasm-optim.exp: New file.
2472 2015-08-14 Keith Seitz <keiths@redhat.com>
2474 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2477 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2479 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2481 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2483 * gdb.ada/fun_renaming.exp: New testcase.
2484 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2485 * gdb.ada/fun_renaming/pack.adb: New file.
2486 * gdb.ada/fun_renaming/pack.ads: New file.
2488 2015-08-12 Keith Seitz <keiths@redhat.com>
2490 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2491 gdb_get_line_number.
2493 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2495 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2496 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2497 gdb.base/dso2dso.exp: New files.
2499 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2500 Pedro Alves <palves@redhat.com>
2501 Keith Seitz <keiths@redhat.com>
2503 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2506 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2508 * gdb.base/gdbhistsize-history.exp
2509 (test_histsize_history_setting): Use save_vars.
2510 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2512 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2513 * gdb.base/readline.exp: Use save_vars.
2515 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2517 * lib/gdb.exp (save_vars): New proc.
2519 2015-08-11 Keith Seitz <keiths@redhat.com>
2521 * gdb.base/help.exp: Update help_breakpoint_text.
2523 2015-08-11 Keith Seitz <keiths@redhat.com>
2525 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2526 (at toplevel): Call test_explicit_breakpoints.
2527 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2529 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2530 breakpoint conditions, "-cond".
2532 2015-08-11 Keith Seitz <keiths@redhat.com>
2534 * gdb.linespec/3explicit.c: New file.
2535 * gdb.linespec/cpexplicit.cc: New file.
2536 * gdb.linespec/cpexplicit.exp: New file.
2537 * gdb.linespec/explicit.c: New file.
2538 * gdb.linespec/explicit.exp: New file.
2539 * gdb.linespec/explicit2.c: New file.
2540 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2541 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2542 before using in the matching pattern.
2543 Clarify that `prefix' is a regular expression.
2545 2015-08-11 Keith Seitz <keiths@redhat.com>
2547 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2549 Add tests for missing ",FMT" and ",".
2551 2015-08-10 Doug Evans <dje@google.com>
2552 Keith Seitz <keiths@redhat.com>
2555 * gdb.base/completion.exp: Add location completer tests.
2557 2015-08-07 Pedro Alves <palves@redhat.com>
2559 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2561 (top level): Run do_test with and without displaced stepping.
2563 2015-08-07 Pedro Alves <palves@redhat.com>
2565 * gdb.base/valgrind-disp-step.c: New file.
2566 * gdb.base/valgrind-disp-step.exp: New file.
2568 2015-08-07 Pedro Alves <palves@redhat.com>
2570 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2572 (main): Add alarm. Run an infinite loop instead of calling
2574 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2576 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2578 (main): Add alarm. Run an infinite loop instead of calling
2580 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2583 2015-08-07 Pedro Alves <palves@redhat.com>
2585 * gdb.base/checkpoint-ns.exp: New file.
2586 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2589 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2591 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2592 * gdb.btrace/instruction_history.exp: Update.
2593 * gdb.btrace/tsx.exp: New.
2594 * gdb.btrace/tsx.c: New.
2596 2015-08-06 Pedro Alves <palves@redhat.com>
2598 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2600 * gdb.reverse/until-precsave.exp: Bump timeouts.
2602 2015-08-06 Pedro Alves <palves@redhat.com>
2604 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2606 2015-08-06 Pedro Alves <palves@redhat.com>
2609 * gdb.threads/process-dies-while-handling-bp.c: New file.
2610 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2612 2015-08-06 Pedro Alves <palves@redhat.com>
2614 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2615 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2617 2015-08-05 Pedro Alves <palves@redhat.com>
2619 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2620 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2622 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2624 * gdb.base/bp-permanent.exp: Report test as unsupported if
2625 the target cannot stop at the permanent breakpoint.
2627 2015-08-03 Doug Evans <dje@google.com>
2629 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2632 2015-08-03 Doug Evans <dje@google.com>
2634 * Makefile.in (workers/%.worker, build-perf): New rule.
2635 (GDB_PERFTEST_MODE): New variable.
2636 (check-perf): Use it.
2637 (clean): Clean up gdb.perf parallel build subdirs.
2638 * lib/build-piece.exp: New file.
2639 * lib/gdb.exp (make_gdb_parallel_path): New function
2640 (standard_output_file, standard_temp_file): Call it.
2641 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2643 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2645 2015-08-03 Doug Evans <dje@google.com>
2647 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2648 (LOG_FILE_NAME): New global.
2649 (TextReporter.__init__): Initialize self.txt_sum.
2650 (TextReporter.report): Add support for multiple data-points.
2651 Move report to perftest.sum, put raw data in perftest.log.
2652 (TextReporter.start): Open sum and log files.
2653 (TextReporter.end): Close sum and log files.
2654 * gdb.perf/lib/perftest/testresult.py
2655 (SingleStatisticTestResult.record): Handle multiple data-points.
2657 2015-07-31 Pedro Alves <palves@redhat.com>
2659 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2660 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2661 kill_wait_spawned_process instead of explicit "kill -9".
2662 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2663 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2664 kill_wait_spawned_process.
2665 * gdb.base/attach-twice.exp: Likewise.
2666 * gdb.base/attach.exp: Likewise.
2667 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2669 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2670 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2671 kill_wait_spawned_process.
2672 * gdb.base/valgrind-infcall.exp: Likewise.
2673 * gdb.multi/multi-attach.exp: Likewise.
2674 * gdb.python/py-prompt.exp: Likewise.
2675 * gdb.python/py-sync-interp.exp: Likewise.
2676 * gdb.server/ext-attach.exp: Likewise.
2677 * gdb.threads/attach-into-signal.exp (corefunc): Use
2678 spawn_wait_for_attach, spawn_id_get_pid and
2679 kill_wait_spawned_process.
2680 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2681 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2682 spawn_id_get_pid and kill_wait_spawned_process.
2683 * gdb.threads/attach-stopped.exp (corefunc): Use
2684 spawn_wait_for_attach, spawn_id_get_pid and
2685 kill_wait_spawned_process.
2686 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2687 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2688 kill_wait_spawned_process instead of explicit "kill -9".
2689 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2690 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2691 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2692 processes. Don't map cygwin/windows pids here. Now returns a
2695 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2697 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2698 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2701 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2703 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2705 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2708 2014-05-21 Mark Wielaard <mjw@redhat.com>
2710 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2712 2015-07-30 Pedro Alves <palves@redhat.com>
2714 * linux-low.c (handle_extended_wait): Set the child's last
2715 reported status to TARGET_WAITKIND_STOPPED.
2717 2015-07-30 Pedro Alves <palves@redhat.com>
2720 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2721 only shows inferior 1.
2723 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2724 Pedro Alves <palves@redhat.com>
2727 * gdb.threads/fork-plus-threads.c: New file.
2728 * gdb.threads/fork-plus-threads.exp: New file.
2730 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2732 * gdb.base/batch-preserve-term-settings.exp
2733 (test_terminal_settings_preserved_after_cli_exit): Use
2736 2015-07-29 Pedro Alves <palves@redhat.com>
2737 Don Breazeal <donb@codesourcery.com>
2739 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2740 output from both inferior_spawn_id and gdb_spawn_id.
2742 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2744 * gdb.threads/attach-into-signal.exp (corefunc): Use
2745 with_test_prefix on nested loops, uniquefying the test messages.
2747 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2749 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2752 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2754 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2756 (test_terminal_settings_preserved_after_sigterm): New test.
2758 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2760 * gdb.base/batch-preserve-term-settings.exp
2761 (test_terminal_settings_preserved_after_cli_exit): New test.
2763 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2765 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2766 manipulation of saved_gdbflags.
2767 (test_terminal_settings_preserved): Remove global declaration of
2768 the unused variable pagination_prompt. Remove manipulation of
2769 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2772 2015-07-29 Pedro Alves <palves@redhat.com>
2774 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2776 2015-07-29 Pedro Alves <palves@redhat.com>
2778 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2781 2015-07-29 Pedro Alves <palves@redhat.com>
2783 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2784 (main): Call gdb_unbuffer_output.
2785 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2786 (main): Call gdb_unbuffer_output.
2787 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2788 (main): Call gdb_unbuffer_output.
2789 * gdb.base/call-strs.exp: Adjust to step over the
2790 gdb_unbuffer_output call.
2791 * gdb.base/catch-gdb-caused-signals.c: Include
2792 "../lib/unbuffer_output.c".
2793 (main): Call gdb_unbuffer_output.
2794 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2795 (main): Call gdb_unbuffer_output.
2796 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2797 (main): Call gdb_unbuffer_output.
2798 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2799 (main): Call gdb_unbuffer_output.
2800 * gdb.base/shlib-call.exp: Adjust to step over the
2801 gdb_unbuffer_output call.
2802 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2803 (main): Call gdb_unbuffer_output.
2804 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2805 (main): Call gdb_unbuffer_output.
2806 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2807 (main): Rename to ...
2809 (main): Reimplement.
2810 * gdb.base/varargs.exp: Run to test instead of to main.
2811 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2812 (main): Call gdb_unbuffer_output.
2814 2015-07-29 Pedro Alves <palves@redhat.com>
2816 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2817 factore out from mi_continue_dprintf. For call-style dprintfs,
2818 expect dprintf output out of $inferior_spawn_id.
2819 (mi_continue_dprintf): Use mi_expect_dprintf.
2820 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2821 (main): Call gdb_unbuffer_output.
2823 2015-07-29 Pedro Alves <palves@redhat.com>
2825 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2826 (default_mi_gdb_start): Set inferior_spawn_id instead of
2827 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2829 (mi_gdb_test): Always expect inferior output from both
2830 $inferior_spawn_id and $gdb_spawn_id.
2832 2015-07-29 Pedro Alves <palves@redhat.com>
2834 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2835 send_inferior and $inferior_spawn_id.
2837 2015-07-29 Pedro Alves <palves@redhat.com>
2839 * gdb.gdb/complaints.exp (test_initial_complaints)
2840 (test_serial_complaints, test_short_complaints): Use
2842 (test_empty_complaint): Handle $inferior_spawn_id !=
2845 2015-07-29 Pedro Alves <palves@redhat.com>
2847 * gdb.base/varargs.exp: Use gdb_test_stdio.
2849 2015-07-29 Pedro Alves <palves@redhat.com>
2851 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2853 2015-07-29 Pedro Alves <palves@redhat.com>
2855 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2857 2015-07-29 Pedro Alves <palves@redhat.com>
2859 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2860 parameter into two new parameters, "inf_result" and "gdb_result".
2861 Expect inferior output and gdb output from $inferior_spawn_id and
2862 $gdb_spawn_id, respectively. Adjust all callers.
2864 2015-07-29 Pedro Alves <palves@redhat.com>
2866 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2867 of gdb_test_sequence.
2869 2015-07-29 Pedro Alves <palves@redhat.com>
2871 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2872 (saw_spurious_output): Expect inferior output from
2873 $inferior_spawn_id. Use gdb_test_stdio.
2875 2015-07-29 Pedro Alves <palves@redhat.com>
2877 * gdb.base/dprintf.exp: Use standard_testfile. Change
2878 prepare_for_testing call.
2879 (srcfile): Don't set.
2880 (restart): New procedure.
2881 (test_dprintf): New procecure, use to continue over dprintfs.
2882 (test_call, test_agent): New procedures, tests moved here.
2883 Restart gdb and recreate dprintfs. Adjust expected output.
2885 2015-07-29 Pedro Alves <palves@redhat.com>
2887 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2889 2015-07-29 Pedro Alves <palves@redhat.com>
2891 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2893 2015-07-29 Pedro Alves <palves@redhat.com>
2895 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2898 2015-07-29 Pedro Alves <palves@redhat.com>
2900 * lib/gdb.exp (gdb_test_stdio): New procedure.
2902 2015-07-29 Pedro Alves <palves@redhat.com>
2904 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2906 2015-07-29 Pedro Alves <palves@redhat.com>
2908 * gdb.base/call-signal-resume.exp: Remove check for
2909 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2910 * gdb.base/unwindonsignal.exp: Likewise.
2911 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2912 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2914 2015-07-29 Pedro Alves <palves@redhat.com>
2916 * gdb.base/siginfo-addr.c (pass): New function.
2917 (handler): Call it iff si_addr is correct.
2918 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2919 Set a breakpoint at "pass" and continue to it.
2921 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2923 * gdb.python/py-objfile.exp: Make some tests have unique names.
2924 * gdb.python/py-pp-registration.exp: Likewise.
2926 2015-07-28 Pedro Alves <palves@redhat.com>
2928 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2930 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2932 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2934 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2936 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2938 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2940 * gdb.base/gdb-sigterm-2.exp: New test.
2942 2015-07-25 Doug Evans <xdje42@gmail.com>
2945 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2946 (workers/%.worker, build-perf): New rule.
2947 (GDB_PERFTEST_MODE): New variable.
2948 (check-perf): Use it.
2949 (clean): Clean up gdb.perf parallel build subdirs.
2950 * lib/build-piece.exp: New file.
2951 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2952 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2954 (standard_temp_file): Ditto.
2955 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2958 2015-07-24 Doug Evans <dje@google.com>
2960 * gdb.perf/lib/perftest/utils.py: New file.
2961 * gdb.perf/gm-hello.cc: New file.
2962 * gdb.perf/gm-pervasive-typedef.cc: New file.
2963 * gdb.perf/gm-pervasive-typedef.h: New file.
2964 * gdb.perf/gm-std.cc: New file.
2965 * gdb.perf/gm-std.h: New file.
2966 * gdb.perf/gm-use-cerr.cc: New file.
2967 * gdb.perf/gm-utils.h: New file.
2968 * gdb.perf/gmonster-null-lookup.py: New file.
2969 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2970 * gdb.perf/gmonster-print-cerr.py: New file.
2971 * gdb.perf/gmonster-ptype-string.py: New file.
2972 * gdb.perf/gmonster-runto-main.py: New file.
2973 * gdb.perf/gmonster-select-file.py: New file.
2974 * gdb.perf/gmonster1-null-lookup.exp: New file.
2975 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2976 * gdb.perf/gmonster1-print-cerr.exp: New file.
2977 * gdb.perf/gmonster1-ptype-string.exp: New file.
2978 * gdb.perf/gmonster1-runto-main.exp: New file.
2979 * gdb.perf/gmonster1-select-file.exp: New file.
2980 * gdb.perf/gmonster1.cc: New file.
2981 * gdb.perf/gmonster1.exp: New file.
2982 * gdb.perf/gmonster2-null-lookup.exp: New file.
2983 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2984 * gdb.perf/gmonster2-print-cerr.exp: New file.
2985 * gdb.perf/gmonster2-ptype-string.exp: New file.
2986 * gdb.perf/gmonster2-runto-main.exp: New file.
2987 * gdb.perf/gmonster2-select-file.exp: New file.
2988 * gdb.perf/gmonster2.cc: New file.
2989 * gdb.perf/gmonster2.exp: New file.
2991 2015-07-24 Doug Evans <dje@google.com>
2993 * gdb.perf/README: New file.
2994 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2995 * lib/gen-perf-test.exp: New file.
2997 2015-07-24 Doug Evans <dje@google.com>
2999 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3000 (PerfTest::startup): New function.
3001 (PerfTest::run): Return result of calling body.
3002 (PerfTest::assemble): Rewrite.
3003 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3004 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3005 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3006 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3007 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3009 2015-07-24 Doug Evans <dje@google.com>
3011 * lib/gdb.exp (clean_restart): Make executable optional.
3013 2015-07-24 Doug Evans <dje@google.com>
3015 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3016 compiler_info references.
3017 * gdb.cp/temargs.exp: Ditto.
3018 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3019 (get_compiler_info): Early exit if already computed. Set compiler_info
3020 to "unknown" if there was a problem.
3021 (test_compiler_info): Add function comment. Call get_compiler_info.
3023 2015-07-24 Doug Evans <dje@google.com>
3025 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3026 (workers/%.worker, build-perf): New rule.
3027 (GDB_PERFTEST_MODE): New variable.
3028 (check-perf): Use it.
3029 (clean): Clean up gdb.perf parallel build subdirs.
3030 * lib/build-piece.exp: New file.
3031 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3032 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3034 (standard_temp_file): Ditto.
3035 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3038 2015-07-24 Doug Evans <dje@google.com>
3040 * lib/future.exp (gdb_default_target_compile): New option
3042 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3045 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3047 * gdb.base/catch-syscall.exp: Call gdb_exit before
3050 2015-07-24 Pedro Alves <palves@redhat.com>
3052 * gdb.python/py-events.exp: Accept output between the stop event
3054 * gdb.python/py-evsignal.exp: Likewise.
3055 * gdb.python/py-evthreads.exp: Likewise.
3057 2015-07-24 Pedro Alves <palves@redhat.com>
3060 * gdb.threads/non-ldr-exit.c: New file.
3061 * gdb.threads/non-ldr-exit.exp: New file.
3063 2015-07-24 Yao Qi <yao.qi@linaro.org>
3065 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3068 2015-07-24 Yao Qi <yao.qi@linaro.org>
3070 * gdb.server/ext-restart.exp: New file.
3072 2015-07-24 Yao Qi <yao.qi@linaro.org>
3074 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3076 * gdb.server/ext-wrapper.exp: New file.
3078 2015-07-23 Doug Evans <dje@google.com>
3080 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3081 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3083 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3085 * gdb.ada/var_arr_typedef.exp: New testcase.
3086 * gdb.ada/var_arr_typedef/pack.adb: New file.
3087 * gdb.ada/var_arr_typedef/pack.ads: New file.
3088 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3090 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3092 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3094 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3096 * gdb.arch/i386-biarch-core.exp: Replace istarget
3097 by "complete set gnutarget". Remove expectation for the "core-file"
3100 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3102 Revert the previous commit:
3103 Tests for validate symbol file using build-id.
3105 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3107 Tests for validate symbol file using build-id.
3108 * gdb.base/solib-mismatch-lib.c: New file.
3109 * gdb.base/solib-mismatch-libmod.c: New file.
3110 * gdb.base/solib-mismatch.c: New file.
3111 * gdb.base/solib-mismatch.exp: New file.
3113 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3115 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3117 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3118 * gdb.base/siginfo.exp: Likewise.
3119 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3121 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3123 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3125 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3127 * gdb.trace/range-stepping.exp: Check that the target supports
3130 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3132 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3134 2015-07-14 Pedro Alves <palves@redhat.com>
3136 * gdb.base/killed-outside.exp: New file.
3137 * gdb.base/killed-outside.c: New file.
3139 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3141 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3143 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3145 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3147 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3148 infcall tests instead of setting up for KFAIL.
3150 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3152 * gdb.btrace/record_goto-step.exp: New.
3154 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3157 * gdb.compile/compile.c (struct struct_type): Add volatile to
3159 * gdb.compile/compile.exp
3160 (compile code struct_object.selffield = &struct_object): Skip further
3161 struct_object tests if this one xfails.
3163 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3166 * gdb.trace/ax.exp: Add test.
3168 2015-07-07 Yao Qi <yao.qi@linaro.org>
3170 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3171 instead of istarget "aarch64*-*-*".
3172 * gdb.arch/aarch64-fp.exp: Likewise.
3173 * gdb.base/float.exp: Likewise.
3174 * gdb.reverse/aarch64.exp: Likewise.
3175 * lib/gdb.exp (is_aarch64_target): New proc.
3177 2015-07-07 Yao Qi <yao.qi@linaro.org>
3179 * lib/gdb.exp (is_aarch32_target): New proc.
3180 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3181 instead of "istarget "arm*-*-*"".
3182 * gdb.arch/arm-disp-step.exp: Likewise.
3183 * gdb.arch/thumb-bx-pc.exp: Likewise.
3184 * gdb.arch/thumb-prologue.exp: Likewise.
3185 * gdb.arch/thumb-singlestep.exp: Likewise.
3186 * gdb.base/disp-step-syscall.exp: Likewise.
3187 * gdb.base/float.exp: Likewise.
3189 2015-07-07 Yao Qi <yao.qi@linaro.org>
3191 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3192 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3194 2015-07-07 Yao Qi <yao.qi@linaro.org>
3196 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3197 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3199 * gdb.multi/multi-arch.exp: Likewise.
3201 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3203 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3206 2015-07-07 Yao Qi <yao.qi@linaro.org>
3208 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3210 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3212 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3213 '[' and ']' characters.
3215 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3217 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3219 2015-06-29 Pedro Alves <palves@redhat.com>
3222 * gdb.threads/hand-call-new-thread.c: New file.
3223 * gdb.threads/hand-call-new-thread.c: New file.
3225 2015-06-26 Keith Seitz <keiths@redhat.com>
3226 Doug Evans <dje@google.com>
3229 * gdb.cp/var-tag-2.cc: New file.
3230 * gdb.cp/var-tag-3.cc: New file.
3231 * gdb.cp/var-tag-4.cc: New file.
3232 * gdb.cp/var-tag.cc: New file.
3233 * gdb.cp/var-tag.exp: New file.
3235 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3237 * gdb.base/history-duplicates.exp: New test.
3239 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3241 * gdb.base/completion.exp: Test the completion of the "focus"
3244 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3246 * gdb.arch/amd64-prologue-skip.S: New file.
3247 * gdb.arch/amd64-prologue-skip.exp: New file.
3249 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3251 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3252 is_address_zero_readable check.
3254 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3256 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3257 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3259 2015-06-24 Yao Qi <yao.qi@linaro.org>
3261 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3264 2015-06-24 Yao Qi <yao.qi@linaro.org>
3266 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3267 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3268 * gdb.base/siginfo-thread.exp: Likewise.
3270 2015-06-22 Yao Qi <yao.qi@linaro.org>
3272 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3274 2015-06-22 Yao Qi <yao.qi@linaro.org>
3276 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3278 (skip_hw_watchpoint_tests): Likewise.
3280 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3282 * gdb.base/gdbinit-history.exp: Test the interaction between
3283 setting GDBHISTSIZE and setting the history size via .gdbinit.
3285 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3288 * gdb.base/gdbhistsize-history.exp: New test.
3290 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3292 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3294 * gdb.base/readline.exp: Likewise.
3296 2015-06-17 Yao Qi <yao.qi@linaro.org>
3298 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3301 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3303 * gdb.base/gdbinit-history.exp: Add test case to check that
3304 an unlimited history file does not get truncated on exit.
3306 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3308 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3309 (VECTOR): New macro. Use it...
3310 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3311 ...for these typedefs.
3312 (int8, char1, int1, double1): New typedefs.
3313 (struct just_int2, struct two_int2): New structures.
3314 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3315 (add_structvecs, add_singlevecs): New functions.
3316 (main): Call add_some_intvecs twice.
3317 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3318 the compile and exit upon failure. Try compiling for the "native"
3319 architecture. Test inferior function calls with vector arguments
3320 and vector return value handling with "finish" and "return".
3322 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3324 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3325 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3327 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3329 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3331 PR breakpoints/16465
3332 * gdb.mi/mi-dprintf-pending.c: New file.
3333 * gdb.mi/mi-dprintf-pending.exp: New test.
3334 * gdb.mi/mi-dprintf-pendshr.c: New file.
3336 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3337 Mircea Gherzan <mircea.gherzan@intel.com>
3339 * gdb.arch/i386-mpx-map.c: New file.
3340 * gdb.arch/i386-mpx-map.exp: New File.
3342 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3344 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3345 * gdb.arch/i386-mpx.exp: Indentation fixed.
3347 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3349 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3350 function and improved indentation.
3351 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3352 gdb_test_multiple. Added additional tests to skip the test.
3354 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3356 * gdb.arch/i386-avx512.c: Change path in include file.
3357 * gdb.arch/i386-avx512.exp: Change include dir path
3359 * gdb.arch/i386-mpx.c: Change path in include file.
3360 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3363 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3365 * gdb.compile/compile-print.exp (compile print *vararray@3)
3366 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3368 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3370 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3371 (do not keep jit in memory): ... this.
3372 (expect 5): Change it to ...
3373 (expect no 5): ... this.
3375 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3378 * gdb.mi/mi-detach.exp: New file.
3380 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3383 * gdb.arch/amd64-tailcall-self.S: New file.
3384 * gdb.arch/amd64-tailcall-self.c: New file.
3385 * gdb.arch/amd64-tailcall-self.exp: New file.
3387 2015-05-28 Don Breazeal <donb@codesourcery.com>
3389 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3390 tests for remote targets by checking is_target_gdbserver.
3392 2015-05-27 Doug Evans <dje@google.com>
3394 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3395 * gdb.dwarf2/opaque-type-lookup.c: New file.
3396 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3398 2015-05-26 Doug Evans <dje@google.com>
3400 * gdb.cp/iostream.cc: New file.
3401 * gdb.cp/iostream.exp: New file.
3403 2015-05-26 Doug Evans <dje@google.com>
3405 * gdb.dwarf2/dw2-op-call.exp: Update.
3406 * gdb.dwarf2/dw4-sig-types.exp: Update.
3407 * gdb.dwarf2/implptr.exp: Update.
3408 * gdb.mi/mi-cmd-param-changed.exp: Update.
3410 2015-05-26 Doug Evans <dje@google.com>
3412 * gdb.python/py-lazy-string.c: New file.
3413 * gdb.python/py-lazy-string.exp: New file.
3414 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3415 (main): Update. Add estring3.
3416 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3417 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3419 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3420 Yao Qi <yao.qi@linaro.org>
3422 * gdb.reverse/aarch64.c: New.
3423 * gdb.reverse/aarch64.exp: New.
3425 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3427 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3428 (supports_reverse): Likewise.
3430 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3432 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3433 Use with_test_prefix.
3435 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3437 * gdb.base/completion.exp: Add test for completion of layout
3440 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3442 * lib/gdb.exp (skip_tui_tests): New proc.
3443 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3445 2015-05-19 Pedro Alves <palves@redhat.com>
3447 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3448 Save the whole env array instead of just HOME. Unset HISTSIZE in
3449 the environment while testing. Restore whole environment
3452 2015-05-16 Doug Evans <xdje42@gmail.com>
3454 * gdb.guile/scm-ports.c: New file.
3455 * gdb.guile/scm-ports.exp: Add memory port tests.
3457 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3459 * gdb.compile/compile-print.c: New file.
3460 * gdb.compile/compile-print.exp: New file.
3462 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3464 * gdb.compile/compile-ops.exp: Cast param to void.
3465 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3466 (compile code struct_object.selffield = &struct_object): Add xfail.
3468 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3470 * gdb.ada/arr_enum_with_gap: New testcase.
3472 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3474 * gdb.ada/byte_packed_arr: New testcase.
3476 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3478 * gdb.ada/pckd_neg: New testcase.
3480 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3483 * gdb.base/gdbinit-history.exp: New test.
3484 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3485 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3487 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3489 * gdb.python/py-xmethods.cc: Enhance test case.
3490 * gdb.python/py-xmethods.exp: New tests.
3491 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3493 (B_indexoper): Likewise.
3494 (global_dm_list) : Add new xmethod worker functions.
3496 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3498 * gdb.base/coredump-filter.exp: Correctly unset
3499 "coredump_var_addr" array.
3501 2015-05-08 Pedro Alves <palves@redhat.com>
3503 * gdb.server/non-existing-program.exp: Unset spawn_id.
3505 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3508 * gdb.python/py-xmethods.exp: Add tests.
3510 2015-05-08 Yao Qi <yao.qi@linaro.org>
3513 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3514 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3515 function set_coredump_filter, and remove remote_exec call.
3516 Remove argument ipid. Callers update.
3517 (top level): Don't get inferior's PID.
3519 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3521 * gdb.base/watch_thread_num.exp: Skip test on targets without
3524 2015-05-06 Pedro Alves <palves@redhat.com>
3527 * gdb.server/non-existing-program.exp: New file.
3529 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3531 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3533 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3535 * gdb.ada/out_of_line_in_inlined: New testcase.
3537 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3539 * gdb.ada/var_rec_arr: New testcase.
3541 2015-04-30 Yao Qi <yao.qi@linaro.org>
3543 * gdb.base/break-idempotent.exp: If
3544 skip_hw_watchpoint_multi_tests returns true, skip the tests
3545 on "rwatch" and "awatch".
3547 2015-04-30 Yao Qi <yao.qi@linaro.org>
3549 * gdb.base/relativedebug.exp: Invoke gdb command
3550 "info sharedlibrary", and if libc.so doesn't have debug info,
3553 2015-04-29 Doug Evans <dje@google.com>
3555 * gdb.python/py-xmethods.exp: Add ptype tests.
3556 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3557 get_result_type method.
3559 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3561 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3562 the target does not support hardware watchpoints.
3564 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3566 * gdb.base/break-always.exp: Abort testing if writing to memory
3569 2015-04-28 Doug Evans <dje@google.com>
3571 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3572 * gdb.python/py-pp-registration.exp: ... here. New file.
3573 * gdb.python/py-pp-registration.c: New file.
3574 * gdb.python/py-pp-registration.py: New file.
3576 2015-04-28 Doug Evans <dje@google.com>
3578 * gdb.python/py-bad-printers.c: New file.
3579 * gdb.python/py-bad-printers.py: New file.
3580 * gdb.python/py-bad-printers.exp: New file.
3582 2015-04-28 Sasha Smundak <asmundak@google.com>
3584 * gdb.python/py-type.exp: New test.
3586 2015-04-28 Andy Wingo <wingo@igalia.com>
3588 * gdb.python/py-parameter.exp:
3589 * gdb.guile/scm-parameter.exp: Escape the path that we are
3590 matching against, as it might contain characters that are special
3591 to regular expressions.
3593 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3595 * gdb.ada/rec_comp: New testcase.
3597 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3599 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3602 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3604 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3605 new tests for verilog output.
3607 2015-04-24 Yao Qi <yao.qi@linaro.org>
3609 * boards/remote-gdbserver-on-localhost.exp: New file.
3611 2015-04-23 Pedro Alves <palves@redhat.com>
3613 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3614 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3615 "end of file", remove $inferior_spawn_id from the indirect list.
3617 2015-04-23 Pedro Alves <palves@redhat.com>
3619 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3621 2015-04-23 Pedro Alves <palves@redhat.com>
3623 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3624 on $any_spawn_id instead of only on $gdb_spawn_id.
3626 2015-04-21 Pierre Muller <muller@sourceware.org>
3629 * lib/pascal.exp (gpc_compile): Add new option "class".
3630 (fpc_compile): Likewise.
3631 * gdb.pascal/case-insensitive-symbols.pas: New file.
3632 * gdb.pascal/case-insensitive-symbols.exp: New file.
3634 2015-04-20 Gary Benson <gbenson@redhat.com>
3636 * gdb.base/attach.exp: Fix three extended remote failures.
3638 2015-04-17 Gary Benson <gbenson@redhat.com>
3640 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3641 the main executable over the remote protocol.
3643 2015-04-16 Pedro Alves <palves@redhat.com>
3645 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3646 a new gdbserver if gdbserver_reconnect_p is set.
3648 2015-04-16 Pedro Alves <palves@redhat.com>
3650 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3651 is set, don't exit gdbserver.
3653 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3655 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3656 appropriate .insn, such that an older assembler can be used.
3657 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3658 the z/Architecture instruction set on 31-bit targets as well.
3660 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3662 * gdb.go/handcall.exp: Remove all logic related to the first
3663 breakpoint and rely on go_runto_main instead.
3664 * gdb.go/strings.exp: Likewise.
3665 * gdb.go/unsafe.exp: Likewise.
3666 * gdb.go/hello.exp: Likewise. Also rename the remaining
3667 breakpoint marker to "breakpoint 1".
3668 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3669 * gdb.go/strings.go: Likewise.
3670 * gdb.go/unsafe.go: Likewise.
3671 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3672 "set breakpoint 2 here" and rename the remaining breakpoint marker
3675 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3677 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3678 if itertools.imap is not present.
3679 * gdb.python/py-objfile.exp: Add parentheses.
3680 * gdb.python/py-type.exp: Same.
3681 * gdb.python/py-unwind-maint.py: Same.
3683 2015-04-15 Yao Qi <yao.qi@linaro.org>
3685 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3686 of ":$ptr_size" and set its form explicitly.
3688 2015-04-15 Pedro Alves <palves@redhat.com>
3689 Yao Qi <yao.qi@linaro.org>
3691 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3692 timeout by factor of 4.
3693 (test_regular_watch): Likewise.
3694 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3695 * gdb.reverse/sigall-reverse.exp: Likewise.
3696 * gdb.reverse/until-precsave.exp: Likewise.
3697 * lib/gdb.exp (with_timeout_factor): New proc.
3698 (gdb_expect): Move some code to ...
3699 (get_largest_timeout): ... here. New procedure.
3701 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3703 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3705 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3707 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3708 to write to the .text section.
3710 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3712 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3713 Handle the case of targets that do not provide PID information.
3715 2015-04-13 Yao Qi <yao.qi@linaro.org>
3717 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3718 and use expect instead of gdb_expect.
3720 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3722 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3723 "coredump_var_addr" to avoid naming conflict with other testcases.
3725 2015-04-10 Pedro Alves <palves@redhat.com>
3727 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3728 gdb_test_sequence and gdb_assert.
3730 2015-04-10 Pedro Alves <palves@redhat.com>
3732 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3733 test messages that don't include the breakpoint address.
3735 2015-04-10 Yao Qi <yao.qi@linaro.org>
3737 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3738 false for some offset and width combinations which aren't
3739 supported by linux kernel.
3741 2015-04-10 Pedro Alves <palves@redhat.com>
3743 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3744 procedure, factored out from ...
3745 (top level): ... here. Add "set displaced-stepping" testing axis.
3746 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3747 parameter "displaced". Use it.
3748 (top level): Use foreach and add "set displaced-stepping" testing
3751 2015-04-10 Pedro Alves <palves@redhat.com>
3753 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3755 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3756 both the address of the instruction that triggers the watchpoint
3757 and the address of the instruction immediately after, and use
3758 those addresses for the test. Fix comment.
3760 2015-04-10 Pedro Alves <palves@redhat.com>
3762 * gdb.base/sigstep.exp (breakpoint_to_handler)
3763 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3764 Test "backtrace" in handler.
3765 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3766 (top level): Add new "displaced" test axis to
3767 breakpoint_to_handler, breakpoint_to_handler_entry and
3768 breakpoint_over_handler.
3770 2015-04-10 Pedro Alves <palves@redhat.com>
3773 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3775 2015-04-10 Yao Qi <yao.qi@linaro.org>
3777 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3778 (test_add_rn_pc): New function.
3779 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3780 (top level): Invoke test_add_rn_pc.
3782 2015-04-10 Pedro Alves <palves@redhat.com>
3785 * gdb.base/step-over-no-symbols.exp: New file.
3787 2015-04-09 Andy Wingo <wingo@igalia.com>
3789 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3790 after the Python tests.
3792 2015-04-08 Keith Seitz <keiths@redhat.com>
3795 * gdb.python/py-completion.exp: New tests for completion.
3796 * gdb.python/py-completion.py (CompleteLimit1): New class.
3797 (CompleteLimit2): Likewise.
3798 (CompleteLimit3): Likewise.
3799 (CompleteLimit4): Likewise.
3800 (CompleteLimit5): Likewise.
3801 (CompleteLimit6): Likewise.
3802 (CompleteLimit7): Likewise.
3804 2015-04-08 Pedro Alves <palves@redhat.com>
3808 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3810 (main): Install it as SIGUSR1 handler.
3811 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3812 parameter. Always use "setup" as prefix. Toggle "set
3813 displaced-stepping" off/on depending on global. Don't switch to
3815 (top level): Add displaced stepping "off/on" test axis. Update
3816 "setup" calls. Wrap each subtest with with_test_prefix. Test
3817 continuing with a queued signal in each thread.
3819 2015-04-08 Pedro Alves <palves@redhat.com>
3821 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3822 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3823 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3824 Return early if running to main fails.
3825 * gdb.trace/while-stepping.exp: Likewise.
3827 2015-04-07 Pedro Alves <palves@redhat.com>
3829 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3830 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3831 interact with inferior program.
3833 2015-04-07 Pedro Alves <palves@redhat.com>
3835 * lib/gdb.exp (inferior_spawn_id): New global.
3836 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3837 spawn id after processing the user code.
3838 (default_gdb_start): Set inferior_spawn_id.
3839 (send_inferior): New procedure.
3840 * lib/gdbserver-support.exp (gdbserver_start): Set
3842 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3844 2015-04-07 Pedro Alves <palves@redhat.com>
3846 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3847 * lib/gdbserver-support.exp (gdbserver_start): Make
3848 $server_spawn_id global.
3849 (gdbserver_start): Don't wait for gdbserver's spawn id with
3851 (close_gdbserver): New procedure.
3852 (gdb_exit): Rename the default version and reimplement.
3854 2015-04-07 Pedro Alves <palves@redhat.com>
3856 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3857 append the substituted item, not the original item.
3859 2015-04-07 Pedro Alves <palves@redhat.com>
3861 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3864 2015-04-07 Pedro Alves <palves@redhat.com>
3866 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3867 output appearing once only.
3869 2015-04-07 Pedro Alves <palves@redhat.com>
3871 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3872 that doesn't expect anything. Return early if running to main
3875 2015-04-07 Yao Qi <yao.qi@linaro.org>
3877 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3878 (child_function): Call alarm.
3879 (main): Move call to alarm into the loop.
3880 * gdb.threads/non-stop-fair-events.exp: Build program with
3883 2015-04-06 Doug Evans <xdje42@gmail.com>
3885 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3886 Fix dest parameter to board_info.
3887 (fpc_compile): Ditto.
3888 (gdb_compile_pascal): Rename dest arg to destfile.
3890 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3892 * gdb.ada/funcall_ref.exp: New file.
3893 * gdb.ada/funcall_ref/foo.adb: New file.
3895 2015-04-02 Yao Qi <yao.qi@linaro.org>
3897 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3900 2015-04-02 Gary Benson <gbenson@redhat.com>
3902 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3904 2015-04-01 Sasha Smundak <asmundak@google.com>
3906 * gdb.python/py-unwind-maint.c: New file.
3907 * gdb.python/py-unwind-maint.exp: New test.
3908 * gdb.python/py-unwind-maint.py: New file.
3909 * gdb.python/py-unwind.c: New file.
3910 * gdb.python/py-unwind.exp: New test.
3911 * gdb.python/py-unwind.py: New test.
3913 2015-04-01 Pedro Alves <palves@redhat.com>
3915 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3916 to fail instead of non-existent $test.
3918 2015-04-01 Pedro Alves <palves@redhat.com>
3920 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3921 GDBFLAGS if not empty.
3923 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3925 * gdb.ada/complete.exp: Remove "multi_line".
3926 * gdb.ada/info_exc.exp: Remove "multi_line".
3927 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3928 * gdb.ada/ptype_field.exp: Remove "multi_line".
3929 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3930 * gdb.ada/tagged.exp: Remove "multi_line".
3931 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3933 * gdb.btrace/delta.exp: Likewise.
3934 * gdb.btrace/exception.exp: Likewise.
3935 * gdb.btrace/function_call_history.exp: Likewise.
3936 * gdb.btrace/instruction_history.exp: Likewise.
3937 * gdb.btrace/nohist.exp: Likewise.
3938 * gdb.btrace/record_goto.exp: Likewise.
3939 * gdb.btrace/segv.exp: Likewise.
3940 * gdb.btrace/stepi.exp: Likewise.
3941 * gdb.btrace/tailcall.exp: Likewise.
3942 * gdb.btrace/unknown_functions.exp: Likewise.
3943 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3944 * lib/gdb.exp: Add the "multi_line" helper.
3946 2015-04-01 Pedro Alves <palves@redhat.com>
3948 * gdb.threads/tid-reuse.c: New file.
3949 * gdb.threads/tid-reuse.exp: New file.
3951 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3954 * gdb.base/coredump-filter.c: New file.
3955 * gdb.base/coredump-filter.exp: Likewise.
3957 2015-03-27 Petr Machata <pmachata@redhat.com>
3959 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3960 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3961 (Dwarf::assemble): Initialize them.
3962 (Dwarf::lines): New function.
3964 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3966 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3967 SYMBOL_PREFIX for x86_64-*-cygwin.
3969 2015-03-26 Andy Wingo <wingo@igalia.com>
3972 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3973 const_value but not a location.
3974 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3975 location defined in non-main CUs are visible.
3977 2015-03-26 Yao Qi <yao.qi@linaro.org>
3980 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3981 Add a line number entry for the same line.
3982 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3983 Add a line number entry for the same line.
3985 2015-03-26 Yao Qi <yao.qi@linaro.org>
3987 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3989 (func): Likewise. Add .Lfunc_1 label.
3991 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3996 2015-03-26 Yao Qi <yao.qi@linaro.org>
3998 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3999 Call gdb_compile instead to compile each .s files without debug
4002 2015-03-26 Yao Qi <yao.qi@linaro.org>
4004 * gdb.base/savedregs.exp (process_saved_regs): Make
4005 "Saved registers:" optional in the pattern.
4007 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4009 * gdb.btrace/next.exp: Merged into step.exp.
4010 * gdb.btrace/finish.exp: Merged into step.exp.
4011 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4012 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4013 "record goto" and checking the exact replay position.
4014 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4015 check for "Recording format" in "info record" output.
4016 * gdb.btrace/record_goto.exp: Choose test file based on target.
4017 * gdb.btrace/x86-record_goto.S: Renamed into ...
4018 * gdb.btrace/x86_64-record_goto.S: ... this.
4019 * gdb.btrace/i686-record_goto.S: New.
4020 * gdb.btrace/x86-tailcall.S: Renamed into ...
4021 * gdb.btrace/x86_64-tailcall.S: ... this.
4022 * gdb.btrace/i686-tailcall.S: New.
4023 * gdb.btrace/x86-tailcall.c: Renamed into ...
4024 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4025 separate statements. Update test.
4026 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4027 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4028 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4029 * gdb.btrace/tailcall.exp: Choose test file based on target.
4030 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4032 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4034 * gdb.btrace/exception.exp: Increase BTS buffer size.
4036 2015-03-24 Pedro Alves <palves@redhat.com>
4038 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4040 2015-03-24 Pedro Alves <palves@redhat.com>
4042 * gdb.threads/schedlock.exp (test_step): No longer expect that
4043 "set scheduler-locking step" with "next" over a function call runs
4046 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4048 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4050 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4052 PR breakpoints/16466
4053 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4054 * gdb.mi/mi-pending.c (thread_func): New function.
4055 (int main): Add threading support required.
4056 * gdb.mi/mi-pending.exp: Add tests for this issue.
4057 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4058 (pendfunc2): Remove stdio dependency.
4059 * gdb.mi/mi-pendshr2.c: New file.
4061 2015-03-23 Keith Seitz <keiths@redhat.com>
4063 * gdb.linespec/keywords.c: New file.
4064 * gdb.linespec/keywords.exp: New file.
4066 2015-03-23 Keith Seitz <keiths@redhat.com>
4069 * gdb.dwarf2/staticvirtual.exp: New test.
4071 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4073 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4074 * README: Remove HP-UX and gdb.hp.
4076 * configure: Regenerate.
4077 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4078 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4079 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4080 gdb.hp/gdb.defects/Makefile.
4081 * gdb.hp/Makefile.in: File deleted.
4082 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4083 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4084 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4085 * gdb.hp/gdb.aCC/run.c: File deleted.
4086 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4087 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4088 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4089 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4090 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4091 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4092 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4093 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4094 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4095 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4096 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4097 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4098 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4099 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4100 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4101 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4102 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4103 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4104 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4105 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4106 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4107 * gdb.hp/gdb.compat/average.c: File deleted.
4108 * gdb.hp/gdb.compat/sum.c: File deleted.
4109 * gdb.hp/gdb.compat/xdb.c: File deleted.
4110 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4111 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4112 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4113 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4114 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4115 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4116 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4117 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4118 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4119 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4120 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4121 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4122 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4123 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4124 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4125 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4126 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4127 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4128 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4129 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4130 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4131 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4132 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4133 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4134 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4135 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4136 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4137 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4138 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4139 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4140 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4141 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4142 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4143 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4144 * gdb.hp/tools/odump: File deleted.
4146 2015-03-19 Pedro Alves <palves@redhat.com>
4148 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4149 (saw_thread_3): New globals.
4150 (top level): Increment them when an event for the corresponding
4152 (no thread starvation): New test.
4154 2015-03-19 Pedro Alves <palves@redhat.com>
4156 * gdb.threads/continue-pending-status.c: New file.
4157 * gdb.threads/continue-pending-status.exp: New file.
4159 2015-03-18 Pedro Alves <palves@redhat.com>
4161 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4162 Use gdb_is_target_remote instead of is_remote. Use
4163 gdb_test_multiple instead of gdb_expect. Exit early if
4164 gdb_test_multiple hits its internal matches. Tighten stepi tests
4165 expected output. Fail on exit with any signal, instead of just
4168 2015-03-18 Yao Qi <yao.qi@linaro.org>
4171 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4173 * gdb.base/catch-syscall.exp: Don't skip it on
4174 aarch64*-*-linux* target. Remove elements in all_syscalls.
4175 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4177 (setup_all_syscalls): New proc.
4179 2015-03-16 Yao Qi <yao.qi@linaro.org>
4181 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4182 (top level): Skip tests if valid_addr_p returns false for
4185 2015-03-11 Andy Wingo <wingo@igalia.com>
4187 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4189 2015-03-11 Yao Qi <yao.qi@linaro.org>
4191 * gdb.base/catch-syscall.exp: Fix typo in comments.
4193 2015-03-11 Yao Qi <yao.qi@linaro.org>
4195 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4197 2015-03-09 Pedro Alves <palves@redhat.com>
4199 * dg-extract-results.py: Delete.
4201 2015-03-09 Pedro Alves <palves@redhat.com>
4203 Merge dg-extract-results.sh from GCC upstream (r218843).
4205 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4206 * dg-extract-results.sh: Use --text with grep to avoid issues with
4207 binary files. Fall back to cat -v, if that doesn't work.
4209 2015-03-05 Pedro Alves <palves@redhat.com>
4211 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4213 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4215 * lib/mi-support.exp (mi_expect_interrupt): Accept
4216 alternative event for when in all-stop mode.
4218 2015-03-04 Pedro Alves <palves@redhat.com>
4220 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4222 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4224 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4226 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4228 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4229 regexps for GDB's current line display, accept a hex address
4230 preceding the line number.
4232 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4234 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4235 the 'arch1' variable for "s390*-linux*" targets.
4237 2015-03-04 Pedro Alves <palves@redhat.com>
4239 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4240 (main): Pass missing retval argument to pthread_join call.
4242 2015-03-02 Pedro Alves <palves@redhat.com>
4244 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4245 (top level): Call do_test with non-stop as well.
4247 2015-03-02 Pedro Alves <palves@redhat.com>
4249 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4252 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4254 * gdb.arch/s390-vregs.exp: New test.
4255 * gdb.arch/s390-vregs.S: New file.
4257 2015-02-27 Pedro Alves <palves@redhat.com>
4259 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4260 call to catch_command_errors.
4261 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4262 catch_command_errors.
4264 2015-02-27 Pedro Alves <palves@redhat.com>
4266 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4267 "true" for boolean result.
4268 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4271 2015-02-27 Pedro Alves <palves@redhat.com>
4273 * lib/unbuffer_output.c: New file.
4274 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4275 (main): Call gdb_unbuffer_output.
4277 2015-02-27 Yao Qi <yao.qi@linaro.org>
4279 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4282 2015-02-26 Doug Evans <dje@google.com>
4284 * gdb.cp/class2.cc (Dbase, D): New classes.
4285 (main): New local delta.
4286 * gdb.cp/class2.exp: Test printing delta.
4287 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4288 (dynbar): New global.
4289 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4291 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4293 * gdb.compile/compile-ifunc.c: New file.
4294 * gdb.compile/compile-ifunc.exp: New file.
4296 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4298 * gdb.base/structs.exp: Check for correct struct on finish.
4300 2015-02-26 Yao Qi <yao.qi@linaro.org>
4302 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4305 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4307 * gdb.arch/cordic.ko.bz2: New file.
4308 * gdb.arch/cordic.ko.debug.bz2: New file.
4309 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4311 2015-02-25 Yao Qi <yao.qi@linaro.org>
4313 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4314 aarch64*-*-* target.
4316 2015-02-23 Pedro Alves <palves@redhat.com>
4318 * lib/gdb.exp (delete_breakpoints): Rewrite using
4321 2015-02-23 Pedro Alves <palves@redhat.com>
4323 * gdb.base/info-os.c: Include stdlib.h.
4325 2015-02-22 Doug Evans <xdje42@gmail.com>
4328 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4329 is read after symbols have been re-read.
4330 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4331 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4333 2015-02-21 Doug Evans <dje@google.com>
4335 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4337 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4340 * gdb.arch/i386-biarch-core.core.bz2: New file.
4341 * gdb.arch/i386-biarch-core.exp: New file.
4343 2015-02-21 Pedro Alves <palves@redhat.com>
4345 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4348 2015-02-20 Pedro Alves <palves@redhat.com>
4350 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4353 2015-02-20 Pedro Alves <palves@redhat.com>
4355 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4357 2015-02-20 Pedro Alves <palves@redhat.com>
4359 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4360 clean_restart before gdb_target_supports_trace.
4362 2015-02-20 Pedro Alves <palves@redhat.com>
4365 * gdb.threads/clone-thread_db.c: New file.
4366 * gdb.threads/clone-thread_db.exp: New file.
4368 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4370 PR breakpoints/16812
4371 * gdb.base/catch-gdb-caused-signals.c: New file.
4372 * gdb.base/catch-gdb-caused-signals.exp: New file.
4374 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4376 * configure: Regenerated.
4377 * configure.ac: Use GDB_AC_TRANSFORM.
4378 * aclocal.m4: sinclude ../transform.m4.
4380 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4382 * lib/dtrace.exp: New file.
4383 * gdb.base/dtrace-probe.exp: Likewise.
4384 * gdb.base/dtrace-probe.d: Likewise.
4385 * gdb.base/dtrace-probe.c: Likewise.
4386 * lib/pdtrace.in: Likewise.
4387 * configure.ac: Output variables with the transformed names of
4388 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4389 * configure: Regenerated.
4391 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4393 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4394 expected message when trying to access $_probe_* convenience
4395 variables while not on a probe.
4397 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4399 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4401 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4403 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4404 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4406 2015-02-10 Doug Evans <xdje42@gmail.com>
4408 * lib/gdb.exp (gdb_load): Always return a result.
4410 2015-02-10 Pedro Alves <palves@redhat.com>
4412 * gdb.threads/signal-sigtrap.c: New file.
4413 * gdb.threads/signal-sigtrap.exp: New file.
4415 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4417 * gdb.trace/no-attach-trace.c: New file.
4418 * gdb.trace/no-attach-trace.exp: New file.
4420 2015-02-09 Mark Wielaard <mjw@redhat.com>
4422 * gdb.dwarf2/atomic.c: New file.
4423 * gdb.dwarf2/atomic-type.exp: Likewise.
4425 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4427 * gdb.btrace/buffer-size.exp: Update "info record" output.
4428 * gdb.btrace/delta.exp: Update "info record" output.
4429 * gdb.btrace/enable.exp: Update "info record" output.
4430 * gdb.btrace/finish.exp: Update "info record" output.
4431 * gdb.btrace/instruction_history.exp: Update "info record" output.
4432 * gdb.btrace/next.exp: Update "info record" output.
4433 * gdb.btrace/nexti.exp: Update "info record" output.
4434 * gdb.btrace/step.exp: Update "info record" output.
4435 * gdb.btrace/stepi.exp: Update "info record" output.
4436 * gdb.btrace/nohist.exp: Update "info record" output.
4438 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4440 * gdb.btrace/buffer-size: New.
4442 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4444 * gdb.btrace/delta.exp: Update "info record" output.
4445 * gdb.btrace/enable.exp: Update "info record" output.
4446 * gdb.btrace/finish.exp: Update "info record" output.
4447 * gdb.btrace/instruction_history.exp: Update "info record" output.
4448 * gdb.btrace/next.exp: Update "info record" output.
4449 * gdb.btrace/nexti.exp: Update "info record" output.
4450 * gdb.btrace/step.exp: Update "info record" output.
4451 * gdb.btrace/stepi.exp: Update "info record" output.
4452 * gdb.btrace/nohist.exp: Update "info record" output.
4454 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4457 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4459 2015-02-06 Pedro Alves <palves@redhat.com>
4461 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4463 (seconds_left, again): New globals.
4464 (main): Wait seconds_left in a 1-second sleep loop instead of
4465 sleeping 180 seconds. If 'again' is set, reset the seconds
4467 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4468 'again' in the inferior before detaching. Print the seconds left.
4469 (options): New global.
4470 (top level): Build program with -DTIMEOUT=$timeout.
4472 2015-02-06 Pedro Alves <palves@redhat.com>
4474 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4475 determine how many seconds to pass to 'alarm'.
4476 * gdb.base/gdb-sigterm.exp (top level): Build program with
4478 (do_test): Return success/failure indication. Add more verbose
4479 logging. Don't fail if 200 single steps are seen. Instead, fail
4480 when the test times out.
4481 (passes): New global.
4482 (top level): Break the testing loop if testing fails on any
4483 iteration. Use gdb_assert.
4485 2015-02-04 Don Breazeal <donb@codesourcery.com>
4487 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4488 and initialize them.
4489 (ipc_cleanup): New function.
4490 (main): Don't declare shmid, semid, and msqid. Add a call to
4491 atexit so that we call ipc_cleanup on exit.
4493 2015-02-04 Pedro Alves <palves@redhat.com>
4495 * boards/native-extended-gdbserver.exp: Remove any target variant
4496 specifications from the board name before clearing the isremote
4497 flag from board_info.
4499 2015-01-31 Doug Evans <xdje42@gmail.com>
4501 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4503 2015-01-31 Gary Benson <gbenson@redhat.com>
4505 * gdb.base/completion.exp: Disable completion limiting for
4506 existing tests. Add new tests to check completion limiting.
4507 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4509 2015-01-31 Doug Evans <xdje42@gmail.com>
4511 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4513 2015-01-31 Doug Evans <xdje42@gmail.com>
4515 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4516 entries. Duplicate file section script entries.
4517 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4518 inlined entries. Add test for safe-path rejection.
4519 * gdb.python/py-section-script.c: Add duplicate inlined section script
4520 entries. Duplicate file section script entries.
4521 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4522 inlined entries. Add test for safe-path rejection.
4524 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4526 * gdb.ada/disc_arr_bound: New testcase.
4528 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4530 * gdb.ada/mi_var_array: New testcase.
4532 2015-01-27 Doug Evans <dje@google.com>
4534 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4535 Add test for objfile.filename, objfile.username after objfile
4538 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4540 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4541 the second test to print the name attribute of value
4542 returned by the call to gdb.lookup_type, and adjust
4543 the expected output accordingly.
4545 2015-01-25 Mark Wielaard <mjw@redhat.com>
4547 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4548 * gdb.base/disp-step-fork.c: Include unistd.h.
4549 * gdb.base/siginfo-obj.c: Include stdio.h.
4550 * gdb.base/siginfo-thread.c: Likewise.
4551 * gdb.mi/non-stop.c: Include unistd.h.
4552 * gdb.mi/nsthrexec.c: Include stdio.h.
4553 * gdb.mi/pthreads.c: Include unistd.h.
4554 * gdb.modula2/unbounded1.c (main): Declare returns int.
4555 * gdb.reverse/consecutive-reverse.c: Likewise.
4556 * gdb.threads/create-fail.c: Include unistd.h.
4557 * gdb.threads/killed.c: Likewise.
4558 * gdb.threads/linux-dp.c: Likewise.
4559 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4560 * gdb.threads/non-ldr-exc-2.c: Likewise.
4561 * gdb.threads/non-ldr-exc-3.c: Likewise.
4562 * gdb.threads/non-ldr-exc-4.c: Likewise.
4563 * gdb.threads/pthreads.c: Include unistd.h.
4564 (main): Declare returns int.
4565 * gdb.threads/tls-main.c (foo): New declaration.
4566 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4568 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4570 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4571 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4573 2015-01-15 Mark Wielaard <mjw@redhat.com>
4575 * gdb.base/noreturn-return.c: New file.
4576 * gdb.base/noreturn-return.exp: New file.
4577 * gdb.base/noreturn-finish.c: New file.
4578 * gdb.base/noreturn-finish.exp: New file.
4580 2015-01-23 Pedro Alves <palves@redhat.com>
4582 * gdb.threads/continue-pending-after-query.c: New file.
4583 * gdb.threads/continue-pending-after-query.exp: New file.
4585 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4586 Simon Marchi <simon.marchi@ericsson.com>
4588 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4589 * gdb.base/valgrind-db-attach.exp: Same.
4590 * gdb.base/valgrind-infcall.exp: Same.
4591 * lib/mi-support.exp (default_mi_gdb_start): Same.
4592 * lib/prompt.exp (default_prompt_gdb_start): Same.
4593 * lib/gdb.exp (default_gdb_spawn): Same.
4594 (gdb_interact): New.
4597 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4599 * gdb.compile/compile.exp (pointer to jit function): New test.
4601 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4603 * lib/gdb.exp (supports_process_record): Return true for
4605 (supports_reverse): Likewise.
4607 2015-01-15 Don Breazeal <donb@codesourcery.com>
4609 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4610 instead of checking whether the target board is remote and
4611 use spawn_wait_for_attach instead of exec/sleep.
4612 * gdb.base/attach-twice.exp: Likewise.
4614 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4616 * gdb.ada/var_arr_attrs: New testcase.
4618 2015-01-14 Pedro Alves <palves@redhat.com>
4619 Joel Brobecker <brobecker@adacore.com>
4622 * gdb.base/bp-cmds-execution-x-script.c: New file.
4623 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4624 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4626 2015-01-14 Pedro Alves <palves@redhat.com>
4629 * gdb.base/batch-preserve-term-settings.c: New file.
4630 * gdb.base/batch-preserve-term-settings.exp: New file.
4632 2015-01-13 Doug Evans <dje@google.com>
4634 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4637 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4639 * Makefile.in (clean mostlyclean): Do not delete *.py.
4641 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4643 * gdb.python/py-lookup-type.exp: New file.
4645 2015-01-12 Pedro Alves <palves@redhat.com>
4647 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4648 restore GDBFLAGS before returning.
4650 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4652 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4653 is_amd64_regs_target and is_x86_like_target.
4655 2015-01-11 Doug Evans <xdje42@gmail.com>
4657 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4658 is given without an explicit form.
4659 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4661 * gdb.dwarf/corrupt.exp: Ditto.
4662 * gdb.dwarf2/enum-type.exp: Ditto.
4663 * gdb.trace/entry-values.exp: Ditto.
4664 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4666 2015-01-11 Doug Evans <xdje42@gmail.com>
4669 * gdb.base/maint.exp: Remove references to "maint demangle".
4670 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4671 Add tests for explicitly specifying language to demangle.
4672 * gdb.dlang/demangle.exp: Ditto.
4674 2015-01-09 Pedro Alves <palves@redhat.com>
4676 * gdb.threads/non-stop-fair-events.c: New file.
4677 * gdb.threads/non-stop-fair-events.exp: New file.
4679 2015-01-09 Pedro Alves <palves@redhat.com>
4681 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4682 the global scope. Set a breakpoint after all threads are started
4683 rather than stepping over two source lines. Expect the prompt.
4684 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4687 (main): Use threads_started_barrier to wait for all threads to
4688 start. Main thread no longer calls thread_function. Exit after
4690 (loop): New function.
4691 (thread_function): Wait on threads_started_barrier barrier. Call
4692 'loop' at each iteration.
4693 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4694 threads have started, instead of hardcoding number of "next"
4695 steps. Use an access watchpoint instead of a write watchpoint.
4697 2015-01-09 Pedro Alves <palves@redhat.com>
4699 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4700 (thread_func): Wait on barrier.
4701 (main): Wait for all threads to start before stopping GDB.
4702 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4704 (thread1_func, thread2_func): Wait on barrier.
4705 (main): Wait for all threads to start before stopping GDB.
4706 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4708 (thread1_func, thread2_func): Wait on barrier.
4709 (main): Wait for all threads to start before stopping GDB.
4711 2015-01-09 Pedro Alves <palves@redhat.com>
4713 * gdb.threads/attach-many-short-lived-threads.c: New file.
4714 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4716 2014-01-09 Pedro Alves <palves@redhat.com>
4718 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4719 instead of to thread 2.
4720 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4721 Add barrier around each pthread_create call instead of around all
4723 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4724 Set a break on thread_function and have the child threads hit it
4727 2015-01-09 Pedro Alves <palves@redhat.com>
4729 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4730 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4732 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4733 checking whether the target board is remote.
4734 * gdb.multi/multi-attach.exp: Likewise.
4735 * gdb.python/py-sync-interp.exp: Likewise.
4736 * gdb.server/ext-attach.exp: Likewise.
4737 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4738 tests that need to attach, instead of checking whether the target
4739 board is remote at the top of the file.
4741 2015-01-08 Yao Qi <yao@codesourcery.com>
4743 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4745 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4747 Fix testcase compilation.
4748 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4750 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4752 * gdb.python/py-type.exp: Add a couple test about empty
4753 array creation, and negative-length array creation.
4755 2015-01-02 Doug Evans <xdje42@gmail.com>
4757 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4759 2015-01-02 Doug Evans <dje@google.com>
4761 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4763 2014-12-29 Yao Qi <yao@codesourcery.com>
4765 * gdb.trace/entry-values.exp: Update comments. Rename variable
4766 bar_call_foo to returned_from_foo.
4768 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4771 * gdb.linespec/break-asm-file.c: New file.
4772 * gdb.linespec/break-asm-file.exp: New file.
4773 * gdb.linespec/break-asm-file0.s: New file.
4774 * gdb.linespec/break-asm-file1.s: New file.
4776 2014-12-18 Nigel Stephens <nigel@mips.com>
4777 Maciej W. Rozycki <macro@codesourcery.com>
4779 * gdb.base/float.exp: Handle the new output from "info float" on
4782 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4784 Fix MinGW compilation.
4785 * gdb.compile/compile-ops.exp: Update untested message if
4786 !skip_compile_feature_tests.
4787 * gdb.compile/compile-setjmp.exp: Likewise.
4788 * gdb.compile/compile-tls.exp: Likewise.
4789 * gdb.compile/compile.exp: Likewise.
4790 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4791 supported on this host".
4793 2014-12-16 Doug Evans <xdje42@gmail.com>
4795 * boards/stabs.exp: New file.
4797 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4799 * gdb.base/completion.exp: Adjust to format changes of "maint
4800 print user-registers".
4802 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4805 * gdb.arch/aarch64-fp.c: New file.
4806 * gdb.arch/aarch64-fp.exp: New file.
4808 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4810 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4811 r210637, r210913, r211666, r215400, r215817).
4813 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4814 * dg-extract-results.py: New file.
4815 * dg-extract-results.sh: Use it if the environment seems
4818 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4820 * dg-extract-results.py (parse_run): Handle warnings that
4821 are printed before a test harness is run.
4823 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4825 * dg-extract-results.py (Named): Remove __cmp__ method.
4826 (output_variation): Use a key to sort variation.harnesses.
4828 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4830 * dg-extract-results.py: For Python 3, force sys.stdout to
4831 handle surrogate escape sequences.
4832 (safe_open): New function.
4833 (output_segment, main): Use it.
4835 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4837 * dg-extract-results.py (Prog.result_re): Include options
4840 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4842 * dg-extract-results.py (output_variation): Always sort if
4845 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4847 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4848 as long as we get pagination notifications.
4850 2014-12-15 Jason Merrill <jason@redhat.com>
4852 * Makefile.in (check-gdb.%): Restore.
4853 * README: Mention it.
4855 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4857 * gdb.ada/str_uninit: New testcase.
4859 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4862 * gdb.base/vla-stub-define.c: New file.
4863 * gdb.base/vla-stub.c: New file.
4864 * gdb.base/vla-stub.exp: New file.
4866 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4867 Jan Kratochvil <jan.kratochvil@redhat.com>
4868 Tom Tromey <tromey@redhat.com>
4870 * configure.ac: Add gdb.compile/.
4871 * configure: Regenerate.
4872 * gdb.compile/Makefile.in: New file.
4873 * gdb.compile/compile-ops.exp: New file.
4874 * gdb.compile/compile-ops.c: New file.
4875 * gdb.compile/compile-tls.c: New file.
4876 * gdb.compile/compile-tls.exp: New file.
4877 * gdb.compile/compile-constvar.S: New file.
4878 * gdb.compile/compile-constvar.c: New file.
4879 * gdb.compile/compile-mod.c: New file.
4880 * gdb.compile/compile-nodebug.c: New file.
4881 * gdb.compile/compile-setjmp-mod.c: New file.
4882 * gdb.compile/compile-setjmp.c: New file.
4883 * gdb.compile/compile-setjmp.exp: New file.
4884 * gdb.compile/compile-shlib.c: New file.
4885 * gdb.compile/compile.c: New file.
4886 * gdb.compile/compile.exp: New file.
4887 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4889 2014-12-12 Tom Tromey <tromey@redhat.com>
4891 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4892 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4894 2014-12-12 Doug Evans <dje@google.com>
4896 * lib/gdb-python.exp (get_python_valueof): New function.
4897 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4899 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4901 * gdb.base/completion.exp: Add test for completion of "info
4904 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4906 * gdb.base/func-ptrs.c: New file.
4907 * gdb.base/func-ptrs.exp: New file.
4909 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4911 PR breakpoints/17012
4912 * gdb.base/dprintf-detach.c: New file.
4913 * gdb.base/dprintf-detach.exp: New file.
4915 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4917 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4918 * lib/gdb.exp (target_is_gdbserver): New procedure.
4920 2014-12-08 Doug Evans <dje@google.com>
4922 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4924 2014-12-05 Yao Qi <yao@codesourcery.com>
4926 * gdb.guile/scm-error.exp: Remove the third argument to
4927 gdb_remote_download.
4928 * gdb.guile/scm-frame-args.exp: Likewise.
4929 * gdb.guile/scm-section-script.exp: Likewise.
4931 2014-12-05 Yao Qi <yao@codesourcery.com>
4933 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4935 2014-12-04 Doug Evans <dje@google.com>
4937 * gdb.python/py-objfile.exp: Add tests for
4938 objfile.add_separate_debug_file.
4940 2014-12-04 Doug Evans <dje@google.com>
4942 * lib/gdb.exp (get_build_id): New function.
4943 (build_id_debug_filename_get): Rewrite to use it.
4944 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4946 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4948 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4949 `method(long)', not just 0x0.
4950 * gdb.cp/nsalias.exp: Align code labels to 4.
4951 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4952 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4953 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4954 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4955 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4956 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4958 2014-12-02 Doug Evans <dje@google.com>
4961 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4962 * gdb.cp/anon-ns2.cc: ... here. New file.
4963 * gdb.cp/anon-ns.exp: Update.
4965 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4967 * gdb.python/py-events.py (inferior_call_handler): New.
4968 (register_changed_handler, memory_changed_handler): New.
4969 (test_events.invoke): Register new handlers.
4970 * gdb.python/py-events.exp: Add tests for inferior call,
4971 memory_changed and register_changed events.
4973 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4975 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4976 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4977 if the linker doesn't understand this.
4979 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4981 * gdb.python/python.exp: Change expected reply to help().
4983 2014-12-01 Yao Qi <yao@codesourcery.com>
4985 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4986 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4987 * configure: Re-generated.
4989 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4991 * gdb.cp/chained-calls.cc: New file.
4992 * gdb.cp/chained-calls.exp: New file.
4993 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4995 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4997 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4998 * gdb.dwarf2/symtab-producer.exp: Same.
4999 * gdb.gdb/python-interrupts.exp: Same.
5000 * gdb.gdb/python-selftest.exp: Same.
5001 * gdb.python/py-linetable.exp: Same.
5002 * gdb.python/py-type.exp: Same.
5003 * gdb.python/py-value-cc.exp: Same.
5004 * gdb.python/py-value.exp: Same.
5006 2014-11-28 Yao Qi <yao@codesourcery.com>
5008 * gdb.base/break-probes.exp: Match library name prefixed with
5011 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5013 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5014 test expected output. Add parentheses for the call to print.
5015 Remove L suffix from integers.
5017 2014-11-26 Doug Evans <dje@google.com>
5019 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5021 2014-11-22 Yao Qi <yao@codesourcery.com>
5023 * gdb.trace/entry-values.c: Remove asms.
5024 (foo): Add foo_label.
5025 (bar): Add bar_label.
5026 * gdb.trace/entry-values.exp: Remove code computing foo's
5027 length and bar's length.
5028 (Dwarf::assemble): Invoke function_range for bar and use
5029 MACRO_AT_func for foo.
5031 2014-11-22 Yao Qi <yao@codesourcery.com>
5033 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5034 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5035 Use .Lgcc43_procstart instead of gcc43.
5037 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5039 * gdb.ada/n_arr_bound: New testcase.
5041 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5043 PR breakpoints/10737
5044 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5045 test_catch_syscall_multi_arch.
5046 (test_catch_syscall_multi_arch): New function.
5048 2014-11-20 Doug Evans <xdje42@gmail.com>
5050 * gdb.base/maint.exp: Update expected output.
5052 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5054 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5055 4-byte instruction on S390.
5057 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5059 * gdb.ada/arr_arr: New testcase.
5061 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5063 * gdb.ada/pkd_arr_elem: New Testcase.
5065 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5067 * gdb.reverse/break-precsave: Expect completion message for
5069 * gdb.reverse/consecutive-precsave.exp: Likewise.
5070 * gdb.reverse/finish-precsave.exp: Likewise.
5071 * gdb.reverse/i386-precsave.exp: Likewise.
5072 * gdb.reverse/machinestate-precsave.exp: Likewise.
5073 * gdb.reverse/sigall-precsave.exp: Likewise.
5074 * gdb.reverse/solib-precsave.exp: Likewise.
5075 * gdb.reverse/step-precsave.exp: Likewise.
5076 * gdb.reverse/until-precsave.exp: Likewise.
5077 * gdb.reverse/watch-precsave.exp: Likewise.
5079 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5081 * gdb.base/bp-permanent.c: Include unistd.h.
5082 * gdb.python/py-framefilter-mi.c (main): Add return type.
5083 * gdb.python/py-framefilter.c (main): Likewise.
5084 * gdb.trace/actions-changed.c (main): Likewise.
5086 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5088 * gdb.mi/until.c: Add eye-catchers.
5089 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5092 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5094 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5095 function header variants in break1.c.
5096 * gdb.base/ena-dis-br.exp: Likewise.
5097 * gdb.base/hbreak2.exp: Likewise.
5098 * gdb.reverse/until-precsave.exp: Drop references to removed
5099 non-prototype function header variants in ur1.c.
5100 * gdb.reverse/until-reverse.exp: Likewise.
5102 2014-11-17 Petr Machata <pmachata@redhat.com>
5104 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5105 ${_cu_offset_size} bytes abbrev offset.
5107 2014-11-15 Doug Evans <xdje42@gmail.com>
5110 * gdb.base/line-symtabs.exp: New file.
5111 * gdb.base/line-symtabs.c: New file.
5112 * gdb.base/line-symtabs.h: New file.
5114 2014-11-14 Yao Qi <yao@codesourcery.com>
5116 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5117 (func): Add label func_label.
5118 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5119 Replace low_pc and high_pc with MACRO_AT_range.
5120 Replace name, low_pc and high_pc with MACRO_AT_func.
5122 2014-11-14 Yao Qi <yao@codesourcery.com>
5124 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5125 Replace name, low_pc and high_pc with MACRO_AT_func.
5127 2014-11-14 Yao Qi <yao@codesourcery.com>
5129 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5130 produce debug information.
5131 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5133 2014-11-14 Yao Qi <yao@codesourcery.com>
5135 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5136 object and get function length.
5137 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5139 (top-level): Replace gdb_compile and clean_restart with
5140 prepare_for_testing.
5141 * gdb.dwarf2/main.c (main): Add label main_label.
5143 2014-11-14 Yao Qi <yao@codesourcery.com>
5145 * lib/dwarf.exp (function_range): New procedure.
5146 (Dwarf::_handle_macro_at_func): New procedure.
5147 (Dwarf::_handle_macro_at_range): New procedure.
5148 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5150 2014-11-14 Yao Qi <yao@codesourcery.com>
5152 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5153 (_handle_attribute): New procedure.
5155 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5157 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5158 * gdb.base/call-sc.c (zed): Likewise.
5159 * gdb.base/checkpoint.c (main): Likewise.
5160 * gdb.base/dump.c (main): Likewise.
5161 * gdb.base/gcore.c (main): Likewise.
5162 * gdb.base/huge.c (main): Likewise.
5163 * gdb.base/multi-forks.c (main): Likewise.
5164 * gdb.base/pr10179-a.c (main): Likewise.
5165 * gdb.base/savedregs.c (main): Likewise.
5166 * gdb.base/sigaltstack.c (main): Likewise.
5167 * gdb.base/siginfo.c (main): Likewise.
5168 * gdb.base/structs.c (zed): Likewise.
5169 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5170 * gdb.mi/mi-syn-frame.c (main): Likewise.
5171 * gdb.mi/until.c (foo, main): Likewise.
5172 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5173 * gdb.base/solib-weak.c (foo): Declare.
5174 * gdb.base/attach-twice.c: Include stdio.h.
5175 * gdb.base/weaklib1.c: Likewise.
5176 * gdb.base/weaklib2.c: Likewise.
5177 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5178 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5180 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5181 * gdb.mi/mi-exit-code.c: Likewise.
5182 * gdb.base/break-interp-lib.c: Include string.h.
5183 * gdb.base/coremaker.c: Likewise.
5184 * gdb.base/testenv.c: Likewise.
5185 * gdb.python/py-finish-breakpoint.c: Likewise.
5186 * gdb.base/inferior-died.c: Include sys/wait.h.
5187 * gdb.base/fileio.c: Include time.h.
5188 * gdb.base/async-shell.c: Include unistd.h.
5189 * gdb.base/dprintf-non-stop.c: Likewise.
5190 * gdb.base/info-os.c: Likewise.
5191 * gdb.mi/mi-console.c: Likewise.
5192 * gdb.mi/watch-nonstop.c: Likewise.
5193 * gdb.python/py-events.c: Likewise.
5194 * gdb.base/async.c (baz): Move up before its invocation.
5195 * gdb.base/code_elim2.c (my_global_func): Likewise.
5196 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5197 * gdb.base/advance.c (func2): Likewise.
5199 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5201 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5203 * gdb.base/annota3.c: Likewise.
5204 * gdb.base/async.c: Likewise.
5205 * gdb.base/average.c: Likewise.
5206 * gdb.base/call-ar-st.c: Likewise.
5207 * gdb.base/call-rt-st.c: Likewise.
5208 * gdb.base/call-sc.c: Likewise.
5209 * gdb.base/call-strs.c: Likewise.
5210 * gdb.base/ending-run.c: Likewise.
5211 * gdb.base/execd-prog.c: Likewise.
5212 * gdb.base/exprs.c: Likewise.
5213 * gdb.base/foll-exec.c: Likewise.
5214 * gdb.base/foll-fork.c: Likewise.
5215 * gdb.base/foll-vfork.c: Likewise.
5216 * gdb.base/funcargs.c: Likewise.
5217 * gdb.base/gcore.c: Likewise.
5218 * gdb.base/jump.c: Likewise.
5219 * gdb.base/langs0.c: Likewise.
5220 * gdb.base/langs1.c: Likewise.
5221 * gdb.base/langs2.c: Likewise.
5222 * gdb.base/mips_pro.c: Likewise.
5223 * gdb.base/nodebug.c: Likewise.
5224 * gdb.base/opaque0.c: Likewise.
5225 * gdb.base/opaque1.c: Likewise.
5226 * gdb.base/recurse.c: Likewise.
5227 * gdb.base/run.c: Likewise.
5228 * gdb.base/scope0.c: Likewise.
5229 * gdb.base/scope1.c: Likewise.
5230 * gdb.base/setshow.c: Likewise.
5231 * gdb.base/setvar.c: Likewise.
5232 * gdb.base/shmain.c: Likewise.
5233 * gdb.base/shr1.c: Likewise.
5234 * gdb.base/shr2.c: Likewise.
5235 * gdb.base/sigall.c: Likewise.
5236 * gdb.base/signals.c: Likewise.
5237 * gdb.base/so-indr-cl.c: Likewise.
5238 * gdb.base/solib2.c: Likewise.
5239 * gdb.base/structs.c: Likewise.
5240 * gdb.base/sum.c: Likewise.
5241 * gdb.base/vforked-prog.c: Likewise.
5242 * gdb.base/watchpoint.c: Likewise.
5243 * gdb.reverse/shr2.c: Likewise.
5244 * gdb.reverse/until-reverse.c: Likewise.
5245 * gdb.reverse/ur1.c: Likewise.
5246 * gdb.reverse/watch-reverse.c: Likewise.
5248 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5250 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5252 * gdb.base/sepdebug.exp: Drop references to removed code.
5254 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5256 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5257 variant. Preserve original line numbering.
5258 * gdb.base/list1.c: Likewise.
5260 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5262 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5264 * gdb.base/break1.c: Likewise.
5265 * gdb.base/break.exp: Drop references to removed code.
5267 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5269 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5272 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5274 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5276 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5278 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5279 logic into perform_all_tests() and invoke it with and without
5280 function header prototypes.
5281 (do_function_calls): Remove conditional XFAIL for PR 5318.
5282 (rerun_and_prepare): Remove duplicate code.
5283 (perform_all_tests): New. Main logic moved here.
5285 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5287 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5288 code guarded by #ifdef NO_PROTOTYPES.
5289 (t_double_many_args): Likewise.
5290 (DEF_FUNC_MANY_ARGS_1): Likewise.
5291 (DEF_FUNC_VALUES_1): Likewise.
5292 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5293 guarded by #ifdef PROTOTYPES.
5295 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5297 * gdb.mi/mi-console.c: Add eye-catcher.
5298 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5299 instead of literal line number.
5301 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5303 * gdb.base/shr2.c: Add eye-catcher.
5304 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5307 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5309 * gdb.base/jump.c: Add eye-catchers.
5310 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5313 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5315 * gdb.base/execd-prog.c: Add eye-catchers.
5316 * gdb.base/foll-exec.c: Likewise.
5317 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5320 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5322 * gdb.base/ending-run.c: Add eye-catchers.
5323 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5324 literal line numbers.
5326 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5328 * gdb.base/call-rt-st.c: Add eye-catchers.
5329 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5330 literal line numbers.
5332 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5334 * gdb.base/call-ar-st.c: Add eye-catchers.
5335 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5336 literal line numbers.
5338 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5340 * gdb.base/average.c: Add eye-catchers.
5341 * gdb.base/sum.c: Likewise.
5342 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5343 regexps dynamically.
5345 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5347 * gdb.base/solib1.c: Add eye-catchers.
5348 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5349 literal line numbers.
5351 2014-11-12 Pedro Alves <palves@redhat.com>
5353 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5356 2014-11-12 Pedro Alves <palves@redhat.com>
5358 * gdb.arch/i386-bp_permanent.c: New file.
5359 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5360 (srcfile): Set to i386-bp_permanent.c.
5361 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5362 that stepi does not execute the 'leave' instruction, instead of
5363 testing it does execute.
5364 * gdb.base/bp-permanent.c: New file.
5365 * gdb.base/bp-permanent.exp: New file.
5367 2014-11-10 Doug Evans <xdje42@gmail.com>
5370 * gdb.base/symtab-search-order.exp: New file.
5371 * gdb.base/symtab-search-order.c: New file.
5372 * gdb.base/symtab-search-order-1.c: New file.
5373 * gdb.base/symtab-search-order-shlib-1.c: New file.
5375 2014-11-07 Pedro Alves <palves@redhat.com>
5378 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5381 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5384 * gdb.cp/pr17494.cc: New file.
5385 * gdb.cp/pr17494.exp: New file.
5387 2014-11-02 Yao Qi <yao@codesourcery.com>
5389 * gdb.python/python.exp: Get working directory and match the
5390 output of "set extended-prompt \\w " with it.
5392 2014-10-30 Doug Evans <dje@google.com>
5394 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5396 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5399 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5401 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5402 * gdb.base/realname-expand.exp: Likewise.
5403 * gdb.linespec/macro-relative.exp: Likewise.
5405 2014-10-29 Pedro Alves <palves@redhat.com>
5408 * gdb.threads/schedlock.c (some_function): New function.
5409 (call_function): New global.
5410 (MAYBE_CALL_SOME_FUNCTION): New macro.
5411 (thread_function): Call it.
5412 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5413 and use it instead of a global counter. Adjust all callers.
5414 (get_current_thread): Use "find current thread" for test message
5415 here rather than having all callers pass down the same string.
5416 (goto_loop): New procedure, factored out from ...
5417 (my_continue): ... this.
5418 (step_ten_loops): Change parameter from test message to command to
5420 (list_count): Delete global.
5421 (check_result): New procedure, factored out from duplicate top
5423 (continue tests): Wrap in with_test_prefix.
5424 (test_step): New procedure, factored out from duplicate top level
5426 (top level): Test "step" in combination with all scheduler-locking
5427 modes. Test "next" in combination with all scheduler-locking
5428 modes, and in combination with stepping over a function call or
5430 * gdb.threads/next-bp-other-thread.c: New file.
5431 * gdb.threads/next-bp-other-thread.exp: New file.
5433 2014-10-29 Pedro Alves <palves@redhat.com>
5436 * gdb.python/python.exp: Test a multi-line command that spawns
5438 * gdb.base/multi-line-starts-subshell.exp: New file.
5440 2014-10-29 Yao Qi <yao@codesourcery.com>
5442 * gdb.base/fileio.exp: Make directories on host.
5444 2014-10-29 Yao Qi <yao@codesourcery.com>
5446 * gdb.base/fileio.c (test_write): Close the file.
5448 2014-10-28 Pedro Alves <palves@redhat.com>
5451 * gdb.base/sigstep.c (no_handler): New global.
5452 (main): If 'no_handler is true, set the signal handlers to
5454 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5455 with_sw_watch and no_handler parameters. Handle them.
5456 (top level) <stepping over handler when stopped at a breakpoint
5457 test>: Add a test axis for testing with a software watchpoint, and
5458 another for testing with the signal handler set to SIG_IGN.
5459 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5460 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5462 2014-10-28 Pedro Alves <palves@redhat.com>
5465 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5466 * gdb.base/sigstep.exp (other_handler_location): New global.
5467 (advance): Support stepping into the signal handler, and running
5468 commands while in the handler.
5469 (in_handler_map): New global.
5470 (top level): In the advance test, add combinations for getting
5471 into the handler with stepping commands, and for running commands
5472 in the handler. Add comment descripting the advancei tests.
5474 2014-10-28 Pedro Alves <palves@redhat.com>
5476 * gdb.base/sigstep.exp: Use build_executable instead of
5477 prepare_for_testing.
5478 (top level): Move code that starts GDB, runs to main and creates a
5480 (restart): ... this new procedure.
5481 (top level): Move backtrace from signal handler test to ...
5482 (validate_backtrace): ... this new procedure.
5483 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5484 with_test_prefix. Always restart GDB.
5485 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5486 with_test_prefix. Always restart GDB. No need to delete
5487 breakpoints after the test.
5488 (test_skip_handler): Remove prefix parameter.
5489 (skip_over_handler, breakpoint_to_handler)
5490 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5491 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5492 restart GDB. No need to delete breakpoints after the test.
5493 (top level): Use foreach to call the test procedures with
5496 2014-10-28 Pedro Alves <palves@redhat.com>
5498 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5499 instead of GNATS numbers.
5500 * gdb.base/sigbpt.exp: Likewise.
5501 * gdb.base/siginfo.exp: Likewise.
5502 * gdb.base/sigstep.exp: Likewise.
5504 2014-10-27 Pedro Alves <palves@redhat.com>
5506 * gdb.base/sigstep.c (dummy): New global.
5507 (main): Issue a couple writes to the new global.
5508 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5510 (skip_over_handler): Use test_skip_handler.
5511 (top level): Call skip_over_handler for stepi and nexti too.
5512 (breakpoint_over_handler): Use test_skip_handler.
5513 (top level): Call breakpoint_over_handler for stepi and nexti too.
5515 2014-10-27 Yao Qi <yao@codesourcery.com>
5517 * gdb.trace/tfile.c (adjust_function_address)
5518 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5519 function descriptor.
5521 2014-10-24 Don Breazeal <donb@codesourcery.com>
5523 * gdb.base/foll-fork.exp (test_follow_fork,
5524 catch_fork_child_follow): Check for updated fork messages emitted
5526 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5527 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5528 vfork_and_exec_child_follow_through_step): Check for updated vfork
5529 messages emitted from infrun.c.
5531 2014-10-24 Pedro Alves <palves@redhat.com>
5533 * gdb.base/corefile.exp: Remove references to ultrix.
5534 * gdb.base/interrupt.exp: Likewise.
5535 * gdb.base/whatis.exp: Likewise.
5536 * gdb.gdb/selftest.exp: Likewise.
5537 * gdb.threads/manythreads.exp: Likewise.
5538 * gdb.threads/print-threads.exp: Likewise.
5539 * gdb.threads/pthreads.exp:: Likewise.
5540 * gdb.threads/schedlock.exp: Likewise.
5542 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5544 * gdb.cp/non-trivial-retval.cc: Add a test case.
5545 * gdb.cp/non-trivial-retval.exp: Add a test.
5547 2014-10-20 Yao Qi <yao@codesourcery.com>
5549 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5550 * gdb.python/py-objfile-script-gdb.py: New file.
5551 * gdb.python/py-objfile-script.exp: Update reference to
5552 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5553 of remote_download. Remove the dest file.
5555 2014-10-20 Yao Qi <yao@codesourcery.com>
5557 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5558 * gdb.base/step-line.exp: Likewise.
5559 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5560 * gdb.dwarf2/dw2-basic.exp: Likewise.
5561 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5562 * gdb.dwarf2/dw2-filename.exp: Likewise.
5563 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5564 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5565 * gdb.dwarf2/dw2-producer.exp: Likewise.
5566 * gdb.dwarf2/mac-fileno.exp: Likewise.
5567 * gdb.python/py-frame-args.exp: Likewise.
5568 * gdb.python/py-framefilter.exp: Likewise.
5569 * gdb.python/py-mi.exp: Likewise.
5570 * gdb.python/py-objfile-script.exp: Likewise
5571 * gdb.python/py-pp-integral.exp: Likewise.
5572 * gdb.python/py-pp-re-notag.exp: Likewise.
5573 * gdb.python/py-prettyprint.exp: Likewise.
5574 * gdb.python/py-section-script.exp: Likewise.
5575 * gdb.python/py-typeprint.exp: Likewise.
5576 * gdb.python/py-xmethods.exp: Likewise.
5577 * gdb.stabs/weird.exp: Likewise.
5578 * gdb.xml/tdesc-regs.exp: Likewise.
5580 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5582 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5583 (out_cu): Use addr_len for the size of addresses.
5584 (out_line): Likewise. Size DW_LNE_set_address instruction
5585 according to addr_len.
5586 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5587 (FUNC): Add START_INSNS to definition.
5589 2014-10-18 Yao Qi <yao@codesourcery.com>
5591 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5592 gdb_has_argv0 return true.
5593 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5594 check [target_info exists noargs], check [gdb_has_argv0]
5596 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5597 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5600 2014-10-17 Doug Evans <dje@google.com>
5602 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5604 * gdb.python/py-events.py: Add clear_objfiles event.
5606 2014-10-17 Doug Evans <dje@google.com>
5608 * gdb.python/py-objfile.exp: Test progspace attribute.
5610 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5612 * gdb.guile/scm-breakpoint.exp: Do not assume any
5613 directory separators when matching source file paths.
5614 * gdb.python/py-breakpoint.exp: Likewise.
5615 * gdb.reverse/break-precsave.exp: Likewise.
5616 * gdb.reverse/break-reverse.exp: Likewise.
5617 * gdb.reverse/consecutive-precsave.exp: Likewise.
5618 * gdb.reverse/finish-precsave.exp: Likewise.
5619 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5620 * gdb.reverse/finish-reverse.exp: Likewise.
5621 * gdb.reverse/i386-precsave.exp: Likewise.
5622 * gdb.reverse/i387-env-reverse.exp: Likewise.
5623 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5624 * gdb.reverse/machinestate-precsave.exp: Likewise.
5625 * gdb.reverse/machinestate.exp: Likewise.
5626 * gdb.reverse/sigall-precsave.exp: Likewise.
5627 * gdb.reverse/solib-precsave.exp: Likewise.
5628 * gdb.reverse/step-precsave.exp: Likewise.
5629 * gdb.reverse/until-precsave.exp: Likewise.
5630 * gdb.reverse/watch-precsave.exp: Likewise.
5631 * gdb.reverse/watch-reverse.exp: Likewise.
5633 2014-10-17 Yao Qi <yao@codesourcery.com>
5635 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5636 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5638 2014-10-17 Pedro Alves <palves@redhat.com>
5641 * gdb.base/bg-execution-repeat.c: New file.
5642 * gdb.base/bg-execution-repeat.exp: New file.
5644 2014-10-17 Pedro Alves <palves@redhat.com>
5647 * gdb.base/continue-all-already-running.c: New file.
5648 * gdb.base/continue-all-already-running.exp: New file.
5650 2014-10-17 Pedro Alves <palves@redhat.com>
5653 * gdb.base/annota-input-while-running.c: New file.
5654 * gdb.base/annota-input-while-running.exp: New file.
5656 2014-10-17 Pedro Alves <palves@redhat.com>
5658 * gdb.base/callfuncs.exp: emove references to osf.
5659 * gdb.base/sigall.exp: Likewise.
5660 * gdb.gdb/selftest.exp: Likewise.
5661 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5662 * gdb.mi/non-stop.c: Likewise.
5663 * gdb.mi/pthreads.c: Likewise.
5664 * gdb.reverse/sigall-precsave.exp: Likewise.
5665 * gdb.reverse/sigall-reverse.exp: Likewise.
5666 * gdb.threads/pthreads.c: Likewise.
5667 * gdb.threads/pthreads.exp: Likewise.
5669 2014-10-17 Yao Qi <yao@codesourcery.com>
5671 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5672 check 'target_info exists noargs'.
5673 (test_command_prompt_position): Likewise.
5674 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5676 (progvar_simple_while_test): Likewise.
5677 (progvar_complex_if_while_test): Likewise.
5678 (if_while_breakpoint_command_test): Likewise.
5679 (infrun_breakpoint_command_test): Likewise.
5680 (breakpoint_command_test): Likewise.
5681 (watchpoint_command_test): Likewise.
5682 (bp_deleted_in_command_test): Likewise.
5683 (temporary_breakpoint_commands): Likewise.
5685 2014-10-16 Yao Qi <yao@codesourcery.com>
5687 * gdb.base/remotetimeout.exp: Remove noargs checking.
5689 2014-10-15 Pedro Alves <palves@redhat.com>
5692 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5693 * gdb.base/breakpoint-in-ro-region.exp
5694 (probe_target_hardware_step): New procedure.
5695 (top level): Probe hardware stepping and hardware breakpoint
5696 support. Test stepping through a read-only region, with both
5697 "breakpoint auto-hw" on and off and both "always-inserted" on and
5700 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5702 * gdb.dlang/demangle.exp: Update for demangling changes.
5704 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5706 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5707 * gdb.cp/non-trivial-retval.exp: Add new tests.
5709 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5713 * gdb.cp/non-trivial-retval.cc: New file.
5714 * gdb.cp/non-trivial-retval.exp: New file.
5716 2014-10-15 Yao Qi <yao@codesourcery.com>
5718 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5721 2014-10-15 Yao Qi <yao@codesourcery.com>
5723 * gdb.python/py-symbol.exp: Match file base name if host is
5724 remote, otherwise match file name with dir name.
5725 * gdb.python/py-symtab.exp: Likewise.
5726 * gdb.python/python.exp: Likewise.
5728 2014-10-15 Yao Qi <yao@codesourcery.com>
5730 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5732 * gdb.python/py-symtab.exp: Likewise.
5733 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5736 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5738 * gdb.ada/addr_arith: New testcase.
5740 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5742 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5743 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5744 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5745 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5747 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5749 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5750 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5751 * gdb.arch/stap-eval-lang-ada.exp: New file.
5753 2014-10-14 Yao Qi <yao@codesourcery.com>
5755 * gdb.mi/mi-var-child.c (nothing1): New function.
5756 (nothing2): New function.
5757 (do_children_tests): Set function pointers by nothing1 and
5759 * gdb.mi/mi-var-child.exp: Step over new added statements.
5760 Update test to match the new output.
5761 * gdb.mi/var-cmd.c (nothing1): New function.
5762 (nothing2): New function.
5763 (do_children_tests): Set function pointers by nothing1 and
5765 * gdb.mi/mi-var-display.exp: Update test to match output.
5766 Step to the line specified by $line_dct_nothing.
5767 Increase the number of lines to step.
5769 2014-10-14 Yao Qi <yao@codesourcery.com>
5771 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5773 * gdb.mi/mi2-var-child.exp: Likewise.
5775 2014-10-13 Doug Evans <dje@google.com>
5777 * gdb.python/py-objfile.exp: Change name of file name test.
5779 2014-10-13 Doug Evans <dje@google.com>
5781 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5782 from the start of the CU.
5784 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5785 Yao Qi <yao@codesourcery.com>
5787 Fix "save breakpoints" for "catch" command.
5788 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5789 Remove -nonewline. Match also the added "main" line.
5791 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5793 Fix "save breakpoints" for "disable $bpnum" command.
5794 * gdb.base/save-bp.c (main): Add label.
5795 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5797 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5799 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5801 2014-10-11 Yao Qi <yao@codesourcery.com>
5803 * gdb.server/server-kill.exp: Execute command
5804 "set remote trace-status-packet on" before "tstatus".
5806 2014-10-11 Yao Qi <yao@codesourcery.com>
5808 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5809 (main): Call getppid.
5810 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5811 and continue to it. Read variable "server_pid".
5813 2014-10-11 Yao Qi <yao@codesourcery.com>
5815 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5817 2014-10-11 Yao Qi <yao@codesourcery.com>
5819 * gdb.threads/thread-find.exp: Don't execute command
5821 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5822 * gdb.threads/linux-dp.exp: Don't check the condition
5823 $threads_created equals to zero.
5825 2014-10-10 Pedro Alves <palves@redhat.com>
5827 * gdb.base/bigcore.exp: Remove references to IRIX.
5828 * gdb.base/funcargs.exp: Likewise.
5829 * gdb.base/interrupt.exp: Likewise.
5830 * gdb.base/mips_pro.exp: Likewise.
5831 * gdb.base/nodebug.exp: Likewise.
5832 * gdb.base/setvar.exp: Likewise.
5833 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5835 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5836 Pedro Alves <palves@redhat.com>
5839 * gdb.base/vdso-warning.c: New file.
5840 * gdb.base/vdso-warning.exp: New file.
5842 2014-10-02 Doug Evans <dje@google.com>
5844 * gdb.base/structs.c (main): Don't run forever.
5846 2014-10-02 Pedro Alves <palves@redhat.com>
5848 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5849 (top level) <stop threads 1, stop threads 2>: Use it.
5851 2014-10-02 Pedro Alves <palves@redhat.com>
5853 * gdb.threads/break-while-running.exp (test): Add new
5854 'update_thread_list' argument. Skip "info threads" if false.
5855 (top level): Add new 'update_thread_list' axis.
5857 2014-10-02 Pedro Alves <palves@redhat.com>
5859 PR breakpoints/17431
5860 * gdb.base/execl-update-breakpoints.c: New file.
5861 * gdb.base/execl-update-breakpoints.exp: New file.
5863 2014-10-01 Pedro Alves <palves@redhat.com>
5865 * gdb.base/breakpoint-in-ro-region.c: New file.
5866 * gdb.base/breakpoint-in-ro-region.exp: New file.
5868 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5870 * gdb.mi/mi-exit-code.exp: New file.
5871 * gdb.mi/mi-exit-code.c: New file.
5873 2014-09-30 Yao Qi <yao@codesourcery.com>
5875 * lib/prelink-support.exp (build_executable_own_libs): Error if
5876 the target isn't native.
5878 2014-09-30 Yao Qi <yao@codesourcery.com>
5880 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5883 2014-09-22 Pedro Alves <palves@redhat.com>
5885 * gdb.threads/break-while-running.exp: New file.
5886 * gdb.threads/break-while-running.c: New file.
5888 2014-09-19 Yao Qi <yao@codesourcery.com>
5890 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5891 Invoke test. Restart GDB with --readnow and invoke test again.
5893 2014-09-19 Yao Qi <yao@codesourcery.com>
5895 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5896 proc set_breakpoint_on_gcd_function. Invoke
5897 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5898 invoke set_breakpoint_on_gcd_function again.
5900 2014-09-18 Doug Evans <dje@google.com>
5902 * gdb.dwarf2/symtab-producer.exp: New file.
5904 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5906 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5907 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5908 * gdb.base/global-var-nested-by-dso.c: Likewise.
5909 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5911 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5912 Pedro Alves <palves@redhat.com>
5914 * gdb.base/watch-bitfields.exp: Pass string other than test file
5915 name to prepare_for_testing.
5916 (watch): New procedure.
5917 (expect_watchpoint): Use with_test_prefix.
5918 (top level): Factor out tests to ...
5919 (test_watch_location, test_regular_watch): ... these new
5920 procedures, and use with_test_prefix and gdb_continue_to_end.
5922 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5924 PR breakpoints/12526
5925 * gdb.base/watch-bitfields.exp: New file.
5926 * gdb.base/watch-bitfields.c: New file.
5928 2014-09-16 Pedro Alves <palves@redhat.com>
5930 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5931 software and hardware addresses, not software address against
5934 2014-09-16 Pedro Alves <palves@redhat.com>
5936 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5937 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5939 2014-09-16 Pedro Alves <palves@redhat.com>
5941 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5943 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5944 "*-*-vxworks*" throughout.
5945 * gdb.base/break.exp: Likewise.
5946 * gdb.base/default.exp: Likewise.
5947 * gdb.base/scope.exp: Likewise.
5948 * gdb.base/sepdebug.exp: Likewise.
5949 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5951 * gdb.base/run.c: Likewise.
5952 * gdb.base/sepdebug.c: Likewise.
5953 * gdb.hp/gdb.aCC/run.c: Likewise.
5954 * gdb.reverse/until-reverse.c: Likewise.
5955 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5957 2014-09-16 Yao Qi <yao@codesourcery.com>
5959 * boards/local-remote-host-native.exp: New file.
5961 2014-09-14 Doug Evans <xdje42@gmail.com>
5963 * gdb.threads/queue-signal.c (thread_count): New variable.
5964 (thread_count_mutex, thread_count_condvar): New variables.
5965 (incr_thread_count, wait_all_threads_running): New functions.
5966 (main): Wait for all threads to be in their thread functions.
5968 2014-09-13 Doug Evans <xdje42@gmail.com>
5970 * gdb.threads/queue-signal.c: New file.
5971 * gdb.threads/queue-signal.exp: New file.
5973 2014-09-13 Doug Evans <xdje42@gmail.com>
5975 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5976 be consistent with what default_gdb_init uses.
5977 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5978 the plain text of the prompt. Add some logging printfs.
5979 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5981 2014-09-12 Pedro Alves <palves@redhat.com>
5983 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5984 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5985 * gdb.arch/i386-size-overlap.exp: Likewise.
5986 * gdb.arch/i386-size.exp: Likewise.
5987 * gdb.arch/i386-unwind.exp: Likewise.
5988 * gdb.base/a2-run.exp: Likewise.
5989 * gdb.base/break.exp: Likewise.
5990 * gdb.base/charset.exp: Likewise.
5991 * gdb.base/chng-syms.exp: Likewise.
5992 * gdb.base/commands.exp: Likewise.
5993 * gdb.base/dbx.exp: Likewise.
5994 * gdb.base/find.exp: Likewise.
5995 * gdb.base/funcargs.exp: Likewise.
5996 * gdb.base/jit-simple.exp: Likewise.
5997 * gdb.base/reread.exp: Likewise.
5998 * gdb.base/sepdebug.exp: Likewise.
5999 * gdb.base/step-bt.exp: Likewise.
6000 * gdb.cp/mb-inline.exp: Likewise.
6001 * gdb.cp/mb-templates.exp: Likewise.
6002 * gdb.objc/basicclass.exp: Likewise.
6003 * gdb.threads/killed.exp: Likewise.
6005 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6008 * gdb.arch/powerpc-stackless.S: New file.
6009 * gdb.arch/powerpc-stackless.exp: New file.
6011 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6013 * gdb.base/attach.c: Include unistd.h.
6014 (main): Call alarm. Add label postloop.
6015 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6016 gdb_breakpoint, gdb_continue_to_breakpoint.
6017 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6019 2014-09-11 Pedro Alves <palves@redhat.com>
6022 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6023 * gdb.base/attach.exp (test_command_line_attach_run): New
6025 (top level): Call it.
6027 2014-09-11 Pedro Alves <palves@redhat.com>
6029 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6030 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6031 (do_command_attach_tests): Use spawn_wait_for_attach.
6032 * gdb.base/solib-overlap.exp: Likewise.
6033 * gdb.multi/multi-attach.exp: Likewise.
6034 * gdb.python/py-prompt.exp: Likewise.
6035 * gdb.python/py-sync-interp.exp: Likewise.
6036 * gdb.server/ext-attach.exp: Likewise.
6038 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6040 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6041 command in testcase. Simplify testcase.
6043 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6045 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6047 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6049 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6051 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6053 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6055 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6057 * gdb.dwarf2/dynarr-ptr.c: New file.
6058 * gdb.dwarf2/dynarr-ptr.exp: New file.
6060 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6062 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6063 of 30 rather than hardcoding 120 for a slow test case. Take the
6064 `gdb,timeout' target setting into account for this calculation.
6065 Don't extend the timeout for the test cases that don't need it.
6067 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6069 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6070 a factor of 2 for a slow test case. Take the `gdb,timeout'
6071 target setting into account for this calculation.
6072 * gdb.reverse/until-precsave.exp: Increase the timeout by
6073 a factor of 15 and 3 respectively rather than adding 120
6074 for a pair of slow test cases. Take the `gdb,timeout'
6075 target setting into account for this calculation.
6077 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6079 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6080 timeout, don't pass one down to gdb_expect.
6081 (gdb_expect): Rework timeout selection.
6083 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6085 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6086 exception on timeout.
6087 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6088 (gdbserver_start_extended): Catch any `gdbserver_start' error
6090 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6091 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6092 `gdbserver_gdb_load' error exceptions.
6094 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6096 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6097 120 on waiting for the TCP socket to open.
6099 2014-09-09 Doug Evans <xdje42@gmail.com>
6101 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6102 _caller_matches, _any_caller_is, _any_caller_matches.
6104 2014-09-09 Doug Evans <xdje42@gmail.com>
6106 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6108 2014-09-09 Yao Qi <yao@codesourcery.com>
6110 * gdb.mi/mi-var-display.exp: Set print symbol off.
6112 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6115 * gdb.base/commands.exp: Add tests to verify user-defined
6116 commands with empty bodies.
6117 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6118 python commands in `show user command`.
6119 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6120 scheme commands in `show user command`.
6122 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6125 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6126 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6127 * gdb.python/py-framefilter-invalidarg.exp: New file.
6128 * gdb.python/py-framefilter-invalidarg.py: New file.
6130 2014-09-06 Doug Evans <xdje42@gmail.com>
6133 * gdb.python/py-caller-is.c: New file.
6134 * gdb.python/py-caller-is.exp: New file.
6136 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6139 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6140 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6142 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6145 * gdb.fortran/print-formatted.exp: New file.
6146 * gdb.fortran/print-formatted.f90: Likewise.
6148 2014-09-03 Sasha Smundak <asmundak@google.com>
6150 * gdb.python/py-frame.exp: Test Frame.read_register.
6152 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6155 * gdb.python/py-completion.exp: New file.
6156 * gdb.python/py-completion.py: Likewise.
6158 2014-08-28 Doug Evans <dje@google.com>
6160 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6161 eax,etc. are live with values set by gdb and thus the compiler can't
6163 * gdb.arch/i386-pseudo.c (main): Ditto.
6165 2014-08-27 Doug Evans <dje@google.com>
6167 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6169 2014-08-25 Doug Evans <dje@google.com>
6171 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6174 2014-08-25 Doug Evans <dje@google.com>
6176 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6178 2014-08-24 Yao Qi <yao@codesourcery.com>
6180 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6182 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6184 2014-08-22 Doug Evans <dje@google.com>
6187 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6188 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6189 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6191 2014-08-22 Yao Qi <yao@codesourcery.com>
6193 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6194 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6195 * gdb.python/python.exp: Likewise. Use .py file on the host
6196 instead of the build.
6198 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6200 * gdb.threads/gcore-stale-thread.c: New file.
6201 * gdb.threads/gcore-stale-thread.exp: New file.
6203 2014-08-21 Pedro Alves <palves@redhat.com>
6205 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6206 * gdb.base/gcore-relro-pie.exp: Likewise.
6207 * gdb.base/gcore-relro.exp: Likewise.
6208 * gdb.base/gcore.exp: Likewise.
6209 * gdb.base/print-symbol-loading.exp: Likewise.
6210 * gdb.threads/gcore-thread.exp: Likewise.
6211 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6213 2014-08-20 Pedro Alves <palves@redhat.com>
6214 Jan Kratochvil <jan.kratochvil@redhat.com>
6216 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6218 (EXPECT): Handle READ1 being set.
6219 (all): Depend on EXTRA_RULES.
6220 (check-read1, expect-read1, read1.so, read1): New rules.
6221 * README (Testsuite Parameters): Document the READ1 make variable.
6222 (Race detection): New section.
6223 * configure: Regenerate.
6224 * configure.ac: If build==host==target, and running under a
6225 GNU/glibc system, add read1 to the extra Makefile rules.
6226 (EXTRA_RULES): AC_SUBST it.
6227 * lib/read1.c: New file.
6229 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6231 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6232 the handling of variables declared as a typedef to an array
6233 which a DW_AT_data_location attribute.
6235 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6236 Pedro Alves <palves@redhat.com>
6240 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6243 2014-08-19 Pedro Alves <palves@redhat.com>
6245 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6247 2014-08-19 Yao Qi <yao@codesourcery.com>
6249 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6252 2014-08-18 David Blaikie <dblaikie@gmail.com>
6254 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6256 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6258 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6259 attribute in array range.
6261 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6263 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6265 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6268 * gdb.cp/pr17132.cc: New file.
6269 * gdb.cp/pr17132.exp: New file.
6271 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6273 * gdb.python/py-xmethods.py (A_getarrayind)
6274 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6275 Use 'print' with function call syntax.
6276 (E_method_matcher.match): Fix tab vs space indentation mixup.
6278 2014-08-15 Yao Qi <yao@codesourcery.com>
6280 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6283 2014-08-15 Yao Qi <yao@codesourcery.com>
6285 * gdb.cp/casts.exp: Set print symbol off.
6286 * gdb.cp/class2.exp: Likewise.
6287 * gdb.cp/overload.exp: Likewise.
6288 * gdb.cp/templates.exp: Likewise.
6290 2014-08-11 Doug Evans <dje@google.com>
6292 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6293 (test_load_shlib): Update.
6295 2014-08-09 Yao Qi <yao@codesourcery.com>
6297 * gdb.base/display.exp: Invoke is_address_zero_readable.
6298 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6299 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6300 * gdb.base/hbreak-unmapped.exp: Return if
6301 is_address_zero_readable returns true.
6302 * gdb.base/signest.exp: Likewise.
6303 * gdb.base/signull.exp: Likewise.
6304 * gdb.base/sigbpt.exp: Likewise.
6305 * gdb.guile/scm-disasm.exp: Do the test if
6306 is_address_zero_readable returns false.
6307 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6308 * gdb.python/py-arch.exp: Likewise.
6309 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6310 * lib/gdb.exp (is_address_zero_readable): New proc.
6312 2014-08-09 Yao Qi <yao@codesourcery.com>
6315 * gdb.mi/mi-var-display.exp: Make test messages unique.
6317 2014-08-04 Tom Tromey <tromey@redhat.com>
6319 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6322 2014-08-04 Tom Tromey <tromey@redhat.com>
6324 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6327 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6329 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6330 inner_vla_struct_object_size.
6331 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6334 2014-07-30 Pedro Alves <palves@redhat.com>
6336 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6339 2014-07-29 Yao Qi <yao@codesourcery.com>
6342 * gdb.base/until-nodebug.exp: New.
6344 2014-07-28 Doug Evans <xdje42@gmail.com>
6347 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6348 previously existing parameter, and previously ambiguously spelled
6351 2014-07-28 Will Newton <will.newton@linaro.org>
6353 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6355 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6356 Doug Evans <xdje42@gmail.com>
6359 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6361 2014-07-25 Pedro Alves <palves@redhat.com>
6363 * gdb.threads/signal-command-handle-nopass.c: New file.
6364 * gdb.threads/signal-command-handle-nopass.exp: New file.
6365 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6366 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6367 * gdb.threads/signal-delivered-right-thread.c: New file.
6368 * gdb.threads/signal-delivered-right-thread.exp: New file.
6370 2014-07-25 Pedro Alves <palves@redhat.com>
6372 * gdb.base/double-prompt-target-event-error.exp
6373 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6375 (cancel_pagination_in_target_event): Rework double prompt
6377 * gdb.base/paginate-after-ctrl-c-running.exp
6378 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6380 * gdb.base/paginate-bg-execution.exp
6381 (test_bg_execution_pagination_return)
6382 (test_bg_execution_pagination_cancel): Remove '-notransfer
6384 * gdb.base/paginate-execution-startup.exp
6385 (test_fg_execution_pagination_return)
6386 (test_fg_execution_pagination_cancel): Remove '-notransfer
6388 * gdb.base/paginate-inferior-exit.exp
6389 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6391 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6392 * lib/gdb.exp (pagination_prompt): Run text through
6394 (gdb_test_multiple): Match $pagination_prompt instead of
6396 (string_to_regexp): Move to lib/gdb-utils.exp.
6398 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6400 * gdb.arch/amd64-entry-value-paramref.S: New file.
6401 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6402 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6403 * gdb.arch/amd64-optimout-repeat.S: New file.
6404 * gdb.arch/amd64-optimout-repeat.c: New file.
6405 * gdb.arch/amd64-optimout-repeat.exp: New file.
6407 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6410 * gdb.base/statistics.exp: New file.
6412 2014-07-17 Doug Evans <dje@google.com>
6415 * gdb.base/maint.exp: Update testing of per-command stats.
6417 2014-07-16 Pedro Alves <palves@redhat.com>
6419 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6420 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6421 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6422 (tfile_write_buf): New functions.
6423 (add_memory_block): Rewrite using the above.
6424 (adjust_function_address): New function.
6425 (FUNCTION_ADDRESS): New macro.
6426 (write_basic_trace_file): Remove short_x local, and use
6427 tfile_write_16. Change type of func_addr local to unsigned long
6428 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6429 here. Cast argument of add_memory_block to char pointer.
6430 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6431 (main): Remove parameters.
6432 * gdb.trace/tfile.exp: Remove nowarnings.
6434 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6436 * gdb.base/debug-expr.exp: Test string evaluation with
6437 "debug expression" on.
6439 2014-07-15 Pedro Alves <palves@redhat.com>
6441 * gdb.base/reread.exp: Use clean_restart.
6443 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6445 * gdb.arch/avr-flash-qualifer.c: New.
6446 * gdb.arch/avr-flash-qualifer.exp: New.
6448 2014-07-14 Pedro Alves <palves@redhat.com>
6450 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6451 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6453 2014-07-14 Pedro Alves <palves@redhat.com>
6455 * gdb.base/double-prompt-target-event-error.c: New file.
6456 * gdb.base/double-prompt-target-event-error.exp: New file.
6458 2014-07-14 Pedro Alves <palves@redhat.com>
6461 * gdb.base/paginate-inferior-exit.c: New file.
6462 * gdb.base/paginate-inferior-exit.exp: New file.
6464 2014-07-14 Pedro Alves <palves@redhat.com>
6467 * gdb.base/paginate-bg-execution.c: New file.
6468 * gdb.base/paginate-bg-execution.exp: New file.
6470 2014-07-14 Pedro Alves <palves@redhat.com>
6473 * gdb.base/paginate-execution-startup.c: New file.
6474 * gdb.base/paginate-execution-startup.exp: New file.
6475 * lib/gdb.exp (pagination_prompt): New global.
6476 (default_gdb_spawn): New procedure, factored out from
6478 (default_gdb_start): Adjust to call default_gdb_spawn.
6479 (gdb_spawn): New procedure.
6481 2014-07-14 Pedro Alves <palves@redhat.com>
6483 * lib/gdb.exp (gdb_assert): New procedure.
6484 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6486 2014-07-14 Pedro Alves <palves@redhat.com>
6488 * gdb.base/execution-termios.c: New file.
6489 * gdb.base/execution-termios.exp: New file.
6491 2014-07-14 Tom Tromey <tromey@redhat.com>
6493 * gdb.cp/vla-cxx.cc: New file.
6494 * gdb.cp/vla-cxx.exp: New file.
6496 2014-07-14 Tom Tromey <tromey@redhat.com>
6498 * gdb.reverse/rerun-prec.c: New file.
6499 * gdb.reverse/rerun-prec.exp: New file.
6501 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6502 Maciej W. Rozycki <macro@codesourcery.com>
6504 * lib/gdb-utils.exp: New file.
6505 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6506 inline `gdb_init_command' processing.
6507 (gdb_start_cmd): Likewise.
6508 * lib/mi-support.exp (mi_run_cmd): Likewise.
6509 * README: Document `gdb_init_command' and `gdb_init_commands'.
6511 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6513 Fix false FAIL running under a very long directory name.
6514 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6515 and "set print elements 10000". Twice.
6517 2014-07-11 Yao Qi <yao@codesourcery.com>
6519 * gdb.base/exprs.exp: "set print symbol off".
6521 2014-07-11 Pedro Alves <palves@redhat.com>
6523 * gdb.threads/kill.c: New file.
6524 * gdb.threads/kill.exp: New file.
6526 2014-07-10 Yao Qi <yao@codesourcery.com>
6528 * gdb.trace/tfile.c (write_basic_trace_file)
6529 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6530 address written to trace file.
6532 2014-07-09 Pedro Alves <palves@redhat.com>
6534 * gdb.base/attach-wait-input.exp: New file.
6535 * gdb.base/attach-wait-input.c: New file.
6537 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6539 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6540 setting up test structures.
6541 (main): Call new test function.
6542 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6543 test function, continue into test function and walk test
6546 2014-07-02 Yao Qi <yao@codesourcery.com>
6548 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6549 'bar_start' at the beginning of functions 'foo' and 'bar'
6551 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6552 instead of 'foo' and 'bar'.
6554 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6556 * gdb.btrace/segv.exp: New.
6557 * gdb.btrace/segv.c: New.
6559 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6561 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6564 2014-06-30 Mark Wielaard <mjw@redhat.com>
6566 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6567 vulture, vilify, villar): New volatile array constants.
6568 (vindictive, vegetation): New const volatile array constants.
6569 * gdb.base/volatile.exp: Test volatile and const volatile array
6572 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6574 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6575 target lacks support for awatch, rwatch, or hbreak.
6577 2014-06-27 Yao Qi <yao@codesourcery.com>
6579 * gdb.multi/dummy-frame-restore.exp: New.
6580 * gdb.multi/dummy-frame-restore.c: New.
6582 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6584 * gdb.btrace/gcore.exp: New.
6586 2014-06-23 Pedro Alves <palves@redhat.com>
6588 * gdb.base/watchpoint-reuse-slot.c: New file.
6589 * gdb.base/watchpoint-reuse-slot.exp: New file.
6591 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6593 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6594 progspace's filename in 'info', 'enable' and 'disable' command
6597 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6599 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6600 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6601 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6603 2014-06-20 Gary Benson <gbenson@redhat.com>
6605 * gdb.arch/i386-avx.exp: Fix include file location.
6606 * gdb.arch/i386-sse.exp: Likewise.
6608 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6610 * gdb.dlang/expression.exp: New file.
6612 2014-06-19 Pedro Alves <palves@redhat.com>
6614 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6616 (top level): ... here. Iterate running tests under different
6617 scheduler-locking settings.
6619 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6621 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6622 to DW_FORM_addr and use non-zero addresses.
6624 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6627 * gdb.python/py-xmethods.cc: Add global function call counters and
6628 increment them in their respective functions. Remove "cout"
6630 * gdb.python/py-xmethods.exp: Make tests check the global function
6631 call counters instead of depending on inferior IO.
6633 2014-06-18 Don Breazeal <donb@codesourcery.com>
6635 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6637 (explicit_fork_parent_follow): Deleted procedure.
6638 (explicit_fork_child_follow): Deleted procedure.
6639 (test_follow_fork): New procedure.
6640 (do_fork_tests): Replace calls to deleted procedures with
6641 calls to test_follow_fork and reset GDB for subsequent
6644 2014-06-17 Yao Qi <yao@codesourcery.com>
6646 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6649 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6651 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6652 Initialize ptr and S explicitly.
6653 (skip_type_update_when_not_use_rtti_test): Likewise.
6655 2014-06-16 Keith Seitz <keiths@redhat.com>
6658 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6659 the inferior is started.
6661 2014-06-16 Pedro Alves <palves@redhat.com>
6663 * gdb.base/break-main-file-remove-fail.c: New file.
6664 * gdb.base/break-main-file-remove-fail.exp: New file.
6665 * gdb.base/break-unload-file.exp: Use build_executable instead of
6666 prepare_for_testing.
6667 (test_break): New parameter "initial_load". Handle it.
6668 (top level): Add initial_load cmdline/file axis.
6670 2014-06-12 Tom Tromey <tromey@redhat.com>
6672 * gdb.base/completion.exp: Don't use directory name in test.
6674 2014-06-09 Gary Benson <gbenson@redhat.com>
6676 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6677 separate the always-available ANSI-standard signals from the
6678 signals that require checking.
6680 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6684 2014-06-07 Keith Seitz <keiths@redhat.com>
6688 * gdb.cp/var-tag.cc: New file.
6689 * gdb.cp/var-tag.exp: New file.
6690 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6691 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6692 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6693 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6695 2014-06-06 Doug Evans <xdje42@gmail.com>
6697 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6699 2014-06-06 Pedro Alves <palves@redhat.com>
6701 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6702 in target debug output instead of looking at RSP packets,
6703 disabling the test on any target that uses hardware stepping.
6706 2014-06-06 Pedro Alves <palves@redhat.com>
6708 * gdb.base/break-unload-file.exp: Fix typo.
6710 2014-06-06 Yao Qi <yao@codesourcery.com>
6712 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6713 from "jit_function" to "^jit_function".
6715 2014-06-06 Yao Qi <yao@codesourcery.com>
6717 * gdb.base/async.c (foo): Add one statement.
6718 * gdb.base/async.exp: Get the next instruction address and
6719 match the output of "nexti" by instruction address. Match
6720 the hex address in the output of "finish".
6722 2014-06-06 Gary Benson <gbenson@redhat.com>
6724 * gdb.base/call-signals.c: Remove preprocessor conditionals
6725 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6726 SIGSEGV and SIGTERM.
6727 * gdb.base/sigall.c: Likewise.
6728 * gdb.base/unwindonsignal.c: Likewise.
6729 * gdb.reverse/sigall-reverse.c: Likewise.
6731 2014-06-06 Yao Qi <yao@codesourcery.com>
6733 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6734 readable, skip the test.
6736 2014-06-06 Yao Qi <yao@codesourcery.com>
6738 * gdb.threads/staticthreads.c (thread_function): Move the line
6739 setting breakpoint on forward.
6740 * gdb.threads/staticthreads.exp: Update comments.
6742 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6744 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6745 "history-append! type error".
6747 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6749 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6750 erroneous dprintf expected input.
6752 2014-06-04 Doug Evans <xdje42@gmail.com>
6754 * gdb.guile/scm-generics.exp: Delete.
6756 2014-06-04 Doug Evans <xdje42@gmail.com>
6758 * gdb.guile/scm-breakpoint.exp: Update.
6759 Add tests for breakpoint registration.
6761 2014-06-04 Tom Tromey <tromey@redhat.com>
6763 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6765 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6766 inner_vla_struct, vla_union types. Initialize objects of those
6767 types and compute their sizes.
6769 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6770 Hui Zhu <hui@codesourcery.com>
6772 * gdb.base/fileio.exp: Add test for shell not available as well as
6774 * gdb.base/fileio.c (test_system): Check for shell twice.
6776 2014-06-04 Yao Qi <yao@codesourcery.com>
6778 * gdb.base/auto-connect-native-target.exp: Remove redundant
6779 space from the regexp pattern.
6781 2014-06-04 Yao Qi <yao@codesourcery.com>
6783 * gdb.base/default.exp: Replace "child" with "native" in
6786 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6788 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6789 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6790 * gdb.python/py-xmethods.py: Python script supporting the
6791 new testcase and tests.
6793 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6794 Pedro Alves <palves@redhat.com>
6796 PR breakpoints/17000
6797 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6798 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6800 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6802 * gdb.base/subst.exp: Add tests to verify partial path matching
6805 2014-06-03 Pedro Alves <palves@redhat.com>
6807 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6808 target that doesn't use software single-stepping.
6810 2014-06-03 Pedro Alves <palves@redhat.com>
6812 PR breakpoints/17000
6813 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6814 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6816 2014-06-02 Doug Evans <xdje42@gmail.com>
6818 * gdb.guile/scm-parameter.exp: New file.
6820 2014-06-02 Doug Evans <xdje42@gmail.com>
6822 * gdb.guile/scm-cmd.c: New file.
6823 * gdb.guile/scm-cmd.exp: New file.
6825 2014-06-02 Doug Evans <xdje42@gmail.com>
6827 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6828 pretty-printer lookup.
6829 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6830 (make-pp_s-printer): Call it.
6831 (make-pretty-printer-from-dict): New function.
6832 (lookup-pretty-printer-maker-from-dict): New function.
6833 (*pretty-printer*): Simplify.
6834 (make-objfile-pp_s-printer): New function.
6835 (install-objfile-pretty-printers!): New function.
6836 (make-progspace-pp_s-printer): New function.
6837 (install-progspace-pretty-printers!): New function.
6838 * gdb.guile/scm-progspace.c: New file.
6839 * gdb.guile/scm-progspace.exp: New file.
6841 2014-06-02 Pedro Alves <palves@redhat.com>
6843 * gdb.base/dprintf-bp-same-addr.c: New file.
6844 * gdb.base/dprintf-bp-same-addr.exp: New file.
6846 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6848 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6849 * gdb.arch/powerpc-power.s: Likewise.
6851 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6853 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6855 2014-06-01 Yao Qi <yao@codesourcery.com>
6857 * gdb.base/watchpoint.exp (test_watch_location): Check null
6858 pointer can be dereferenced. If not, do the test, otherwise
6861 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6863 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6865 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6867 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6869 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6870 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6871 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6872 * gdb.arch/amd64-invalid-stack-top.c: New file.
6873 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6875 2014-05-30 Pedro Alves <palves@redhat.com>
6877 PR breakpoints/17000
6878 * gdb.base/sss-bp-on-user-bp.c: New file.
6879 * gdb.base/sss-bp-on-user-bp.exp: New file.
6881 2014-05-30 David Blaikie <dblaikie@gmail.com>
6883 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6884 gnu_inline semantics via attribute.
6885 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6886 source explicitly specifies the required semantics.
6888 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6890 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6892 2014-05-29 Pedro Alves <palves@redhat.com>
6893 Tom Tromey <tromey@redhat.com>
6895 * gdb.base/async-shell.exp: Don't enable target-async.
6896 * gdb.base/async.exp
6897 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6899 (top level): Don't test with "target-async".
6900 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6901 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6902 * gdb.base/inferior-died.exp: Don't enable target-async.
6903 * gdb.base/interrupt-noterm.exp: Likewise.
6904 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6905 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6906 * gdb.mi/mi-nonstop.exp: Likewise.
6907 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6908 * gdb.mi/mi-nsintrall.exp: Likewise.
6909 * gdb.mi/mi-nsmoribund.exp: Likewise.
6910 * gdb.mi/mi-nsthrexec.exp: Likewise.
6911 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6912 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6913 * gdb.python/py-evsignal.exp: Don't enable target-async.
6914 * gdb.python/py-evthreads.exp: Likewise.
6915 * gdb.python/py-prompt.exp: Likewise.
6916 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6917 * gdb.server/solib-list.exp: Don't enable target-async.
6918 * gdb.threads/thread-specific-bp.exp: Likewise.
6919 * lib/mi-support.exp: Adjust to use mi-async.
6921 2014-05-29 Pedro Alves <palves@redhat.com>
6924 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6925 reason, even in sync mode.
6927 2014-05-29 Pedro Alves <palves@redhat.com>
6928 Hui Zhu <hui@codesourcery.com>
6931 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6932 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6933 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6934 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6936 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6938 * config/monitor.exp (gdb_target_monitor): Replace use of
6939 "set remotebaud" by "set serial baud".
6941 2014-05-26 Andy Wingo <wingo@igalia.com>
6943 * gdb.guile/scm-breakpoint.exp:
6944 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6945 properties instead of gdb-object-properties.
6947 2014-05-26 Yao Qi <yao@codesourcery.com>
6949 * gdb.server/no-thread-db.exp: Specify source file name
6950 explicitly when setting a breakpoint.
6952 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6954 * gdb.btrace/vdso.c: New.
6955 * gdb.btrace/vdso.exp: New.
6957 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6959 * gdb.base/gcore.exp (capture_command_output): Move ...
6960 * lib/gdb.exp (capture_command_output): ... here.
6962 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6964 * gdb.btrace/data.exp: Test memory access during btrace replay.
6966 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6968 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6970 2014-05-21 Pedro Alves <palves@redhat.com>
6973 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6974 (top level): Test that output related to execution commands is
6975 sent to the console with CLI commands, but not with MI commands.
6976 Test that breakpoint events are always mirrored to the console.
6977 Also expect the new source line to be output after a "next" in
6978 async mode too. Make it a pass/fail test.
6979 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6981 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6983 2014-05-21 Pedro Alves <palves@redhat.com>
6985 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6986 Use them to test variations of "list" after reaching a breakpoint.
6987 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6988 Test "list" with listsize 10 after reaching a breakpoint.
6989 * gdb.python/python.exp (decode_line current location line
6990 number): Adjust expected line number.
6992 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6994 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6995 behavior for $args, pass it directly to "run".
6997 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6999 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7002 2014-05-21 Pedro Alves <palves@redhat.com>
7004 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7005 auto-connect-native-target off".
7006 * gdb.base/auto-connect-native-target.c: New file.
7007 * gdb.base/auto-connect-native-target.exp: New file.
7009 2014-05-21 Pedro Alves <palves@redhat.com>
7011 * gdb.base/default.exp: Test "target native" instead of "target
7014 2014-05-21 Mark Wielaard <mjw@redhat.com>
7016 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7018 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7020 Fix TLS access for -static -pthread.
7021 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7022 <HAVE_TLS> (thread_function, main): Initialize it.
7023 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7025 <$have_tls != "">: Check TLSVAR.
7027 2014-05-21 Pedro Alves <palves@redhat.com>
7029 * gdb.base/dcache-line-read-error.c: New.
7030 * gdb.base/dcache-line-read-error.exp: New.
7032 2014-05-20 Pedro Alves <palves@redhat.com>
7034 * gdb.base/compare-sections.c: New file.
7035 * gdb.base/compare-sections.exp: New file.
7037 2014-05-20 Pedro Alves <palves@redhat.com>
7039 * gdb.base/break-idempotent.c: New file.
7040 * gdb.base/break-idempotent.exp: New file.
7042 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7044 * gdb.btrace/nohist.exp: New.
7046 2014-05-20 Yao Qi <yao@codesourcery.com>
7048 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7049 gdb.reverse directory and gdb_reverse_timeout exists in board
7051 * README: Document gdb_reverse_timeout.
7053 2014-05-20 Yao Qi <yao@codesourcery.com>
7055 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7056 'test_file_name'. Treat args as a string instead of a list.
7057 (gdb_init): Rename argument 'args' by 'test_file_name'.
7059 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7061 * gdb.arch/powerpc-power.exp: New file.
7062 * gdb.arch/powerpc-power.s: New file.
7064 2014-05-16 Doug Evans <dje@google.com>
7066 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7067 * gdb.base/completion.exp: Check that all expected files exist
7068 before doing file completion.
7070 2014-05-16 Doug Evans <dje@google.com>
7072 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7074 (do_syscall_tests_without_xml): Update.
7076 2014-05-16 Pedro Alves <palves@redhat.com>
7078 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7079 instead of "unknown output after running".
7081 2014-05-16 Yao Qi <yao@codesourcery.com>
7083 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7084 file1.txt from host at the end.
7085 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7087 2014-05-15 Doug Evans <dje@google.com>
7089 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7090 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7091 loading file. Add test for TU lookup.
7093 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7095 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7096 calling "-exec-arguments" or "set args" before running the
7099 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7101 * lib/mi-support.exp (mi_expect_stop): Expect message for
7102 inferiors that exit with non-zero exit code.
7104 2014-05-14 Yao Qi <yao@codesourcery.com>
7106 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7107 match absolute path on remote host.
7108 (test_file_list_exec_source_files): Remove "/" from the
7111 2014-05-14 Yao Qi <yao@codesourcery.com>
7113 * boards/local-remote-host-notty.exp (${board}_file): New
7116 2014-05-07 Kyle McMartin <kyle@redhat.com>
7118 Pushed by Joel Brobecker <brobecker@adacore.com>.
7119 * gdb.arch/aarch64-atomic-inst.c: New file.
7120 * gdb.arch/aarch64-atomic-inst.exp: New file.
7122 2014-05-07 Yao Qi <yao@codesourcery.com>
7124 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7125 in current context" too.
7127 2014-05-05 Keith Seitz <keiths@redhat.com>
7129 * gdb.linespec/ls-dollar.exp: Add test for linespec
7130 file:convenience_variable.
7132 2014-05-05 Yao Qi <yao@codesourcery.com>
7134 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7135 traceframes into tfile and ctf trace files. Read data from
7136 trace file and test collected data.
7137 (gdb_collect_locals_test): Likewise.
7138 (gdb_unavailable_registers_test): Likewise.
7139 (gdb_unavailable_floats): Likewise.
7140 (gdb_collect_globals_test): Likewise.
7141 (top-level): Append "ctf" to trace_file_targets if GDB
7144 2014-05-05 Yao Qi <yao@codesourcery.com>
7146 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7148 (gdb_collect_args_test_1): ... it. New proc.
7149 (gdb_collect_locals_test): Move some code to ...
7150 (gdb_collect_locals_test_1): ... it. New proc.
7151 (gdb_unavailable_registers_test): Move some code to ...
7152 (gdb_unavailable_registers_test_1): ... it. New proc.
7153 (gdb_unavailable_floats): Move some code to ...
7154 (gdb_unavailable_floats_1): ... it. New proc.
7156 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7158 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7159 probes to test for bitness recognition.
7160 * gdb.arch/amd64-stap-optional-prefix.exp
7161 (test_probe_value_without_reg): New procedure.
7162 Add code to test for different kinds of bitness.
7164 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7166 PR breakpoints/16889
7167 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7168 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7170 2014-05-01 Pedro Alves <palves@redhat.com>
7172 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7173 gdb_file_cmd if no file is specified.
7174 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7175 last_loaded_file to set the remote exec-file.
7177 2014-05-01 Pedro Alves <palves@redhat.com>
7179 * boards/local-remote-host.exp: New file.
7181 2014-05-01 Pedro Alves <palves@redhat.com>
7183 * boards/local-remote-host.exp: Rename to ...
7184 * boards/local-remote-host-notty.exp: ... this.
7186 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7188 * gdb.ada/dyn_arrayidx: New testcase.
7190 2014-04-26 Yao Qi <yao@codesourcery.com>
7192 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7193 and compute the length of function main. Save it in
7195 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7196 (top-level): Use gdb_compile to compile objects into
7197 executable and restart GDB. Remove invocation to
7198 prepare_for_testing.
7200 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7201 Pedro Alves <palves@redhat.com>
7204 * gdb.multi/multi-attach.c: New file.
7205 * gdb.multi/multi-attach.exp: New file.
7207 2014-04-25 Pedro Alves <palves@redhat.com>
7209 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7211 (top level): Test that "set remote conditional-breakpoints-packet
7212 off" works as intended.
7213 * gdb.base/dprintf.exp: Test that "set remote
7214 breakpoint-commands-packet off" works as intended.
7215 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7217 (top level): Call it.
7218 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7219 remote fast-tracepoints-packet off" works as intended.
7220 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7221 * lib/gdb.exp (gdb_is_target_remote): ... here.
7223 2014-04-24 David Blaikie <dblaikie@gmail.com>
7225 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7226 ensure clang would not discard them.
7227 * gdb.base/gdbvars.c: Ditto.
7228 * gdb.base/memattr.c: Ditto.
7229 * gdb.base/whatis.c: Ditto.
7230 * gdb.python/py-prettyprint.c: Ditto.
7231 * gdb.trace/actions.c: Ditto.
7232 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7233 ensure clang would not discard it.
7235 2014-04-24 David Blaikie <dblaikie@gmail.com>
7237 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7238 clang to emit the full definition of type required by the test
7239 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7241 2014-04-24 David Blaikie <dblaikie@gmail.com>
7243 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7244 coax Clang into emitting the definition of the type.
7245 * gdb.cp/pr10728-x.h (y): Ditto.
7246 * gdb.cp/pr10728-y.cc (y): Ditto.
7248 2014-04-24 David Blaikie <dblaikie@gmail.com>
7250 * gdb.base/label.exp: XFAIL label related tests under Clang.
7251 * gdb.cp/cplabel.exp: Ditto.
7252 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7253 under Clang those using labels.
7255 2014-04-25 Yao Qi <yao@codesourcery.com>
7257 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7259 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7260 partial_label and double_label.
7262 2014-04-24 David Blaikie <dblaikie@gmail.com>
7264 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7266 2014-04-24 David Blaikie <dblaikie@gmail.com>
7268 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7269 of the function to work across GCC and Clang.
7270 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7271 pointer types (const void ** const V void **).
7273 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7274 Walfred Tedeschi <walfred.tedeschi@intel.com>
7276 * Makefile.in (EXECUTABLES): Added i386-avx512.
7277 * gdb.arch/i386-avx512.c: New file.
7278 * gdb.arch/i386-avx512.exp: Likewise.
7280 2014-04-23 Keith Seitz <keiths@redhat.com>
7282 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7283 (mi_make_breakpoint_table): New procedure.
7284 (mi_create_breakpoint): Use mi_make_breakpoint
7285 and return the result.
7286 (mi_make_breakpoint): New procedure.
7287 (mi_build_kv_pairs): New procedure.
7289 * gdb.mi/mi-break.exp: Remove unused globals,
7290 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7291 All callers updated.
7292 * gdb.mi/mi-dprintf.exp: Use variable to track command
7294 Update all callers of mi_create_breakpoint and use
7295 mi_make_breakpoint_table.
7296 Remove any unused global variables.
7297 * gdb.mi/mi-nonstop.exp: Likewise.
7298 * gdb.mi/mi-nsintrall.exp: Likewise.
7299 * gdb.mi/mi-nsmoribund.exp: Likewise.
7300 * gdb.mi/mi-nsthrexec.exp: Likewise.
7301 * gdb.mi/mi-reverse.exp: Likewise.
7302 * gdb.mi/mi-simplerun.exp: Likewise.
7303 * gdb.mi/mi-stepn.exp: Likewise.
7304 * gdb.mi/mi-syn-frame.exp: Likewise.
7305 * gdb.mi/mi-until.exp: Likewise.
7306 * gdb.mi/mi-var-cp.exp: Likewise.
7307 * gdb.mi/mi-var-display.exp: Likewise.
7308 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7309 * gdb.mi/mi2-var-child.exp: Likewise.
7310 * gdb.mi/mi-vla-c99.exp: Likewise.
7311 * lib/mi-support.exp: Likewise.
7313 From Ian Lance Taylor <iant@cygnus.com>:
7314 * lib/gdb.exp (parse_args): New procedure.
7316 2014-04-23 Pedro Alves <palves@redhat.com>
7318 * gdb.base/break-unload-file.c: New file.
7319 * gdb.base/break-unload-file.exp: New file.
7320 * gdb.base/sym-file-lib.c (baz): New function.
7321 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7323 (load): Store the segment's mapped size.
7324 (unload): New function.
7325 (unload_shlib): New function.
7326 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7327 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7328 set a breakpoint at baz, and call it.
7329 * gdb.base/sym-file.exp: New tests for stale breakpoint
7332 2014-04-23 Pedro Alves <palves@redhat.com>
7334 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7335 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7336 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7337 * gdb.base/hbreak-unmapped.c: New file.
7338 * gdb.base/hbreak-unmapped.exp: New file.
7339 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7340 * lib/gdb.exp (gdb_is_target_remote): ... here.
7342 2014-04-22 Pedro Alves <palves@redhat.com>
7344 * gdb.base/consecutive-step-over.c: New file.
7345 * gdb.base/consecutive-step-over.exp: New file.
7347 2014-04-22 Pedro Alves <palves@redhat.com>
7349 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7350 instead of send_gdb/gdb_expect.
7352 2014-04-22 Yao Qi <yao@codesourcery.com>
7354 * lib/trace-support.exp (generate_tracefile): New procedure.
7355 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7357 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7358 if generate_tracefile returns 1.
7360 2014-04-18 Tom Tromey <palves@redhat.com>
7361 Pedro alves <tromey@redhat.com>
7364 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7365 with a backtrace limit.
7366 * gdb.python/py-frame-inline.exp: Test running to an inline
7367 function with a backtrace limit, and printing the newest frame.
7368 * gdb.python/py-frame-inline.c (main): Call f.
7370 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7372 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7374 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7376 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7377 Drop prefix from unsupported source file path.
7379 2014-04-17 Yao Qi <yao@codesourcery.com>
7381 * lib/gdb.exp (with_target_charset): New proc.
7382 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7383 with_target_charset.
7384 (test_print_strings): Likewise.
7385 (test_repeat_bytes): Likewise.
7386 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7389 2014-04-16 Keith Seitz <keiths@redhat.com>
7392 * gdb.dwarf2/corrupt.c: New file.
7393 * gdb.dwarf2/corrupt.exp: New file.
7395 2014-04-16 Keith Seitz <keiths@redhat.com>
7398 * gdb.cp/namelessclass.cc: New file.
7399 * gdb.cp/namelessclass.exp: New file.
7400 * gdb.cp/namelessclass.S: New file.
7402 2014-04-16 Doug Evans <dje@google.com>
7404 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7406 (gdbserver_default_get_comm_port): New function.
7407 (gdbserver_start): Check if board file provided
7408 "gdbserver,get_comm_port" and use it if so.
7409 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7410 (gdb,socketport): Set to "stdio".
7411 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7412 (stdio_gdbserver_template): Delete.
7413 (${board}_get_remote_address): Update.
7414 (${board}_build_remote_cmd): Delete.
7415 (${board}_get_comm_port): New function.
7416 (${board}_spawn): Update.
7417 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7419 (${board}_get_remote_address): Update.
7420 (${board}_get_comm_port): New function.
7422 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7424 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7425 appearing in any order.
7427 2014-04-15 Doug Evans <dje@google.com>
7429 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7430 uninitialized value of "description".
7432 2014-04-15 Keith Seitz <keiths@redhat.com>
7434 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7435 Remove unused globals.
7436 (test_running_the_program): Likewise.
7437 (test_controlled_execution): Likewise.
7438 (test_controlling_breakpoints): Likewise.
7439 (test_program_termination): Likewise.
7441 2014-04-15 Keith Seitz <keiths@redhat.com>
7443 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7445 (test_rbreak_creation_and_listing): Likewise.
7446 (test_ignore_count): Likewise.
7447 (test_error): Likewise.
7449 2014-04-15 Pedro Alves <palves@redhat.com>
7451 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7452 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7454 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7455 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7456 to sym-file-loader.c.
7457 (struct library): Forward declare.
7458 (load_shlib, lookup_function): Change prototypes.
7459 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7460 (translate_offset): Remove declarations.
7461 (get_text_addr): New declaration.
7462 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7463 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7465 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7466 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7467 here from sym-file-loader.h.
7468 (struct library): New structure.
7469 (load_shlib, lookup_function): Change prototypes and adjust to
7470 work with a struct library.
7471 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7472 (translate_offset): Make static.
7473 (get_text_addr): New function.
7474 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7476 2014-04-15 Pedro Alves <palves@redhat.com>
7478 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7480 2014-04-15 Pedro Alves <palves@redhat.com>
7482 * gdb.base/sym-file-loader.c: Include <limits.h>.
7483 (SELF_LINK): New define.
7484 (get_origin): New function.
7485 (load_shlib): Use it.
7486 * gdb.base/sym-file.exp: Don't early return if the target is
7487 remote. Use runto_main, and issue fail is that fails. Use
7489 (shlib_name): Delete.
7490 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7492 2014-04-15 Pedro Alves <palves@redhat.com>
7494 * gdb.base/sym-file.exp: Remove regex characters from test
7495 message. Don't refer to breakpoint numbers in test messages.
7497 2014-04-14 Keith Seitz <keiths@redhat.com>
7500 * gdb.cp/var-tag.cc: New file.
7501 * gdb.cp/var-tag.exp: New file.
7502 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7503 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7504 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7505 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7507 2014-04-14 Tom Tromey <tromey@redhat.com>
7509 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7510 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7512 * gdb.cp/enum-class.exp: New file.
7513 * gdb.cp/enum-class.cc: New file.
7515 2014-04-14 Tom Tromey <tromey@redhat.com>
7517 * gdb.dwarf2/enum-type.exp: New file.
7519 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7521 * gdb.mi/mi-vla-c99.exp: New file.
7522 * gdb.mi/vla.c: New file.
7524 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7526 * gdb.base/vla-datatypes.c: New file.
7527 * gdb.base/vla-datatypes.exp: New file.
7529 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7531 * gdb.base/vla-ptr.c: New file.
7532 * gdb.base/vla-ptr.exp: New file.
7534 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7536 * gdb.dwarf2/count.exp: New file.
7538 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7540 * gdb.base/vla-sideeffect.c: New file.
7541 * gdb.base/vla-sideeffect.exp: New file.
7543 2014-04-14 David Blaikie <dblaikie@gmail.com>
7545 * gdb.mi/non-stop.c: Add return value for non-void function return
7547 * gdb.threads/staticthreads.c: Ditto.
7549 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7550 Doug Evans <xdje42@gmail.com>
7552 * gdb.guile/scm-value.c: Improve test case.
7553 * gdb.guile/scm-value.exp: Add new test.
7555 2014-04-11 David Blaikie <dblaikie@gmail.com>
7557 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7558 override Clang's default.
7560 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7562 Revert the following changes (regressions):
7564 * gdb.base/vla-sideeffect.c: New file.
7565 * gdb.base/vla-sideeffect.exp: New file.
7567 * gdb.dwarf2/count.exp: New file.
7569 * gdb.base/vla-multi.c: New file.
7570 * gdb.base/vla-multi.exp: New file.
7572 * gdb.base/vla-ptr.c: New file.
7573 * gdb.base/vla-ptr.exp: New file.
7575 * gdb.base/vla-datatypes.c: New file.
7576 * gdb.base/vla-datatypes.exp: New file.
7578 * gdb.mi/mi-vla-c99.exp: New file.
7579 * gdb.mi/vla.c: New file.
7581 2014-04-11 Keith Seitz <keiths@redhat.com>
7584 * gdb.cp/cpsizeof.exp: New file.
7585 * gdb.cp/cpsizeof.cc: New file.
7587 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7589 * gdb.mi/mi-vla-c99.exp: New file.
7590 * gdb.mi/vla.c: New file.
7592 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7594 * gdb.base/vla-datatypes.c: New file.
7595 * gdb.base/vla-datatypes.exp: New file.
7597 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7599 * gdb.base/vla-ptr.c: New file.
7600 * gdb.base/vla-ptr.exp: New file.
7602 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7604 * gdb.base/vla-multi.c: New file.
7605 * gdb.base/vla-multi.exp: New file.
7607 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7609 * gdb.dwarf2/count.exp: New file.
7611 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7613 * gdb.base/vla-sideeffect.c: New file.
7614 * gdb.base/vla-sideeffect.exp: New file.
7616 2014-04-11 Yao Qi <yao@codesourcery.com>
7618 * gdb.base/completion.exp: Check file exists before running tests
7621 2014-04-10 Pedro Alves <palves@redhat.com>
7623 * gdb.base/cond-eval-mode.c: New file.
7624 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7625 prepare_for_testing to build the new file. Check result of
7627 (test_break, test_watch): New procedures.
7628 (top level): Use them.
7630 2014-04-08 Pierre Muller <muller@sourceware.org>
7632 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7633 Ctrl-V use for mingw hosts.
7635 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7637 * gdb.python/py-value.c: Improve test case.
7638 * gdb.python/py-value.exp: Add new test.
7640 2014-04-07 David Blaikie <dblaikie@gmail.com>
7642 * lib/compiler.c: Identify the clang compiler.
7643 * lib/compiler.cc: Ditto.
7645 2014-04-03 Yao Qi <yao@codesourcery.com>
7647 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7649 2014-04-01 Anton Blanchard <anton@samba.org>
7651 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7654 2014-04-01 Anton Blanchard <anton@samba.org>
7656 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7657 prepare_for_testing.
7659 2014-04-01 Anton Blanchard <anton@samba.org>
7661 * gdb.arch/ppc64-atomic-inst.c: Remove.
7662 * gdb.arch/ppc64-atomic-inst.S: New file.
7663 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7665 2014-03-31 Doug Evans <dje@google.com>
7667 * gdb.base/print-symbol-loading-lib.c: New file.
7668 * gdb.base/print-symbol-loading-main.c: New file.
7669 * gdb.base/print-symbol-loading.exp: New file.
7671 2014-03-31 Yao Qi <yao@codesourcery.com>
7673 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7675 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7677 * gdb.ada/mi_dyn_arr: New testcase.
7679 2014-03-27 Doug Evans <dje@google.com>
7681 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7683 2014-03-27 Yao Qi <yao@codesourcery.com>
7685 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7686 if target is nios2-*-*.
7688 2014-03-26 Yao Qi <yao@codesourcery.com>
7690 * lib/gdb.exp (readline_is_used): New proc.
7691 * gdb.base/completion.exp: Move tests on command complete up.
7692 Skip the rest of tests if readline is not used.
7693 * gdb.ada/complete.exp: Skp the test if readline is not
7695 * gdb.base/filesym.exp: Likewise.
7696 * gdb.base/macscp.exp: Likewise.
7697 * gdb.base/readline-ask.exp: Likewise.
7698 * gdb.base/readline.exp: Likewise.
7699 * gdb.python/py-cmd.exp: Likewise.
7700 * gdb.trace/tfile.exp: Likewise.
7702 2014-03-26 Yao Qi <yao@codesourcery.com>
7704 * gdb.base/macscp.exp: Fix code format issues.
7706 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7708 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7709 * gdb.asm/powerpc64le.inc: New file.
7711 2014-03-25 Pedro Alves <palves@redhat.com>
7712 Doug Evans <dje@google.com>
7714 * gdb.base/source-execution.c: New file.
7715 * gdb.base/source-execution.exp: New file.
7716 * gdb.base/source-execution.gdb: New file.
7718 2014-03-24 Doug Evans <dje@google.com>
7720 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7723 2014-03-24 Hui Zhu <hui@codesourcery.com>
7724 Pedro Alves <palves@redhat.com>
7726 PR breakpoints/16101
7727 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7728 test pass/fail messages. Detect missing support for dprintf when
7729 breakpoints are actually inserted.
7730 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7731 breakpoints are actually inserted.
7732 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7735 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7737 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7739 2014-03-22 Doug Evans <xdje42@gmail.com>
7741 * gdb.python/python.exp (python not supported): Verify multi-line
7742 python command issues an error.
7743 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7744 guile command issues an error.
7746 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7748 * gdb.threads/thread-specific.exp: Handle the lack of usable
7749 $this_breakpoint and $this_thread.
7751 2014-03-21 Hui Zhu <hui@codesourcery.com>
7753 * gdb.base/attach.exp (do_command_attach_tests): New.
7755 2014-03-20 Tom Tromey <tromey@redhat.com>
7756 Pedro Alves <palves@redhat.com>
7759 * gdb.base/condbreak-call-false.c: New file.
7760 * gdb.base/condbreak-call-false.exp: New file.
7762 2014-03-20 Pedro Alves <palves@redhat.com>
7764 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7766 (block_signals, unblock_signals): Delete.
7767 (child_function_2, main): Remove references to deleted variable
7770 2014-03-20 Pedro Alves <palves@redhat.com>
7772 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7773 Use pthread_kill to signal thread 2.
7774 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7775 Adjust to make the test send itself a signal rather than using the
7776 host's "kill" command.
7778 2014-03-20 Pedro Alves <palves@redhat.com>
7780 * gdb.threads/multiple-step-overs.c: New file.
7781 * gdb.threads/multiple-step-overs.exp: New file.
7782 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7783 Adjust expected infrun debug output.
7785 2014-03-20 Pedro Alves <palves@redhat.com>
7787 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7788 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7790 2014-03-20 Pedro Alves <palves@redhat.com>
7793 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7794 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7795 of gdb_test_multiple.
7796 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7797 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7799 2014-03-20 Pedro Alves <palves@redhat.com>
7801 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7802 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7804 2014-03-19 Pedro Alves <palves@redhat.com>
7806 * gdb.base/async.exp: Remove early return.
7808 2014-03-19 Pedro Alves <palves@redhat.com>
7810 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7812 2014-03-19 Pedro Alves <palves@redhat.com>
7814 * gdb.base/async.exp (test_background): Expect \r\n after
7815 "completed." in the fail pattern.
7817 2014-03-19 Pedro Alves <palves@redhat.com>
7819 * gdb.base/async.exp (test_background): New procedure.
7820 Use it for all background execution command tests.
7822 2014-03-19 Pedro Alves <palves@redhat.com>
7824 * gdb.base/async.exp: Use prepare_for_testing.
7826 2014-03-19 Pedro Alves <palves@redhat.com>
7828 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7831 2014-03-19 Pedro Alves <palves@redhat.com>
7833 * gdb.base/async.c (main): Add "jump here" and "until here" line
7835 * gdb.base/async.exp (jump_here): New global.
7836 (jump& test): Use it.
7837 (until_here): New global.
7838 (until& test): Use it.
7840 2014-03-19 Pedro Alves <palves@redhat.com>
7842 * gdb.base/async.exp: Don't frob gdb_protocol.
7844 2014-03-18 Doug Evans <xdje42@gmail.com>
7846 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7847 Fix spelling of exec-done-display.
7849 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7852 * gdb.base/gdb-sigterm.c: New file.
7853 * gdb.base/gdb-sigterm.exp: New file.
7855 2014-03-18 Pedro Alves <palves@redhat.com>
7858 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7859 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7862 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7864 * gdb.ada/pckd_arr_ren: New testcase.
7866 2014-03-13 Doug Evans <xdje42@gmail.com>
7869 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7870 collect after discarding symbols.
7872 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7873 Doug Evans <xdje42@gmail.com>
7875 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7876 to history survives a gc.
7878 2014-03-13 Pedro Alves <palves@redhat.com>
7880 * gdb.base/default.exp: Don't test "target procfs".
7882 2014-03-13 Pedro Alves <palves@redhat.com>
7884 * gdb.base/default.exp: Update "target child" and "target procfs"
7885 tests to not expect "Unix".
7887 2014-03-12 Tom Tromey <tromey@redhat.com>
7889 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7890 New procs. Add target-async tests.
7891 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7892 Add target-async tests.
7894 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7896 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7897 'func_start' and 'func_end' for the beginning and end of the
7898 function code, respectively.
7899 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7900 'func_end' instead of 'func' and 'main'.
7902 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7904 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7905 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7906 generate the debug info assembler source.
7908 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7910 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7911 * gdb.dwarf2/arr-subrange.exp: Likewise.
7912 * gdb.dwarf2/dwz.exp: Likewise.
7913 * gdb.dwarf2/method-ptr.exp: Likewise.
7914 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7915 * gdb.dwarf2/subrange.exp: Likewise.
7916 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7917 * gdb.dwarf2/implptrpiece.exp: Likewise.
7918 * gdb.dwarf2/nostaticblock.exp: Likewise.
7920 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7922 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7923 directory to absolute path name arguments.
7925 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7927 * gdb.ada/tagged_access: New testcase.
7929 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7931 * gdb.btrace/data.exp: Update expected output.
7933 2014-03-06 Yao Qi <yao@codesourcery.com>
7935 * gdb.trace/pr16508.exp: New file.
7937 2014-03-05 Pedro Alves <palves@redhat.com>
7940 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7942 (top level): Adjust to use it. Add tests that exercise breakpoint
7943 interaction with the code-cache.
7945 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7947 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7948 test for 'history-append!'.
7950 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7952 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7953 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7954 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7955 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7956 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7957 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7959 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7961 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7962 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7963 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7965 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7967 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7969 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7971 * gdb.dwarf2/arr-stride.c: New file.
7972 * gdb.dwarf2/arr-stride.exp: New file.
7974 2014-02-26 Pedro Alves <palves@redhat.com>
7976 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7977 that won't ever trigger. Make sure that GDB reports the correct
7978 breakpoint that caused the stop.
7980 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7983 * gdb.base/auto-load-script: New file.
7984 * gdb.base/auto-load.c: New file.
7985 * gdb.base/auto-load.exp: New file.
7988 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7990 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7992 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7993 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7995 2014-02-24 Doug Evans <dje@google.com>
7997 * lib/gdb.exp (run_on_host): Log error output if program fails.
7999 2014-02-21 Pedro Alves <palves@redhat.com>
8001 * gdb.threads/step-after-sr-lock.c: Rename to ...
8002 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8003 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8004 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8007 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8010 * gdb.arch/amd64-stap-special-operands.exp: New file.
8011 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8012 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8013 * gdb.arch/amd64-stap-triplet.S: Likewise.
8014 * gdb.arch/amd64-stap-triplet.c: Likewise.
8016 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8018 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8019 in .section pseudo-op.
8021 2014-02-20 lin zuojian <manjian2006@gmail.com>
8022 Joel Brobecker <brobecker@adacore.com>
8023 Doug Evans <xdje42@gmail.com>
8026 * gdb.dwarf2/dw2-icycle.S: New file.
8027 * gdb.dwarf2/dw2-icycle.c: New file.
8028 * gdb.dwarf2/dw2-icycle.exp: New file.
8030 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8032 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8033 operations on gdb.Value objects.
8034 * gdb.python/py-value-cc.exp: Add new test to test operations on
8037 2014-02-18 Doug Evans <dje@google.com>
8039 * Makefile.in (TESTS): New variable.
8040 (expanded_tests, expanded_tests_or_none): New variables
8041 (check-single): Pass $(expanded_tests_or_none) to runtest.
8042 (check-parallel): Only run tests in $(TESTS) if non-empty.
8043 (check/no-matching-tests-found): New rule.
8044 * README: Document TESTS makefile variable.
8046 2014-02-18 Doug Evans <dje@google.com>
8048 * Makefile.in (check-parallel): rm -rf outputs temp.
8050 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8052 Fix "ERROR: no fileid for" in the testsuite.
8053 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8055 2014-02-12 Doug Evans <dje@google.com>
8057 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8058 (MISCELLANEOUS): New variable.
8059 (clean): rm -rf $(MISCELLANEOUS).
8060 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8061 dwp live in the same directory as symlinks, with each symlink pointed
8062 to a differently named file in a different directory.
8064 2014-02-11 Doug Evans <dje@google.com>
8066 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8067 of Tcl file commands.
8069 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8071 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8074 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8076 * gdb.ada/tick_length_array_enum_idx: New testcase.
8078 2014-02-10 Doug Evans <xdje42@gmail.com>
8080 * configure.ac (AC_OUTPUT): Add gdb.guile.
8081 * configure: Regenerate.
8082 * lib/gdb-guile.exp: New file.
8083 * lib/gdb.exp (get_target_charset): New function.
8084 * gdb.base/help.exp: Update expected output from "apropos apropos".
8085 * gdb.guile/Makefile.in: New file.
8086 * gdb.guile/guile.exp: New file.
8087 * gdb.guile/scm-arch.c: New file.
8088 * gdb.guile/scm-arch.exp: New file.
8089 * gdb.guile/scm-block.c: New file.
8090 * gdb.guile/scm-block.exp: New file.
8091 * gdb.guile/scm-breakpoint.c: New file.
8092 * gdb.guile/scm-breakpoint.exp: New file.
8093 * gdb.guile/scm-disasm.c: New file.
8094 * gdb.guile/scm-disasm.exp: New file.
8095 * gdb.guile/scm-equal.c: New file.
8096 * gdb.guile/scm-equal.exp: New file.
8097 * gdb.guile/scm-error.exp: New file.
8098 * gdb.guile/scm-error.scm: New file.
8099 * gdb.guile/scm-frame-args.c: New file.
8100 * gdb.guile/scm-frame-args.exp: New file.
8101 * gdb.guile/scm-frame-args.scm: New file.
8102 * gdb.guile/scm-frame-inline.c: New file.
8103 * gdb.guile/scm-frame-inline.exp: New file.
8104 * gdb.guile/scm-frame.c: New file.
8105 * gdb.guile/scm-frame.exp: New file.
8106 * gdb.guile/scm-generics.exp: New file.
8107 * gdb.guile/scm-gsmob.exp: New file.
8108 * gdb.guile/scm-iterator.c: New file.
8109 * gdb.guile/scm-iterator.exp: New file.
8110 * gdb.guile/scm-math.c: New file.
8111 * gdb.guile/scm-math.exp: New file.
8112 * gdb.guile/scm-objfile-script-gdb.in: New file.
8113 * gdb.guile/scm-objfile-script.c: New file.
8114 * gdb.guile/scm-objfile-script.exp: New file.
8115 * gdb.guile/scm-objfile.c: New file.
8116 * gdb.guile/scm-objfile.exp: New file.
8117 * gdb.guile/scm-ports.exp: New file.
8118 * gdb.guile/scm-pretty-print.c: New file.
8119 * gdb.guile/scm-pretty-print.exp: New file.
8120 * gdb.guile/scm-pretty-print.scm: New file.
8121 * gdb.guile/scm-section-script.c: New file.
8122 * gdb.guile/scm-section-script.exp: New file.
8123 * gdb.guile/scm-section-script.scm: New file.
8124 * gdb.guile/scm-symbol.c: New file.
8125 * gdb.guile/scm-symbol.exp: New file.
8126 * gdb.guile/scm-symtab-2.c: New file.
8127 * gdb.guile/scm-symtab.c: New file.
8128 * gdb.guile/scm-symtab.exp: New file.
8129 * gdb.guile/scm-type.c: New file.
8130 * gdb.guile/scm-type.exp: New file.
8131 * gdb.guile/scm-value-cc.cc: New file.
8132 * gdb.guile/scm-value-cc.exp: New file.
8133 * gdb.guile/scm-value.c: New file.
8134 * gdb.guile/scm-value.exp: New file.
8135 * gdb.guile/source2.scm: New file.
8136 * gdb.guile/types-module.cc: New file.
8137 * gdb.guile/types-module.exp: New file.
8139 2014-02-10 Yao Qi <yao@codesourcery.com>
8142 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8143 * configure: Regenerated.
8144 * Makefile.in: New file.
8146 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8148 * gdb.python/py-framefilter.exp: Fix typo.
8150 2014-02-08 Yao Qi <yao@codesourcery.com>
8152 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8153 that no =breakpoint-modified is emitted when breakpoints are
8154 modified through MI commands.
8156 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8157 Pedro Alves <palves@redhat.com>
8159 * gdb.threads/step-after-sr-lock.c: New file.
8160 * gdb.threads/step-after-sr-lock.exp: New file.
8162 2014-02-07 Pedro Alves <palves@redhat.com>
8164 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8166 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8168 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8169 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8171 2014-02-06 Doug Evans <xdje42@gmail.com>
8173 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8176 * gdb.gdb/python-interrupts.exp: New file.
8178 2014-02-05 Yao Qi <yao@codesourcery.com>
8180 * gdb.trace/report.exp (use_collected_data): Test the output
8181 of "info threads" and "info inferiors".
8183 2014-02-05 Yao Qi <yao@codesourcery.com>
8187 2013-05-24 Yao Qi <yao@codesourcery.com>
8189 * gdb.trace/tfile.exp: Test inferior and thread.
8191 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8193 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8195 * gdb.base/step-bt.c: Call hello via function pointer to make
8196 sure its first instruction is executed on powerpc64le-linux.
8198 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8200 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8202 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8204 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8205 of the test patterns for use on little-endian systems.
8207 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8209 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8210 (decimal_vector): Fix for little-endian.
8212 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8214 * gdb.arch/sparc-sysstep.exp: New file.
8215 * gdb.arch/sparc-sysstep.c: Likewise.
8217 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8219 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8221 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8223 2014-01-23 Tom Tromey <tromey@redhat.com>
8225 * gdb.ada/array_char_idx: New testcase.
8227 2014-01-23 Tom Tromey <tromey@redhat.com>
8230 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8231 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8234 2014-01-23 Tom Tromey <tromey@redhat.com>
8237 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8238 string from an inferior frame.
8239 * gdb.python/py-framefilter-mi.exp: Update.
8241 2014-01-22 Doug Evans <dje@google.com>
8243 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8245 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8247 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8249 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8251 * gdb.trace/entry-values.exp: Remove excess space character from
8252 regex patterns. Handle s390 call instruction.
8254 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8256 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8257 define "*_start" label. Make "name" static.
8258 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8259 ${name} by references to ${name}_start.
8261 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8263 * gdb.base/info-macros.exp: Remove "debug" from the compile
8266 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8268 * gdb.dlang/demangle.exp: New file.
8270 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8272 * gdb.dlang/primitive-types.exp: New file.
8274 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8276 * configure.ac: Create gdb.dlang/Makefile.
8277 * configure: Regenerate.
8278 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8279 * gdb.dlang/Makefile.in: New file.
8280 * lib/d-support.exp: New file.
8281 * lib/gdb.exp (skip_d_tests): New proc.
8283 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8285 * gdb.btrace/delta.exp: Check reverse stepi.
8286 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8287 * gdb.btrace/finish.exp: New.
8288 * gdb.btrace/next.exp: New.
8289 * gdb.btrace/nexti.exp: New.
8290 * gdb.btrace/record_goto.c: Add comments.
8291 * gdb.btrace/step.exp: New.
8292 * gdb.btrace/stepi.exp: New.
8293 * gdb.btrace/multi-thread-step.c: New.
8294 * gdb.btrace/multi-thread-step.exp: New.
8295 * gdb.btrace/rn-dl-bind.c: New.
8296 * gdb.btrace/rn-dl-bind.exp: New.
8297 * gdb.btrace/data.c: New.
8298 * gdb.btrace/data.exp: New.
8299 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8301 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8303 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8304 * gdb.btrace/exception.exp: Update.
8305 * gdb.btrace/instruction_history.exp: Update.
8306 * gdb.btrace/record_goto.exp: Update.
8307 * gdb.btrace/tailcall.exp: Update.
8308 * gdb.btrace/unknown_functions.exp: Update.
8309 * gdb.btrace/delta.exp: New.
8311 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8313 * gdb.btrace/record_goto.exp: Add backtrace test.
8314 * gdb.btrace/tailcall.exp: Add backtrace test.
8316 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8318 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8319 * gdb.btrace/record_goto.c: New.
8320 * gdb.btrace/record_goto.exp: New.
8321 * gdb.btrace/x86-record_goto.S: New.
8323 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8325 * gdb.btrace/function_call_history.exp: Update tests.
8326 * gdb.btrace/instruction_history.exp: Update tests.
8328 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8330 * gdb.btrace/function_call_history.exp: Fix expected field
8331 order for "record function-call-history".
8332 Add new tests for "record function-call-history /c".
8333 * gdb.btrace/exception.cc: New.
8334 * gdb.btrace/exception.exp: New.
8335 * gdb.btrace/tailcall.exp: New.
8336 * gdb.btrace/x86-tailcall.S: New.
8337 * gdb.btrace/x86-tailcall.c: New.
8338 * gdb.btrace/unknown_functions.c: New.
8339 * gdb.btrace/unknown_functions.exp: New.
8340 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8342 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8344 * gdb.btrace/instruction_history.exp: Update.
8345 * gdb.btrace/function_call_history.exp: Update.
8347 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8349 * gdb.btrace/function_call_history.exp: Fix expected function
8351 * gdb.btrace/instruction_history.exp: Initialize traced.
8352 Remove traced_functions.
8354 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8356 * gdb.btrace/function_call_history.exp: Update
8357 * gdb.btrace/instruction_history.exp: Update.
8359 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8361 * gdb.btrace/enable.exp: Update expected text.
8363 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8365 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8368 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8370 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8372 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8374 * lib/gdb.exp (supports_process_record): Return true for
8375 arm*-linux*. (supports_reverse): Likewise.
8377 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8381 * gdb.python/py-type.c: Enhance test case.
8382 * gdb.python/py-value-cc.cc: Likewise
8383 * gdb.python/py-type.exp: Add new tests.
8384 * gdb.python/py-value-cc.exp: Likewise
8386 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8387 Pedro Alves <palves@redhat.com>
8389 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8391 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8392 references to ${name}_start by references to ${name}.
8394 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8396 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8398 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8400 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8402 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8403 Pedro Alves <palves@redhat.com>
8405 * gdb.mi/mi-info-os.exp: Connect to the target with
8408 2014-01-08 Pedro Alves <palves@redhat.com>
8410 * gdb.threads/reconnect-signal.c: New file.
8411 * gdb.threads/reconnect-signal.exp: New file.
8413 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8415 * gdb.base/source-dir.exp: New file.
8417 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8419 * gdb.ada/mi_interface: New testcase.
8421 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8423 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8424 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8425 gdb.ada/pp-rec-component/pck.ads: New files.
8427 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8429 * gdb.python/py-pp-integral.c: New file.
8430 * gdb.python/py-pp-integral.py: New file.
8431 * gdb.python/py-pp-integral.exp: New file.
8433 For older changes see ChangeLog-1993-2013.
8439 ;; version-control: never
8442 Copyright 2014-2016 Free Software Foundation, Inc.
8443 Copying and distribution of this file, with or without modification,
8444 are permitted provided the copyright notice and this notice are preserved.