1 2016-06-06 Simon Marchi <simon.marchi@ericsson.com>
3 * gdb.mi/mi-record-changed.exp: Adjust =record-started output
6 2016-06-02 Tom Tromey <tom@tromey.com>
9 * gdb.python/py-shared.exp: Add solib_name test.
11 2016-06-02 Simon Marchi <simon.marchi@ericsson.com>
13 * gdb.mi/mi-memory-changed.exp: Fix filename passed to untested.
15 2016-05-31 Martin Galvan <martin.galvan@tallertechnologies.com>
18 * gdb.dwarf2/implref.exp: Rename to...
19 * gdb.dwarf2/implref-const.exp: ...this. Also add more test statements.
20 * gdb.dwarf2/implref-array.c: New file.
21 * gdb.dwarf2/implref-array.exp: Likewise.
22 * gdb.dwarf2/implref-global.c: Likewise.
23 * gdb.dwarf2/implref-global.exp: Likewise.
24 * gdb.dwarf2/implref-struct.c: Likewise.
25 * gdb.dwarf2/implref-struct.exp: Likewise.
27 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
29 * gdb.trace/trace-condition.exp: Add 64bit tests.
31 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
33 * gdb.trace/trace-condition.c (marker): Adapt signature to 8 to 64
35 (main): Adapt to 8 to 64 bits types.
36 * gdb.trace/trace-condition.exp: Add new tests.
38 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
40 * gdb.trace/trace-condition.exp: Add emit_less_unsigned test.
42 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
44 * gdb.trace/ftrace.exp (test_ftrace_condition): Remove.
45 Move condition tests...
46 * gdb.trace/trace-condition.exp: Here.
48 2016-05-30 Antoine Tremblay <antoine.tremblay@ericsson.com>
50 * gdb.trace/trace-condition.exp: Add counter-case tests.
52 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
55 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
56 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
58 2016-05-27 Pedro Alves <palves@redhat.com>
60 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
62 (top level): Call it, and bail out of DejaGnu is known to be bad.
64 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
66 * gdb.base/whatis.c: Extend the test case.
67 * gdb.base/whatis.exp: Add additional tests.
69 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
71 * gdb.fortran/type.f90: Add pointer variable.
72 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
74 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
76 * gdb.fortran/vla-type.exp: Fix testcase name.
78 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
80 * gdb.fortran/vla-type.exp: Access elements in nested structs.
82 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
84 * gdb.fortran/type.f90: Add nested structures.
85 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
86 * gdb.fortran/derived-type.exp: Adapt expected output.
87 * gdb.fortran/vla-type.exp: Adapt expected output.
89 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
91 * gdb.fortran/whatis_type.exp: Adapt expected output.
93 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
95 * gdb.fortran/print_type.exp: Fix expected output.
96 * gdb.fortran/whatis_type.exp: Fix expected output.
98 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
100 * gdb.fortran/whatis_type.exp: Use multi_line.
102 2016-05-24 Tom Tromey <tom@tromey.com>
105 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
106 use value as an index.
108 2016-05-23 Tom Tromey <tom@tromey.com>
111 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
114 2016-05-24 Pedro Alves <palves@redhat.com>
117 * gdb.threads/clone-attach-detach.c: New file.
118 * gdb.threads/clone-attach-detach.exp: New file.
120 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
122 * gdb.base/annota-input-while-running.exp: Fix syntax error.
124 2016-05-23 Tom Tromey <tom@tromey.com>
126 PR python/19438, PR python/18393:
127 * gdb.python/py-progspace.exp: Add "dir" test.
128 * gdb.python/py-objfile.exp: Add "dir" test.
130 2016-05-23 Yao Qi <yao.qi@linaro.org>
132 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
133 * gdb.arch/thumb2-it.exp: Likewise.
135 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
137 * gdb.mi/mi-threads-interrupt.c: New file.
138 * gdb.mi/mi-threads-interrupt.exp: New file.
140 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
143 * gdb.mi/mi-async-run.exp: New file.
144 * gdb.mi/mi-async-run.c: New file.
146 2016-05-17 Tom Tromey <tom@tromey.com>
147 Manish Goregaokar <manishsmail@gmail.com>
149 * lib/rust-support.exp: New file.
150 * lib/gdb.exp (skip_rust_tests): New proc.
151 (build_executable_from_specs): Handle rust.
152 * lib/future.exp (gdb_find_rustc): New proc.
153 (gdb_default_target_compile): Handle rust.
154 * gdb.rust/expr.exp: New file.
155 * gdb.rust/generics.exp: New file.
156 * gdb.rust/generics.rs: New file.
157 * gdb.rust/methods.exp: New file.
158 * gdb.rust/methods.rs: New file.
159 * gdb.rust/modules.exp: New file.
160 * gdb.rust/modules.rs: New file.
161 * gdb.rust/simple.exp: New file.
162 * gdb.rust/simple.rs: New file.
164 2016-05-17 Tom Tromey <tom@tromey.com>
166 * gdb.base/default.exp (set language): Add rust.
168 2016-05-17 Tom Tromey <tom@tromey.com>
170 * gdb.gdb/unittest.exp: New file.
172 2016-05-16 Yao Qi <yao.qi@linaro.org>
174 * gdb.base/batch-preserve-term-settings.exp: Remove variable
175 shell_prompt. Update shell_prompt_re.
177 2016-05-12 Doug Evans <dje@google.com>
180 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
181 $options when building executable.
182 * gdb.dwarf2/fission-loclists-pie.S: New file.
183 * gdb.dwarf2/fission-loclists-pie.exp: New file.
185 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
187 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
188 of [is_remote target],
190 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
192 * lib/gdb.exp (use_gdb_stub): New procedure.
194 2016-05-03 Yunlian Jiang <yunlian@google.com>
195 Doug Evans <dje@google.com>
198 * gdb.dwarf2/dwp-sepdebug.c: New file.
199 * gdb.dwarf2/dwp-sepdebug.exp: New file.
201 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
203 * gdb.base/detach.exp: Remove is_remote check.
205 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
207 * gdb.base/annota-input-while-running.exp: Don't check for
208 [is_remote target]. Enable annotations after running to main.
209 Remove unused "set test..." line.
211 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
213 * gdb.trace/trace-enable-disable.exp: New file.
214 * gdb.trace/trace-enable-disable.c: New file.
216 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
218 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
219 use it in info sharedlibrary test.
220 * gdb.trace/ftrace-lock.exp: Likewise.
221 * gdb.trace/ftrace.exp: Likewise.
222 * gdb.trace/range-stepping.exp: Likewise.
223 * gdb.trace/trace-break.exp: Likewise.
224 * gdb.trace/trace-condition.exp: Likewise.
225 * gdb.trace/trace-mt.exp: Likewise.
227 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
229 * lib/gdb.exp (gdb_load_shlibs): Rename to...
230 (gdb_load_shlib): ... this.
231 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
233 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
234 * gdb.base/ctxobj.exp: Likewise.
235 * gdb.base/dprintf-pending.exp: Likewise.
236 * gdb.base/dso2dso.exp: Likewise.
237 * gdb.base/fixsection.exp: Likewise.
238 * gdb.base/gcore-relro.exp: Likewise.
239 * gdb.base/gdb1555.exp: Likewise.
240 * gdb.base/global-var-nested-by-dso.exp: Likewise.
241 * gdb.base/gnu-ifunc.exp: Likewise.
242 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
243 * gdb.base/jit-so.exp (one_jit_test): Likewise.
244 * gdb.base/pending.exp: Likewise.
245 * gdb.base/print-file-var.exp: Likewise.
246 * gdb.base/print-symbol-loading.exp: Likewise.
247 * gdb.base/shlib-call.exp: Likewise.
248 * gdb.base/shreloc.exp: Likewise.
249 * gdb.base/so-impl-ld.exp: Likewise.
250 * gdb.base/solib-disc.exp: Likewise.
251 * gdb.base/solib-nodir.exp: Likewise.
252 * gdb.base/solib-overlap.exp: Likewise.
253 * gdb.base/solib-symbol.exp: Likewise.
254 * gdb.base/solib-weak.exp (do_test): Likewise.
255 * gdb.base/sym-file.exp: Likewise.
256 * gdb.base/symtab-search-order.exp: Likewise.
257 * gdb.base/type-opaque.exp: Likewise.
258 * gdb.base/unload.exp: Likewise.
259 * gdb.base/watchpoint-solib.exp: Likewise.
260 * gdb.compile/compile.exp: Likewise.
261 * gdb.cp/gdb2384.exp: Likewise.
262 * gdb.cp/infcall-dlopen.exp: Likewise.
263 * gdb.cp/re-set-overloaded.exp: Likewise.
264 * gdb.fortran/library-module.exp: Likewise.
265 * gdb.opt/solib-intra-step.exp: Likewise.
266 * gdb.python/py-finish-breakpoint.exp: Likewise.
267 * gdb.python/py-shared.exp: Likewise.
268 * gdb.reverse/solib-precsave.exp: Likewise.
269 * gdb.reverse/solib-reverse.exp: Likewise.
270 * gdb.server/solib-list.exp: Likewise.
271 * gdb.threads/dlopen-libpthread.exp: Likewise.
272 * gdb.threads/tls-shared.exp: Likewise.
273 * gdb.threads/tls-so_extern.exp: Likewise.
274 * gdb.trace/change-loc.exp: Likewise.
275 * gdb.trace/ftrace-lock.exp: Likewise.
276 * gdb.trace/ftrace.exp: Likewise.
277 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
278 * gdb.trace/pending.exp: Likewise.
279 * gdb.trace/range-stepping.exp: Likewise.
280 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
281 (strace_info_marker): Likewise.
282 (strace_probe_marker): Likewise.
283 (strace_trace_on_same_addr): Likewise.
284 (strace_trace_on_diff_addr): Likewise.
285 * gdb.trace/trace-break.exp: Likewise.
286 * gdb.trace/trace-condition.exp: Likewise.
287 * gdb.trace/trace-mt.exp: Likewise.
289 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
291 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
292 result of gdb_remote_download.
293 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
294 * gdb.base/dso2dso.exp: Likewise.
295 * gdb.base/global-var-nested-by-dso.exp: Likewise.
296 * gdb.base/print-file-var.exp: Likewise.
297 * gdb.base/shlib-call.exp: Likewise.
298 * gdb.base/shreloc.exp: Likewise.
299 * gdb.base/solib-overlap.exp: Likewise.
300 * gdb.base/solib-weak.exp (do_test): Likewise.
301 * gdb.base/unload.exp: Likewise.
303 2016-04-27 Yao Qi <yao.qi@linaro.org>
305 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
308 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
310 * vla-type.exp: Print structure from toplevel.
312 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
314 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
316 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
319 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
321 * gdb.fortran/vla-type.f90: New file.
322 * gdb.fortran/vla-type.exp: New file.
324 2016-04-25 Yao Qi <yao.qi@linaro.org>
326 * gdb.base/branch-to-self.c: New file.
327 * gdb.base/branch-to-self.exp: New file.
329 2016-04-22 Yao Qi <yao.qi@linaro.org>
331 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
334 2016-04-22 Yao Qi <yao.qi@linaro.org>
336 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
337 * gdb.base/annota3.exp: Likewise.
339 2016-04-22 Yao Qi <yao.qi@linaro.org>
341 * gdb.reverse/step-precsave.exp: Do one step and test program
342 stops in "callee" and do multiple steps until program goes out
344 * gdb.reverse/step-reverse.exp: Likewise.
346 2016-04-22 Yao Qi <yao.qi@linaro.org>
348 * gdb.trace/signal.exp: Also pass if
349 $tracepoint_hits($i) > $iterations.
351 2016-04-22 Yao Qi <yao.qi@linaro.org>
353 * gdb.trace/signal.c: New file.
354 * gdb.trace/signal.exp: New file.
356 2016-04-19 Doug Evans <xdje42@gmail.com>
358 * gdb.base/bad-file.exp: New file.
360 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
362 * gdb.dwarf2/implref.exp: New file.
364 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
366 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
367 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
368 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
369 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
370 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
371 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
372 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
373 * lib/fortran.exp (fortran_int4): New procedure.
374 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
375 (fortran_logical4): Likewise.
377 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
379 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
381 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
383 * lib/compiler.c: Add Intel specific preprocessor macros.
384 * lib/compiler.cc: Likewise.
386 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
388 * gdb.server/connect-with-no-symbol-file.c: New file.
389 * gdb.server/connect-with-no-symbol-file.exp: New file.
391 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
393 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
395 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
397 * boards/gdbserver-base.exp (${board}_download): Copy source file to
398 standard output directory.
400 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
402 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
404 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
406 * gdb.btrace/instruction_history.c (loop): Add declaration.
408 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
410 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
412 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
414 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
415 parentheses to print.
416 (continue_handler): Likewise.
418 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
420 * gdb.server/solib-list.exp: Remove is_remote check.
421 Pass shlib= to gdb_compile. Don't link shared library with
422 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
423 Run binary filename through "readlink -f" on the target.
425 2016-04-08 Pedro Alves <palves@redhat.com>
427 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
428 interpreter filename as argument to gdbserver_spawn.
429 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
430 Return empty if $last_loaded_file does not exist.
432 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
434 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
435 * gdb.base/jit-main.c: Use exit after usage.
437 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
439 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
440 GDBHISTSIZE prior to the tests.
441 * gdb.base/gdbinit-history.exp: Likewise.
443 2016-04-07 Pedro Alves <palves@redhat.com>
445 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
446 instead of build_executable. Use gdb_load_shlibs.
448 2016-04-07 Yao Qi <yao.qi@linaro.org>
450 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
451 Execute "si" command.
453 2016-04-07 Yao Qi <yao.qi@linaro.org>
455 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
456 number instead of the comments on some line.
458 2016-04-06 Don Breazeal <donb@codesourcery.com>
460 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
461 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
463 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
465 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
466 standard_output_file. Remove unused binfile variable.
468 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
470 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
471 * gdb.python/py-mi-objfile.exp: Match "list main" output
474 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
476 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
479 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
481 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
483 * gdb.trace/ftrace.exp: Likewise.
484 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
486 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
487 (gdb_load_shlibs): Copy libraries to test directory when testing
488 natively. Only set solib-search-path if testing remotely.
489 * lib/mi-support.exp (mi_load_shlibs): Likewise.
491 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
493 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
494 gdb_download. Use it even if the target is not remote.
495 * gdb.base/jit.exp (compile_jit_test): Likewise.
496 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
497 output directory if the destination board is local, otherwise use
498 the standard remote_download from DejaGnu.
499 (gdb_download): Remove.
500 (gdb_load_shlibs): Use gdb_remote_download instead of
502 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
503 Use gdb_remote_download instead of gdb_download. Use it even if
504 the target is not remote.
505 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
506 instead of gdb_download.
508 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
510 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
511 (test_insert_delete_modify): Call mi_load_shlibs before trying to
514 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
517 * gdb.base/printcmds.exp: Add artificial arrays tests.
519 2016-03-31 Pedro Alves <palves@redhat.com>
522 * gdb.base/jit-main.c: Include unistd.h.
523 (ATTACH): Define to 0 if not already defined.
524 (wait_for_gdb, mypid): New globals.
525 (WAIT_FOR_GDB): New macro.
526 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
527 some breakpoint locations.
528 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
530 (one_jit_test): Add REATTACH parameter, and handle it. Use
531 continue_to_test_location.
532 (top level): Test attach, and adjusts calls to one_jit_test.
534 2016-03-31 Pedro Alves <palves@redhat.com>
537 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
538 BINSUFFIX parameter, and handle it.
539 (top level): Adjust calls compile_jit_test.
541 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
544 * gdb.python/py-mi-events-gdb.py: New file.
545 * gdb.python/py-mi-events.c: New file.
546 * gdb.python/py-mi-events.exp: New file.
548 2016-03-30 Yao Qi <yao.qi@linaro.org>
550 * gdb.reverse/until-precsave.exp: Match function name only.
551 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
552 Move malloc to a condition block.
553 * gdb.reverse/until-reverse.exp: Match function name only.
555 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
557 * gdb.trace/ftrace.exp: Set arg0exp for s390.
558 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
559 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
560 variable for GPR 0 instead of assuming it is register 0.
561 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
562 * lib/trace-support.exp: Add s390 registers.
564 2016-03-29 Yao Qi <yao.qi@linaro.org>
566 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
568 2016-03-24 Yao Qi <yao.qi@linaro.org>
570 * gdb.reverse/break-reverse.exp: Add quotation mark in the
573 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
575 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
576 maintaining separate logic for constructing the output path.
578 2016-03-16 Don Breazeal <donb@codesourcery.com>
580 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
581 Retry fork and waitpid on interrupted system call errors.
582 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
583 Use with_timeout_factor to increase timeout by factor of 10.
585 2016-03-15 Don Breazeal <donb@codesourcery.com>
587 * gdb.cp/scope-err.cc: New test program.
588 * gdb.cp/scope-err.exp: New test script.
589 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
590 lines and "set breakpoint here" comment.
591 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
592 Fixed some whitespace and format issues.
593 * gdb.mi/mi-linespec-err-cp.cc: New test program.
594 * gdb.mi/mi-linespec-err-cp.exp: New test script.
596 2016-03-15 Doug Evans <dje@google.com>
598 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
599 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
600 All callers updated. Add tests for enums, mixed flags register.
602 2016-03-15 Doug Evans <dje@google.com>
604 * gdb.base/skip.c (main): Call test_skip_file_and_function.
605 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
607 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
609 * gdb.base/default.exp: Add $_as_string to the list of expected
610 convenience functions.
612 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
614 * gdb.base/maint.exp: New tests for 'maint info line-table'.
616 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
618 * gdb.python/py-as-string.exp: New file.
619 * gdb.python/py-as-string.c: New file.
621 2016-03-09 Pedro Alves <palves@redhat.com>
623 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
624 signal" -> "Thread NN received signal" output change.
625 * gdb.threads/ia64-sigill.exp: Likewise.
626 * gdb.threads/linux-dp.exp: Likewise.
627 * gdb.threads/manythreads.exp: Likewise.
628 * gdb.threads/pending-step.exp: Likewise.
629 * gdb.threads/print-threads.exp: Likewise.
630 * gdb.threads/sigstep-threads.exp: Likewise.
631 * gdb.threads/staticthreads.exp: Likewise.
632 * gdb.threads/tls.exp: Likewise.
634 2016-03-09 Pedro Alves <palves@redhat.com>
636 * gdb.base/command-line-input.exp: New file.
638 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
640 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
641 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
642 * gdb.trace/pending.exp: Accept leading dot before function name.
643 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
644 * lib/trace-support.exp: Set registers for ppc.
646 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
648 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
649 use it for disassembly; accept .main in addition to main in backtrace.
651 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
652 Marcin Kościelnicki <koriakin@0x04.net>
654 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
655 (gdb_recursion_test_ptr): New global variable.
656 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
660 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
662 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
665 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
667 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
668 (bar): Add bar_start_lbl label.
669 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
670 of foo/bar for emitting DWARF and tracing.
672 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
674 * analyze-racy-logs.py: Set executable bit.
676 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
678 * Makefile.in (DEFAULT_RACY_ITER): New variable.
679 (CHECK_TARGET_TMP): Likewise.
680 (check-single-racy): New rule.
681 (check-parallel-racy): Likewise.
682 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
683 (do-check-parallel-racy): New rule.
684 (check-racy/%.exp): Likewise.
685 * README (Racy testcases): New section.
686 * analyze-racy-logs.py: New file.
688 2016-03-03 Doug Evans <dje@google.com>
690 * gdb.base/skip.exp: Use with_test_prefix.
692 2016-03-03 Yao Qi <yao.qi@linaro.org>
694 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
695 Invoke step_over_syscall "clone" and break_cond_on_syscall
697 * gdb.base/step-over-clone.c: New file.
699 2016-03-03 Yao Qi <yao.qi@linaro.org>
701 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
704 2016-03-03 Yao Qi <yao.qi@linaro.org>
706 * gdb.base/disp-step-fork.c: Rename to ...
707 * gdb.base/step-over-fork.c: ... it. New file.
708 * gdb.base/disp-step-vfork.c: Rename to ...
709 * gdb.base/step-over-vfork.c: ... it. New file.
710 * gdb.base/disp-step-syscall.exp: Rename to ...
711 * gdb.base/step-over-syscall.exp: ... it. New file.
712 (disp_step_cross_syscall): Rename to ...
713 (step_over_syscall): ... it.
715 2016-03-03 Yao Qi <yao.qi@linaro.org>
717 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
718 If target supports condition evaluation on target, invoke
719 break_cond_on_syscall for fork and vfork.
721 2016-03-03 Yao Qi <yao.qi@linaro.org>
723 * gdb.base/disp-step-syscall.exp: Don't invoke
724 support_displaced_stepping.
725 (disp_step_cross_syscall): Test with displaced stepping off and
728 2016-03-03 Yao Qi <yao.qi@linaro.org>
730 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
733 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
736 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
738 * gdb.fortran/vla-history.exp: Remove breakpoint.
740 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
742 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
744 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
746 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
748 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
750 * gdb.mi/vla.f90: Nullify pointer after declaration.
752 2016-03-01 Pedro Alves <palves@redhat.com>
754 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
756 2016-03-01 Pedro Alves <palves@redhat.com>
758 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
759 before anything else.
760 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
762 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
763 before anything else.
764 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
766 2016-03-01 Pedro Alves <palves@redhat.com>
768 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
770 2016-03-01 Yao Qi <yao.qi@linaro.org>
772 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
775 2016-03-01 Yao Qi <yao.qi@linaro.org>
777 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
779 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
781 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
782 manually constructing the output path.
784 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
786 * gdb.arch/s390-stackless.S: New.
787 * gdb.arch/s390-stackless.exp: New.
789 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
791 * gdb.dlang/circular.c: New file.
792 * gdb.dlang/circular.exp: New file.
794 2016-02-26 Yao Qi <yao.qi@linaro.org>
796 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
797 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
800 2016-02-26 Yao Qi <yao.qi@linaro.org>
802 * gdb.reverse/aarch64.c: Rename to ...
803 * gdb.reverse/insn-reverse.c: ... it.
804 * gdb.reverse/aarch64.exp: Rename to ...
805 * gdb.reverse/insn-reverse.exp: ... it.
807 2016-02-26 Yao Qi <yao.qi@linaro.org>
809 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
810 (testcase_ftype): New.
811 (testcases): New array.
813 (main): Call each element in testcases.
814 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
815 (read_testcase): New.
816 Do the tests in a loop.
818 2016-02-25 Yao Qi <yao.qi@linaro.org>
820 * gdb.base/branches.c: Remove.
822 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
825 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
827 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
829 * gdb.trace/ftrace.exp: Remove unnecessary target check.
831 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
833 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
834 change x86_64 call_insn to 'callq'.
836 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
838 * gdb.trace/tfile-avx.c: Move to...
839 * gdb.trace/tracefile-pseudo-reg.c: Here.
840 * gdb.trace/tfile-avx.exp: Move to...
841 * gdb.trace/tracefile-pseudo-reg.exp: Here.
843 2016-02-24 Gary Benson <gbenson@redhat.com>
845 * gdb.base/attach-pie-noexec.exp: Do not expect an error
848 2016-02-23 Doug Evans <dje@google.com>
850 * gdb.base/skip.c (test_skip): New function.
851 (end_test_skip_file_and_function): New function.
852 (test_skip_file_and_function): New function.
853 * gdb.base/skip1.c (test_skip): New function.
854 (skip1_test_skip_file_and_function): New function.
855 * gdb.base/skip.exp: Add tests for new skip options.
856 * gdb.base/skip-solib.exp: Update expected output.
857 * gdb.perf/skip-command.cc: New file.
858 * gdb.perf/skip-command.exp: New file.
859 * gdb.perf/skip-command.py: New file.
861 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
863 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
864 info registers pattern.
866 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
868 * lib/future.exp: Add D support.
869 (gdb_find_gdc): New proc.
870 (gdb_default_target_compile): Add D support.
872 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
874 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
876 (trace_speed_test): Determine the iteration count for a time
877 between 15..30 seconds.
879 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
881 * gdb.arch/i386-mpx-sigsegv.c: New file.
882 * gdb.arch/i386-mpx-sigsegv.exp: New file.
883 * gdb.arch/i386-mpx-simple_segv.c: New file.
884 * gdb.arch/i386-mpx-simple_segv.exp: New file.
886 2016-02-18 Yao Qi <yao.qi@linaro.org>
888 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
889 Don't call setup_kfail.
891 2016-02-18 Yao Qi <yao.qi@linaro.org>
893 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
894 Set "set breakpoint condition-evaluation" per $cond_bp_target.
896 2016-02-16 Doug Evans <dje@google.com>
898 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
899 * gdb.base/skip1.c: Ditto.
900 * gdb.base/skip.exp: Whitespace cleanup.
902 2016-02-16 Don Breazeal <donb@codesourcery.com>
905 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
906 Remove kfail for PR remote/19496.
908 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
910 * lib/gdb.exp (standard_temp_file): Return a path specific to
911 the runtest invocation.
913 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
915 * gdb.trace/save-trace.exp: Change relative path to be in the
916 standard output directory.
918 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
920 * gdb.arch/i386-prologue.c: Add missing prototypes.
922 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
924 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
925 * gdb.arch/i386-prologue.exp: Likewise.
926 * gdb.arch/i386-size.exp: Likewise.
928 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
930 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
931 define object file path.
932 * gdb.btrace/gcore.exp: Use standard_output_file to define core
934 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
935 standard_output_file to define binfile.
937 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
939 Fix compatibility with recent gfortran-5.3.1.
940 * gdb.fortran/vla-history.exp (print vla1 allocated)
941 (print vla2 allocated, print $2, print $3): Remove
942 (print $4): Rename to ...
943 (print $2): ... here.
944 (print $9): Rename to ...
945 (print $5): ... here.
946 (print $10): Rename to ...
947 (print $6): ... here.
948 * gdb.fortran/vla.f90: Add pvla initialization.
950 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
952 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
954 * gdb.fortran/vla-value-sub.exp: Likewise.
956 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
958 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
960 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
962 * i386-biarch-core.exp: Define corefile using
963 standard_output_file.
965 2016-02-12 Yao Qi <yao.qi@linaro.org>
967 * gdb.arch/arm-single-step-kernel-helper.c: New.
968 * gdb.arch/arm-single-step-kernel-helper.exp: New.
970 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
972 * gdb.btrace/tailcall-only.exp: New.
973 * gdb.btrace/tailcall-only.c: New.
974 * gdb.btrace/x86_64-tailcall-only.S: New.
975 * gdb.btrace/i686-tailcall-only.S: New.
977 2016-02-11 Pedro Alves <palves@redhat.com>
979 * README (Parallel testing): Add missing double quotes.
981 2016-02-11 Pedro Alves <palves@redhat.com>
983 * README (Parallel testing): New section.
984 (GDB_PARALLEL): Rewrite.
985 (FORCE_PARALLEL): Document.
987 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
989 * gdb.trace/tfile-avx.c: New test.
990 * gdb.trace/tfile-avx.exp: New test.
992 2016-02-09 Keith Seitz <keiths@redhat.com>
995 * gdb.base/infcall-exec.c: New file.
996 * gdb.base/infcall-exec2.c: New file.
997 * gdb.base/infcall-exec.exp: New file.
999 2016-02-09 Keith Seitz <keiths@redhat.com>
1001 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
1002 (toplevel): Call test_bkpt_address.
1004 2016-02-09 Keith Seitz <keiths@redhat.com>
1007 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
1008 (toplevel): Call test_bkpt_address.
1010 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
1012 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
1014 * configure: Regenerate.
1016 2016-02-09 Pedro Alves <palves@redhat.com>
1018 PR breakpoints/19548
1019 * gdb.base/execl-update-breakpoints.c (some_function): New
1022 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
1023 Tighten expected GDB output.
1025 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1027 * Makefile.in (ALL_SUBDIRS): Remove.
1028 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
1029 (distclean maintainer-clean realclean): Likewise.
1030 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
1031 * configure: Regenerate.
1032 * gdb.ada/Makefile.in: Delete.
1033 * gdb.arch/Makefile.in: Likewise.
1034 * gdb.asm/Makefile.in: Likewise.
1035 * gdb.base/Makefile.in: Likewise.
1036 * gdb.btrace/Makefile.in: Likewise.
1037 * gdb.cell/Makefile.in: Likewise.
1038 * gdb.compile/Makefile.in: Likewise.
1039 * gdb.cp/Makefile.in: Likewise.
1040 * gdb.disasm/Makefile.in: Likewise.
1041 * gdb.dlang/Makefile.in: Likewise.
1042 * gdb.dwarf2/Makefile.in: Likewise.
1043 * gdb.fortran/Makefile.in: Likewise.
1044 * gdb.gdb/Makefile.in: Likewise.
1045 * gdb.go/Makefile.in: Likewise.
1046 * gdb.guile/Makefile.in: Likewise.
1047 * gdb.java/Makefile.in: Likewise.
1048 * gdb.linespec/Makefile.in: Likewise.
1049 * gdb.mi/Makefile.in: Likewise.
1050 * gdb.modula2/Makefile.in: Likewise.
1051 * gdb.multi/Makefile.in: Likewise.
1052 * gdb.objc/Makefile.in: Likewise.
1053 * gdb.opencl/Makefile.in: Likewise.
1054 * gdb.opt/Makefile.in: Likewise.
1055 * gdb.pascal/Makefile.in: Likewise.
1056 * gdb.perf/Makefile.in: Likewise.
1057 * gdb.python/Makefile.in: Likewise.
1058 * gdb.reverse/Makefile.in: Likewise.
1059 * gdb.server/Makefile.in: Likewise.
1060 * gdb.stabs/Makefile.in: Likewise.
1061 * gdb.threads/Makefile.in: Likewise.
1062 * gdb.trace/Makefile.in: Likewise.
1063 * gdb.xml/Makefile.in: Likewise.
1064 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1066 (standard_output_file): Remove check for GDB_PARALLEL, always
1067 return path in outputs/$subdir/$testname.
1069 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1071 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1072 (site.exp): Assign abs_srcdir to tcl's srcdir.
1074 2016-02-04 Yao Qi <yao.qi@linaro.org>
1076 * gdb.base/foll-exec-mode.c: Include limits.h.
1077 (main): Add parameters argc and argv. Get directory from
1079 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1081 * gdb.base/foll-exec.c: Include limits.h.
1082 (main): Add parameters argc and argv.
1083 Get directory from argv[0].
1084 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1085 Adjust tests on the number of lines as source code changed.
1086 * gdb.base/foll-vfork-exit.c: Include limits.h.
1087 (main): Add one line of statement before vfork.
1088 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1089 (main): Add parameters argc and argv. Get directory from
1091 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1092 (setup_gdb): Set tbreak to skip some source lines.
1093 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1094 (main): Add parameters argc and argv. Get directory from
1096 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1098 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1099 (main): Add parameters argc and argv. Get directory from
1101 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1104 2016-02-01 Doug Evans <dje@google.com>
1106 * gdb.base/skip.exp: Clean up multiple references to same test name.
1108 2016-02-01 Pedro Alves <palves@redhat.com>
1111 * gdb.threads/forking-threads-plus-breakpoint.exp
1112 (displaced_stepping_supported): New global.
1113 (probe_displaced_stepping_support): New procedure.
1114 (do_test): Add 'displaced' parameter, and use it.
1115 (top level): Check for displaced stepping support. Add displaced
1116 stepping on/off testing axis.
1118 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1120 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1121 pointer. Don't perform further tests on the unassociated pointer
1122 if the first test fails.
1124 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1126 * gdb.base/max-value-size.c: New file.
1127 * gdb.base/max-value-size.exp: New file.
1128 * gdb.base/huge.exp: Disable max-value-size for this test.
1130 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1132 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1134 2016-01-28 Yao Qi <yao.qi@linaro.org>
1136 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1138 2016-01-25 Pedro Alves <palves@redhat.com>
1141 * gdb.base/fork-running-state.c: New file.
1142 * gdb.base/fork-running-state.exp: New file.
1144 2016-01-25 Pedro Alves <palves@redhat.com>
1147 * gdb.base/catch-fork-kill.c: New file.
1148 * gdb.base/catch-fork-kill.exp: New file.
1150 2016-01-25 Pedro Alves <palves@redhat.com>
1152 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1153 Delete, moved to lib/gdb.exp.
1154 * gdb.threads/forking-threads-plus-breakpoint.exp
1155 (foreach_with_prefix): Likewise.
1156 * gdb.threads/process-dies-while-handling-bp.exp
1157 (foreach_with_prefix): Likewise.
1158 * lib/gdb.exp (foreach_with_prefix): New procedure.
1160 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1162 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1163 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1165 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1167 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1170 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1171 Pedro Alves <palves@redhat.com>
1173 Fix testsuite compatibility with Guile.
1174 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1177 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1179 Fix testsuite compatibility with Guile.
1180 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1181 (thread 1): New test for backtrace through signal handler.
1183 2016-01-22 Yao Qi <yao.qi@linaro.org>
1186 * gdb.base/multi-forks.c: Include
1187 ../lib/unbuffer_output.c
1188 (main): Call gdb_unbuffer_output.
1190 2016-01-21 Doug Evans <dje@google.com>
1192 * lib/ada.exp (gdb_compile_ada): Fix typo.
1194 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1196 * gdb.base/break-fun-addr.exp: New file.
1197 * gdb.base/break-fun-addr1.c: New file.
1198 * gdb.base/break-fun-addr2.c: New file.
1200 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1202 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1203 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1206 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1208 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1209 when GDB can not set the vector return value. Add more comments
1212 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1214 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1217 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1219 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1221 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1223 * Makefile.in (check-single): Pass --status to runtest.
1224 (check/%.exp): Likewise.
1226 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1228 * Makefile.in (check-parallel): Propagate return code from make
1231 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1233 * gdb.trace/ftrace.exp: Fix expected message on continue.
1234 * gdb.trace/pending.exp: Fix expected message on continue.
1235 * gdb.trace/trace-break.exp: Fix expected message on continue.
1237 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1239 * lib/gdb.exp (gdb_test): Remove unused global references.
1241 2016-01-18 Pedro Alves <palves@redhat.com>
1243 * gdb.base/async-shell.exp: Adjust expected output.
1244 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1245 * gdb.base/siginfo-thread.exp: Adjust expected output.
1246 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1247 * gdb.java/jnpe.exp: Adjust expected output.
1248 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1249 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1250 * gdb.threads/leader-exit.exp: Adjust expected output.
1251 * gdb.threads/manythreads.exp: Adjust expected output.
1252 * gdb.threads/pthreads.exp: Adjust expected output.
1253 * gdb.threads/schedlock.exp: Adjust expected output.
1254 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1255 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1257 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1259 * gdb.threads/sigthread.exp: Adjust expected output.
1260 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1262 2016-01-18 Yao Qi <yao.qi@linaro.org>
1264 * gdb.guile/scm-section-script.c: Replace @progbits with
1266 * gdb.python/py-section-script.c: Likewise.
1268 2016-01-15 Pedro Alves <palves@redhat.com>
1270 * gdb.multi/tids.exp: Test star wildcard ranges.
1272 2016-01-15 Pedro Alves <palves@redhat.com>
1274 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1275 command from "thread apply" invocation.
1276 (thr_apply_info_thr_invalid): Default the expected output to the
1278 (top level): Add tests that use convenience variables. Add tests
1279 for "thread apply" with a valid TID list, but missing the command.
1281 2016-01-13 Pedro Alves <palves@redhat.com>
1283 * gdb.base/default.exp: Expect $_gthread as well.
1284 * gdb.multi/tids.exp: Test $_gthread.
1285 * gdb.threads/thread-specific.exp: Test $_gthread.
1287 2016-01-13 Pedro Alves <palves@redhat.com>
1289 * gdb.multi/tids.exp: Test "info threads -gid".
1291 2016-01-13 Pedro Alves <palves@redhat.com>
1293 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1295 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1297 2016-01-07 Pedro Alves <palves@redhat.com>
1299 * gdb.base/break.exp: Adjust to output changes.
1300 * gdb.base/hbreak2.exp: Likewise.
1301 * gdb.base/sepdebug.exp: Likewise.
1302 * gdb.base/watch_thread_num.exp: Likewise.
1303 * gdb.linespec/keywords.exp: Likewise.
1304 * gdb.multi/info-threads.exp: Likewise.
1305 * gdb.threads/thread-find.exp: Likewise.
1306 * gdb.multi/tids.c: New file.
1307 * gdb.multi/tids.exp: New file.
1309 2016-01-13 Pedro Alves <palves@redhat.com>
1311 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1313 2016-01-13 Pedro Alves <palves@redhat.com>
1315 * gdb.base/default.exp: Expect $_inferior as well.
1316 * gdb.multi/base.exp: Test $_inferior.
1318 2016-01-13 Pedro Alves <palves@redhat.com>
1320 PR breakpoints/19388
1321 * gdb.base/catch-signal-siginfo-cond.c: New file.
1322 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1324 2016-01-12 Josh Stone <jistone@redhat.com>
1325 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1327 * gdb.base/catch-syscall.c (do_execve): New variable.
1328 (main): Conditionally trigger an execve.
1329 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1330 (test_catch_syscall_execve): New, check entry/return across execve.
1331 (do_syscall_tests): Call test_catch_syscall_execve.
1333 2016-01-12 Pedro Alves <palves@redhat.com>
1335 * gdb.base/random-signal.exp (do_test): New procedure, with body
1336 of testcase moved in.
1338 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1339 Pedro Alves <palves@redhat.com>
1341 * gdb.base/funcargs.exp (finish from indirectly called function):
1342 Reintroduce the case for 'First'.
1344 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1345 Pedro Alves <palves@redhat.com>
1347 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1348 (tcatch_vfork_then_child_follow_exec)
1349 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1352 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1354 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1355 and repeats to unlimited.
1356 * gdb.python/py-value.exp: Likewise.
1357 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1358 and repeats to unlimited.
1360 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1362 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1363 and reordering the functions.
1364 * gdb.multi/hangout.c: Likewise.
1365 * gdb.multi/hello.c: Likewise.
1367 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1369 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1371 (SingleStatisticTestResult.report): Use dict.keys instead of
1374 2016-01-06 Pedro Alves <palves@redhat.com>
1376 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1378 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1380 * gdb.btrace/dlopen.exp: New.
1381 * gdb.btrace/dlopen.c: New.
1382 * gdb.btrace/dlopen-dso.c: New.
1384 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1386 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1387 PATTERN argument is optional.
1389 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1391 * lib/ada.exp (target_compile_ada_from_dir): New function.
1392 (gdb_compile_ada): Reimplement avoiding the use of project files.
1393 * gdb.ada/gnat_ada.gpr: Delete.
1394 * gdb.ada/cond_lang.exp: Adjust test to make path before
1396 * gdb.ada/small_reg_param.exp: Likewise.
1398 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1400 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1402 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1404 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1407 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1409 * gdb.base/break.exp: Remove dead code.
1410 * gdb.base/sepdebug.exp: Likewise.
1412 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1414 * gdb.asm/asm-source.exp: Remove HP-UX references.
1415 * gdb.base/annota1.exp: Likewise.
1416 * gdb.base/annota3.exp: Likewise.
1417 * gdb.base/attach.exp: Likewise.
1418 * gdb.base/bigcore.exp: Likewise.
1419 * gdb.base/break.exp: Likewise.
1420 * gdb.base/call-ar-st.exp: Likewise.
1421 * gdb.base/callfuncs.exp: Likewise.
1422 * gdb.base/catch-fork-static.exp: Likewise.
1423 * gdb.base/display.exp: Likewise.
1424 * gdb.base/foll-exec-mode.exp: Likewise.
1425 * gdb.base/foll-exec.exp: Likewise.
1426 * gdb.base/foll-fork.exp: Likewise.
1427 * gdb.base/foll-vfork.exp: Likewise.
1428 * gdb.base/funcargs.exp: Likewise.
1429 * gdb.base/hbreak2.exp: Likewise.
1430 * gdb.base/inferior-died.exp: Likewise.
1431 * gdb.base/interrupt.exp: Likewise.
1432 * gdb.base/multi-forks.exp: Likewise.
1433 * gdb.base/nodebug.exp: Likewise.
1434 * gdb.base/sepdebug.exp: Likewise.
1435 * gdb.base/solib1.c: Likewise.
1436 * gdb.base/step-test.exp: Likewise.
1437 * gdb.mi/non-stop.c: Likewise.
1438 * gdb.mi/pthreads.c: Likewise.
1439 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1440 * gdb.threads/pthreads.c: Likewise.
1441 * gdb.threads/staticthreads.exp: Likewise.
1442 * lib/future.exp: Likewise.
1443 * lib/gdb.exp: Likewise.
1444 * gdb.base/so-indr-cl.c: Remove.
1445 * gdb.base/so-indr-cl.exp: Likewise.
1446 * gdb.base/solib.c: Likewise.
1447 * gdb.base/solib.exp: Likewise.
1448 * gdb.base/solib2.c: Likewise.
1450 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1452 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1453 * gdb.base/call-ar-st.exp: Likewise.
1454 * gdb.base/callfuncs.exp: Likewise.
1455 * gdb.base/condbreak.exp: Likewise.
1456 * gdb.base/constvars.exp: Likewise.
1457 * gdb.base/hbreak2.exp: Likewise.
1458 * gdb.base/langs.exp: Likewise.
1459 * gdb.base/list.exp: Likewise.
1460 * gdb.base/long_long.exp: Likewise.
1461 * gdb.base/ptype.exp: Likewise.
1462 * gdb.base/scope.exp: Likewise.
1463 * gdb.base/signals.exp: Likewise.
1464 * gdb.base/so-impl-ld.exp: Likewise.
1465 * gdb.base/varargs.exp: Likewise.
1466 * gdb.base/volatile.exp: Likewise.
1467 * gdb.base/whatis.exp: Likewise.
1468 * gdb.cp/cplusfuncs.exp: Likewise.
1469 * gdb.cp/inherit.exp: Likewise.
1470 * gdb.cp/local.exp: Likewise.
1471 * gdb.cp/member-ptr.exp: Likewise.
1472 * gdb.cp/method.exp: Likewise.
1473 * gdb.cp/overload.exp: Likewise.
1474 * gdb.cp/templates.exp: Likewise.
1475 * gdb.stabs/weird.exp: Likewise.
1476 * lib/compiler.c: Likewise.
1477 * lib/compiler.cc: Likewise.
1478 * lib/cp-support.exp: Likewise.
1479 * lib/gdb.exp: Likewise.
1481 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1483 * configure.ac: Remove HP-UX case.
1484 * configure: Regenerate.
1486 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1488 * lib/gdb.exp (gdb_compile): Add function doc.
1490 2015-12-17 Pedro Alves <palves@redhat.com>
1493 * gdb.multi/info-threads.exp: New file.
1495 2015-12-15 Yao Qi <yao.qi@linaro.org>
1497 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1500 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1502 * gdb.base/history-duplicates.exp: Skip if no readline support.
1504 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1506 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1508 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1510 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1512 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1514 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1515 ctrl-C if nointerrupts target property is set.
1516 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1517 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1518 * gdb.base/paginate-bg-execution.exp: Likewise.
1519 * gdb.base/paginate-execution-startup.exp: Likewise.
1520 * gdb.base/random-signal.exp: Likewise.
1521 * gdb.base/range-stepping.exp: Likewise.
1522 * gdb.cp/annota2.exp: Likewise.
1523 * gdb.cp/annota3.exp: Likewise.
1524 * gdb.gdb/selftest.exp: Likewise.
1525 * gdb.threads/continue-pending-status.exp: Likewise.
1526 * gdb.threads/leader-exit.exp: Likewise.
1527 * gdb.threads/manythreads.exp: Likewise.
1528 * gdb.threads/pthreads.exp: Likewise.
1529 * gdb.threads/schedlock.exp: Likewise.
1530 * gdb.threads/sigthread.exp: Likewise.
1532 2015-12-11 Don Breazeal <donb@codesourcery.com>
1534 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1536 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1537 * gdb.base/foll-exec.exp (main): Enable for target remote.
1538 * gdb.base/foll-fork.exp (main): Likewise.
1539 * gdb.base/foll-vfork.exp (main): Likewise.
1540 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1541 (proc continue_to_exit_bp_loc): Use clean_restart.
1542 * gdb.base/pie-execl.exp (main): Disable for target remote.
1543 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1544 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1545 * gdb.threads/execl.exp (main): Likewise.
1546 * gdb.threads/fork-child-threads.exp (main): Likewise.
1547 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1549 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1551 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1552 pid.tid style ptids, instead of just tid.
1553 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1554 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1555 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1556 ptids, instead of just tid.
1558 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1560 * gdb.base/list.exp (test_list_forward): Add end of file error
1562 (test_repeat_list_command): Add end of file error test.
1563 (test_list_backwards): Add beginning of file error test.
1565 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1567 * gdb.base/list.exp (test_list_invalid_args): New function,
1568 defined, and called.
1570 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1572 * gdb.base/list.exp (test_list): Make test names unique.
1574 2015-12-11 Yao Qi <yao.qi@linaro.org>
1576 * gdb.base/coremaker2.c: Remove.
1578 2015-12-10 Pedro Alves <palves@redhat.com>
1580 * gdb.multi/base.exp: Remove stale "spaces" references.
1582 2015-12-10 Pedro Alves <palves@redhat.com>
1584 * gdb.multi/base.exp: Don't use nowarnings.
1585 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1586 * gdb.multi/hangout.c: Include stdio.h.
1587 * gdb.multi/hello.c: Include stdlib.h.
1588 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1589 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1590 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1592 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1594 * gdb.dwarf2/dw2-ranges-base.c: New file.
1595 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1596 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1597 support additional line table, and debug ranges generation.
1598 (Dwarf::ranges): New function, generate .debug_ranges.
1599 (Dwarf::lines): Support generating simple line table programs.
1600 (Dwarf::assemble): Initialise new namespace variables.
1602 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1604 * gdb.base/async.exp (proc test_background): Add case for
1605 asynchronous execution not supported.
1607 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1609 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1610 format and change test names to make them unique.
1612 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1613 Pedro Alves <pedro@redhat.com>
1616 Add checking of floatformats setup on x86_64 hosts.
1617 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1618 (smallval, bigval): New labels/constants.
1619 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1620 float" after loading bigval and smallval.
1622 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1624 * gdb.ada/fun_overload_menu.exp: New testcase.
1625 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1627 2015-12-04 Josh Stone <jistone@redhat.com>
1629 * gdb.base/catch-fork-static.exp: New.
1631 2015-12-03 Yao Qi <yao.qi@linaro.org>
1633 * gdb.base/sizeof.c: Don't include stdio.h and
1634 ../lib/unbuffer_output.c.
1635 (main): New variable 'size' and 'value'. Remove printf and
1636 gdb_unbuffer_output. Assign return value to size and value.
1637 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1639 (check_sizeof): Check the result by printing variable 'size'.
1640 (check_valueof): Check the result by printing variable 'value'.
1642 2015-12-01 Yao Qi <yao.qi@linaro.org>
1644 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1645 for aarch64*-*-linux* target.
1647 2015-11-30 Pedro Alves <palves@redhat.com>
1649 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1651 2015-11-30 Pedro Alves <palves@redhat.com>
1653 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1654 Handle non-stop mode vCont replies.
1656 2015-11-30 Pedro Alves <palves@redhat.com>
1658 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1659 prepare_for_testing. Start gdb with "set non-stop on" appended to
1660 GDBFLAGS. Lax expected stop output.
1662 2015-11-27 Yao Qi <yao.qi@linaro.org>
1664 * gdb.arch/arm-neon.exp: New.
1665 * gdb.arch/arm-neon.c: New.
1667 2015-11-27 Yao Qi <yao.qi@linaro.org>
1669 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1671 2015-11-27 Yao Qi <yao.qi@linaro.org>
1673 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1674 frames-invalid annotation.
1676 2015-11-27 Yao Qi <yao.qi@linaro.org>
1678 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1680 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1682 * gdb.threads/names.exp: New file.
1683 * gdb.threads/names.c: New file.
1684 * README: Mention gdb,no_thread_names.
1686 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1689 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1692 2015-11-24 Pedro Alves <palves@redhat.com>
1695 * gdb.base/display.exp: Expect displays to be sorted in ascending
1696 order. Use multi_line.
1697 * gdb.base/solib-display.exp: Likewise.
1699 2015-11-24 Pedro Alves <palves@redhat.com>
1702 * gdb.base/display.exp: Expect displays to be sorted in ascending
1703 order. Use multi_line.
1704 * gdb.base/solib-display.exp: Likewise.
1706 2015-11-24 Pedro Alves <palves@redhat.com>
1709 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1710 threads in ascending order.
1711 * gdb.base/foll-fork.exp: Likewise.
1712 * gdb.base/foll-vfork.exp: Likewise.
1713 * gdb.base/multi-forks.exp: Likewise.
1714 * gdb.mi/mi-nonstop.exp: Likewise.
1715 * gdb.mi/mi-nsintrall.exp: Likewise.
1716 * gdb.multi/base.exp: Likewise.
1717 * gdb.multi/multi-arch.exp: Likewise.
1718 * gdb.python/py-inferior.exp: Likewise.
1719 * gdb.threads/break-while-running.exp: Likewise.
1720 * gdb.threads/execl.exp: Likewise.
1721 * gdb.threads/gcore-thread.exp: Likewise.
1722 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1723 * gdb.threads/kill.exp: Likewise.
1724 * gdb.threads/linux-dp.exp: Likewise.
1725 * gdb.threads/multiple-step-overs.exp: Likewise.
1726 * gdb.threads/next-bp-other-thread.exp: Likewise.
1727 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1728 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1729 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1730 * gdb.threads/thread-find.exp: Likewise.
1731 * gdb.threads/tls.exp: Likewise.
1732 * lib/mi-support.exp (mi_reverse_list): Delete.
1733 (mi_check_thread_states): No longer reverse list.
1735 2015-11-24 Pedro Alves <palves@redhat.com>
1737 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1740 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1742 * gdb.trace/actions.c: Include trace-common.h.
1743 (main): Add a location for a fast tracepoint.
1744 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1745 the normal tracepoints.
1746 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1748 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1750 * save-trace.exp: Factor out code to these...
1751 (gdb_save_tracepoints): New.
1752 (gdb_load_tracepoints): New.
1753 (do_save_load_test): New.
1755 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1757 * gdb.base/asmlabel.exp: New test.
1758 * gdb.base/asmlabel.c: New test case.
1760 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1762 * gdb.base/wrong_frame_bt_full-main.c: New file.
1763 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1764 * gdb.base/wrong_frame_bt_full.exp: New file.
1766 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1768 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1770 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1772 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1773 pstate register when comparing registers values in
1774 sparc64-*-linux-gnu targets to avoid spurious differences.
1776 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1778 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1780 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1782 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1783 as type argument to gdb_compile.
1784 * gdb.base/nested-subp2.exp: Likewise.
1785 * gdb.base/nested-subp3.exp: Likewise.
1787 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1789 * lib/dwarf.exp (_note): Fix left shift of negative value.
1790 * gdb.trace/trace-condition.exp: Likewise.
1792 2015-11-13 Yao Qi <yao.qi@linaro.org>
1794 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1795 comments about d10v.
1796 (test_scalar_returns): Likewise.
1797 * gdb.base/d10v.ld: Remove.
1798 * gdb.base/overlays.exp: Remove the target triplet checking for
1800 * gdb.base/structs.exp (test_struct_returns): Remove the
1801 comments about d10v.
1802 (test_struct_calls): Likewise.
1804 2015-11-13 Yao Qi <yao.qi@linaro.org>
1806 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1807 * gdb.base/gnu_vector.c: Don't include stdio.h.
1808 (main): Don't print res and call add_some_intvecs.
1810 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1812 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1815 (func4): Use FAST_TRACEPOINT_LABEL.
1816 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1819 (thread_function): Use FAST_TRACEPOINT_LABEL.
1820 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1822 (marker): Use FAST_TRACEPOINT_LABEL.
1823 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1824 (pendfunc1): Remove.
1825 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1826 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1828 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1829 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1832 (marker): Use FAST_TRACEPOINT_LABEL.
1833 * gdb.trace/trace-common.h: New header.
1834 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1837 (marker): Use FAST_TRACEPOINT_LABEL.
1838 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1840 (thread_function): Use FAST_TRACEPOINT_LABEL.
1842 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1844 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1846 * gdb.trace/change-loc.exp: Use global pcreg definition.
1847 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1848 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1850 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1851 * gdb.trace/pending.exp: Likewise.
1852 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1853 * gdb.trace/trace-break.exp: Likewise.
1854 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1856 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1857 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1859 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1861 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1863 * gdb.ada/fin_fun_out: New testcase.
1865 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1867 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1868 value associated with DW_AT_byte_size.
1869 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1870 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1873 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1875 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1876 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1878 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1879 gdb.dwarf2/dw2-canonicalize-type.exp,
1880 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1881 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1882 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1883 provided by gdb_target_symbol_prefix_flags_asm.
1884 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1885 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1886 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1887 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1888 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1889 macros where needed). Use this macro for symbols which require
1890 the prefix provided by SYMBOL_PREFIX.
1892 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1894 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1896 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1897 representing expressions, of more than one list element.
1898 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1899 to prepend linker symbol prefix to f.
1900 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1901 table_1 and table_2.
1902 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1903 Likewise, for f and g.
1904 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1906 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1908 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1909 table_1_ptr and table_2_ptr.
1911 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1912 Joel Brobecker <brobecker@adacore.com>
1914 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1916 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1918 * gdb.reverse/s390-mvcle.c: New test.
1919 * gdb.reverse/s390-mvcle.exp: New file.
1920 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1922 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1924 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1926 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1928 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1930 * gdb.reverse/getresuid-reverse.exp: Likewise.
1931 * gdb.reverse/pipe-reverse.exp: Likewise.
1932 * gdb.reverse/readv-reverse.exp: Likewise.
1933 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1934 * gdb.reverse/time-reverse.exp: Likewise.
1935 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1937 2015-10-30 Yao Qi <yao.qi@linaro.org>
1939 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1940 (empty_cycle): Remove.
1941 (main): Don't call empty_cycle. Don't use watch_count_done.
1942 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1943 empty_cycle. Rewrite the code counting HW watchpoints.
1945 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1947 * gdb.reverse/fstatat-reverse.c: New test.
1948 * gdb.reverse/fstatat-reverse.exp: New file.
1949 * gdb.reverse/getresuid-reverse.c: New test.
1950 * gdb.reverse/getresuid-reverse.exp: New file.
1951 * gdb.reverse/pipe-reverse.c: New test.
1952 * gdb.reverse/pipe-reverse.exp: New file.
1953 * gdb.reverse/readv-reverse.c: New test.
1954 * gdb.reverse/readv-reverse.exp: New file.
1955 * gdb.reverse/recvmsg-reverse.c: New test.
1956 * gdb.reverse/recvmsg-reverse.exp: New file.
1957 * gdb.reverse/time-reverse.c: New test.
1958 * gdb.reverse/time-reverse.exp: New file.
1959 * gdb.reverse/waitpid-reverse.c: New test.
1960 * gdb.reverse/waitpid-reverse.exp: New file.
1962 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1964 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1966 2015-10-26 Doug Evans <dje@google.com>
1969 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1970 * gdb.dwarf2/bad-regnum.c: New file.
1971 * gdb.dwarf2/bad-regnum.exp: New file.
1973 2015-10-26 Doug Evans <dje@google.com>
1976 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1979 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1981 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1982 for a change by "Mention language in compile error message".
1984 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1987 * gdb.python/py-type.c (C::a_method): New.
1988 (C::a_const_method): New.
1989 (C::a_static_method): New.
1991 * gdb.python/py-type.exp (test_fields): Test getting fields
1992 from function and method.
1994 2015-10-21 Keven Boell <keven.boell@intel.com>
1996 * gdb.fortran/vla-alloc-assoc.exp: New file.
1997 * gdb.fortran/vla-datatypes.exp: New file.
1998 * gdb.fortran/vla-datatypes.f90: New file.
1999 * gdb.fortran/vla-history.exp: New file.
2000 * gdb.fortran/vla-ptype-sub.exp: New file.
2001 * gdb.fortran/vla-ptype.exp: New file.
2002 * gdb.fortran/vla-sizeof.exp: New file.
2003 * gdb.fortran/vla-sub.f90: New file.
2004 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
2005 * gdb.fortran/vla-value-sub-finish.exp: New file.
2006 * gdb.fortran/vla-value-sub.exp: New file.
2007 * gdb.fortran/vla-value.exp: New file.
2008 * gdb.fortran/vla-ptr-info.exp: New file.
2009 * gdb.mi/mi-vla-fortran.exp: New file.
2010 * gdb.mi/vla.f90: New file.
2012 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
2014 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
2015 of hardwired timeout value.
2017 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
2018 Pedro Alves <palves@redhat.com>
2020 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
2021 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
2023 2015-10-19 Josh Stone <jistone@redhat.com>
2025 * gdb.base/catch-syscall.c: Include <sched.h>.
2026 (unknown_syscall): New variable.
2027 (main): Trigger a vfork and an unknown syscall.
2028 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
2029 (unknown_syscall_number): Likewise.
2030 (check_call_to_syscall): Accept an optional syscall pattern.
2031 (check_return_from_syscall): Likewise.
2032 (check_continue): Likewise.
2033 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
2034 (test_catch_syscall_skipping_return): New test toggling off 'catch
2035 syscall' to step over the syscall return, then toggling back on.
2036 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
2037 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
2038 (do_syscall_tests): Call test_catch_syscall_without_args and
2039 test_catch_syscall_mid_vfork.
2040 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
2041 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
2043 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
2045 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
2046 print g_vE): Add new pass patterns.
2047 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
2048 print various symbol names for vptr fields.
2050 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2052 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2055 2015-10-12 Yao Qi <yao.qi@linaro.org>
2057 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2059 2015-10-12 Yao Qi <yao.qi@linaro.org>
2061 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2062 is aarch64*-*-linux*.
2064 2015-10-12 Yao Qi <yao.qi@linaro.org>
2066 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2067 (can_relocate_bcond_true): ... it.
2068 (can_relocate_bcond_false): New function.
2070 (can_relocate_bl): Likewise.
2071 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2074 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2076 * gdb.base/nested-addr.c: New file.
2077 * gdb.base/nested-addr.exp: New testcase.
2079 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2081 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2082 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2083 its output. Ignore the output of "record goto begin" and instead
2084 check that GDB is replaying.
2086 2015-10-09 Pedro Alves <palves@redhat.com>
2088 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2089 (top level): Use it in the run with no args test.
2091 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2093 * gdb.dlang/properties.exp: New file.
2095 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2097 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2098 whether or not address 0x1000 is mapped on the target.
2100 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2102 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2105 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2107 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2108 instruction-history test.
2110 2015-09-28 Doug Evans <dje@google.com>
2112 * gdb.base/gcore.c (array_func): Add reference to static_array.
2114 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2116 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2119 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2121 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2122 short or char as base type.
2124 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2126 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2127 to allow any size enum.
2129 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2131 * gdb.ada/array_ptr_renaming.exp: New testcase.
2132 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2133 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2135 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2137 * gdb.trace/ftrace-lock.c: New file.
2138 * gdb.trace/ftrace-lock.exp: New file.
2140 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2142 * gdb.arch/insn-reloc.c: New file.
2143 * gdb.arch/ftrace-insn-reloc.exp: New file.
2145 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2147 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2149 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2150 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2151 * gdb.trace/range-stepping.c: Likewise.
2152 * gdb.trace/trace-break.c: Likewise.
2153 * gdb.trace/trace-mt.c (thread_function): Likewise.
2154 * gdb.trace/ftrace.c (marker): Likewise.
2155 * gdb.trace/trace-condition.c (marker): Likewise.
2156 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2157 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2160 2015-09-18 Doug Evans <xdje42@gmail.com>
2162 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2163 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2165 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2167 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2170 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2172 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2173 the pending breakpoint. Remove timeout override for "Run till
2174 MI pending breakpoint on pendfunc3 on thread 2" test.
2176 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2178 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2181 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2183 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2184 in breakpoint filename pattern.
2186 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2188 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2190 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2192 * gdb.linespec/explicit.exp: Check for readline support for
2193 tab-completion tests. Fix obvious typo.
2195 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2197 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2200 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2202 * gdb.btrace/non-stop.c: New.
2203 * gdb.btrace/non-stop.exp: New.
2205 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2206 Yao Qi <yao.qi@linaro.org>
2208 * gdb.trace/trace-condition.c: New file.
2209 * gdb.trace/trace-condition.exp: New file.
2211 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2213 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2214 for testing bytecode compilation.
2216 2015-09-16 Pedro Alves <palves@redhat.com>
2217 Sandra Loosemore <sandra@codesourcery.com>
2219 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2220 (SECONDS): Redefine.
2221 (main): Call pthread_kill and alarm early.
2222 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2224 (test): If the target can't hardware step and doesn't support
2225 displaced stepping, increase the timeout.
2227 2015-09-16 Pedro Alves <palves@redhat.com>
2229 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2230 (enable_debug): New procedures.
2231 (test): Use them. Bail out if waiting for threads fails.
2232 (top level): Bail out if a test fails.
2234 2015-09-16 Yao Qi <yao.qi@linaro.org>
2236 * gdb.asm/asm-source.exp: Set asm-arch for
2237 aarch64*-*-* target.
2238 * gdb.asm/aarch64.inc: New file.
2240 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2242 * gdb.ada/array_of_variable_length.exp: New testcase.
2243 * gdb.ada/array_of_variable_length/foo.adb: New file.
2244 * gdb.ada/array_of_variable_length/pck.adb: New file.
2245 * gdb.ada/array_of_variable_length/pck.ads: New file.
2247 2015-09-15 Doug Evans <dje@google.com>
2249 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2250 of function static local variable.
2252 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2254 * gdb.threads/tls-so_extern.exp: New test file.
2255 * gdb.threads/tls-so_extern.c: New test file.
2256 * gdb.threads/tls-so_extern_main.c: New test file.
2258 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2260 * gdb.opt/solib-intra-step-lib.c: New file.
2261 * gdb.opt/solib-intra-step-main.c: New file.
2262 * gdb.opt/solib-intra-step.exp: New file.
2264 2015-09-15 Pedro Alves <palves@redhat.com>
2266 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2267 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2269 2015-09-14 Pedro Alves <palves@redhat.com>
2271 * gdb.base/hook-stop-continue.c: Delete.
2272 * gdb.base/hook-stop-continue.exp: Delete.
2273 * gdb.base/hook-stop-frame.c: Delete.
2274 * gdb.base/hook-stop-frame.exp: Delete.
2275 * gdb.base/hook-stop.c: New file.
2276 * gdb.base/hook-stop.exp: New file.
2278 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2280 * gdb.ada/access_to_packed_array.exp: New testcase.
2281 * gdb.ada/access_to_packed_array/foo.adb: New file.
2282 * gdb.ada/access_to_packed_array/pack.adb: New file.
2283 * gdb.ada/access_to_packed_array/pack.ads: New file.
2285 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2287 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2290 2015-09-11 Don Breazeal <donb@codesourcery.com>
2292 * gdb.base/foll-exec.c: Add copyright header. Fix
2294 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2295 (do_exec_tests): Use clean_restart in place of zap_session,
2296 and for test initialization. Fix formatting issues. Use
2297 fail in place of perror.
2298 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2299 an expect statement to match an expression with output from
2300 the program under debug.
2301 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2302 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2303 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2304 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2305 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2307 2015-09-09 Doug Evans <dje@google.com>
2309 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2311 2015-09-09 Doug Evans <dje@google.com>
2313 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2315 2015-09-09 Doug Evans <dje@google.com>
2317 * gdb.base/savedregs.exp: Fix typo.
2319 2015-09-09 Pedro Alves <palves@redhat.com>
2321 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2323 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2325 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2326 command actually switches threads. Give up on remaining
2327 tests if target fails to stop at breakpoint.
2329 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2331 * gdb.ada/funcall_char.exp: New testcase.
2332 * gdb.ada/funcall_char/foo.adb: New file.
2334 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2336 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2337 expected outputs. Add two testcases for completing ambiguous
2339 * gdb.ada/complete/aux_pck.adb: New file.
2340 * gdb.ada/complete/aux_pck.ads: New file.
2341 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2342 Ambiguous_Func functions.
2343 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2344 * gdb.ada/complete/pck.adb: Likewise.
2346 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2348 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2349 failures to run the test program under GDB.
2351 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2353 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2356 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2358 * gdb.base/run-after-attach.exp: New test file.
2359 * gdb.base/run-after-attach.c: New test file.
2361 2015-08-26 Don Breazeal <donb@codesourcery.com>
2363 * gdb.base/foll-exec-2.c: New test program.
2364 * gdb.base/foll-exec-2.exp: New test.
2366 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2368 * gdb.base/nested-subp1.exp: New file.
2369 * gdb.base/nested-subp1.c: New file.
2370 * gdb.base/nested-subp2.exp: New file.
2371 * gdb.base/nested-subp2.c: New file.
2372 * gdb.base/nested-subp3.exp: New file.
2373 * gdb.base/nested-subp3.c: New file.
2375 2015-08-24 Pedro Alves <palves@redhat.com>
2377 * gdb.server/connect-without-multi-process.c: New file.
2378 * gdb.server/connect-without-multi-process.exp: New file.
2380 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2382 * gdb.opt/inline-markers.c: Make z int.
2384 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2386 * gdb.opt/inline-markers.c: Make z volatile.
2388 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2390 * gdb.opt/inline-bt.c: New volatile global z.
2391 * gdb.opt/inline-cmds.c: Likewise.
2392 * gdb.opt/inline-locals.c: Likewise.
2393 * gdb.opt/inline-markers.c: New extern global z.
2395 (inline_fn): Likewise.
2397 2015-08-24 Pedro Alves <palves@redhat.com>
2399 * config/m32r-stub.exp: Remove file.
2400 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2401 * gdb.base/call-rt-st.exp: Likewise.
2402 * gdb.base/call-strs.exp: Likewise.
2403 * gdb.base/default.exp: Remove references to h8300-*-hms and
2405 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2407 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2409 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2410 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2411 and "return" use KFAIL when GDB can not read/write the vector
2414 2015-08-21 Gary Benson <gbenson@redhat.com>
2416 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2418 2015-08-20 Pedro Alves <palves@redhat.com>
2420 * gdb.server/solib-list.exp: No longer expect an interior stop in
2423 2015-08-20 Pedro Alves <palves@redhat.com>
2425 * gdb.server/connect-stopped-target.c: New file.
2426 * gdb.server/connect-stopped-target.exp: New file.
2428 2015-08-20 Pedro Alves <palves@redhat.com>
2430 * gdb.dwarf2/comp-unit-lang.exp: New file.
2431 * gdb.dwarf2/comp-unit-lang.c: New file.
2433 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2435 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2436 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2438 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2440 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2441 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2443 2015-08-18 Doug Evans <dje@google.com>
2444 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2446 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2447 skip_python_tests. New arg prompt_regexp.
2448 (skip_python_tests): New function.
2449 * lib/mi-support.exp (mi_skip_python_tests): New function.
2450 * gdb.python/py-mi-objfile-gdb.py: New file.
2451 * gdb.python/py-mi-objfile.c: New file.
2452 * gdb.python/py-mi-objfile.exp: New file.
2454 2015-08-17 Keith Seitz <keiths@redhat.com>
2456 * gdb.linespec/explicit.exp: Move strace test from here ...
2457 * gdb.trace/strace.exp: ... to here.
2459 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2461 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2462 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2464 2015-08-14 Doug Evans <xdje42@gmail.com>
2466 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2467 inferior before selecting a new file.
2469 2015-08-14 Doug Evans <xdje42@gmail.com>
2471 * gdb.mi/mi-disassemble.exp: Update.
2472 * gdb.base/disasm-optim.S: New file.
2473 * gdb.base/disasm-optim.c: New file.
2474 * gdb.base/disasm-optim.h: New file.
2475 * gdb.base/disasm-optim.exp: New file.
2477 2015-08-14 Keith Seitz <keiths@redhat.com>
2479 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2482 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2484 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2486 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2488 * gdb.ada/fun_renaming.exp: New testcase.
2489 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2490 * gdb.ada/fun_renaming/pack.adb: New file.
2491 * gdb.ada/fun_renaming/pack.ads: New file.
2493 2015-08-12 Keith Seitz <keiths@redhat.com>
2495 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2496 gdb_get_line_number.
2498 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2500 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2501 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2502 gdb.base/dso2dso.exp: New files.
2504 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2505 Pedro Alves <palves@redhat.com>
2506 Keith Seitz <keiths@redhat.com>
2508 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2511 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2513 * gdb.base/gdbhistsize-history.exp
2514 (test_histsize_history_setting): Use save_vars.
2515 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2517 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2518 * gdb.base/readline.exp: Use save_vars.
2520 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2522 * lib/gdb.exp (save_vars): New proc.
2524 2015-08-11 Keith Seitz <keiths@redhat.com>
2526 * gdb.base/help.exp: Update help_breakpoint_text.
2528 2015-08-11 Keith Seitz <keiths@redhat.com>
2530 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2531 (at toplevel): Call test_explicit_breakpoints.
2532 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2534 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2535 breakpoint conditions, "-cond".
2537 2015-08-11 Keith Seitz <keiths@redhat.com>
2539 * gdb.linespec/3explicit.c: New file.
2540 * gdb.linespec/cpexplicit.cc: New file.
2541 * gdb.linespec/cpexplicit.exp: New file.
2542 * gdb.linespec/explicit.c: New file.
2543 * gdb.linespec/explicit.exp: New file.
2544 * gdb.linespec/explicit2.c: New file.
2545 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2546 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2547 before using in the matching pattern.
2548 Clarify that `prefix' is a regular expression.
2550 2015-08-11 Keith Seitz <keiths@redhat.com>
2552 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2554 Add tests for missing ",FMT" and ",".
2556 2015-08-10 Doug Evans <dje@google.com>
2557 Keith Seitz <keiths@redhat.com>
2560 * gdb.base/completion.exp: Add location completer tests.
2562 2015-08-07 Pedro Alves <palves@redhat.com>
2564 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2566 (top level): Run do_test with and without displaced stepping.
2568 2015-08-07 Pedro Alves <palves@redhat.com>
2570 * gdb.base/valgrind-disp-step.c: New file.
2571 * gdb.base/valgrind-disp-step.exp: New file.
2573 2015-08-07 Pedro Alves <palves@redhat.com>
2575 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2577 (main): Add alarm. Run an infinite loop instead of calling
2579 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2581 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2583 (main): Add alarm. Run an infinite loop instead of calling
2585 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2588 2015-08-07 Pedro Alves <palves@redhat.com>
2590 * gdb.base/checkpoint-ns.exp: New file.
2591 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2594 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2596 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2597 * gdb.btrace/instruction_history.exp: Update.
2598 * gdb.btrace/tsx.exp: New.
2599 * gdb.btrace/tsx.c: New.
2601 2015-08-06 Pedro Alves <palves@redhat.com>
2603 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2605 * gdb.reverse/until-precsave.exp: Bump timeouts.
2607 2015-08-06 Pedro Alves <palves@redhat.com>
2609 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2611 2015-08-06 Pedro Alves <palves@redhat.com>
2614 * gdb.threads/process-dies-while-handling-bp.c: New file.
2615 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2617 2015-08-06 Pedro Alves <palves@redhat.com>
2619 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2620 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2622 2015-08-05 Pedro Alves <palves@redhat.com>
2624 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2625 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2627 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2629 * gdb.base/bp-permanent.exp: Report test as unsupported if
2630 the target cannot stop at the permanent breakpoint.
2632 2015-08-03 Doug Evans <dje@google.com>
2634 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2637 2015-08-03 Doug Evans <dje@google.com>
2639 * Makefile.in (workers/%.worker, build-perf): New rule.
2640 (GDB_PERFTEST_MODE): New variable.
2641 (check-perf): Use it.
2642 (clean): Clean up gdb.perf parallel build subdirs.
2643 * lib/build-piece.exp: New file.
2644 * lib/gdb.exp (make_gdb_parallel_path): New function
2645 (standard_output_file, standard_temp_file): Call it.
2646 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2648 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2650 2015-08-03 Doug Evans <dje@google.com>
2652 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2653 (LOG_FILE_NAME): New global.
2654 (TextReporter.__init__): Initialize self.txt_sum.
2655 (TextReporter.report): Add support for multiple data-points.
2656 Move report to perftest.sum, put raw data in perftest.log.
2657 (TextReporter.start): Open sum and log files.
2658 (TextReporter.end): Close sum and log files.
2659 * gdb.perf/lib/perftest/testresult.py
2660 (SingleStatisticTestResult.record): Handle multiple data-points.
2662 2015-07-31 Pedro Alves <palves@redhat.com>
2664 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2665 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2666 kill_wait_spawned_process instead of explicit "kill -9".
2667 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2668 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2669 kill_wait_spawned_process.
2670 * gdb.base/attach-twice.exp: Likewise.
2671 * gdb.base/attach.exp: Likewise.
2672 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2674 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2675 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2676 kill_wait_spawned_process.
2677 * gdb.base/valgrind-infcall.exp: Likewise.
2678 * gdb.multi/multi-attach.exp: Likewise.
2679 * gdb.python/py-prompt.exp: Likewise.
2680 * gdb.python/py-sync-interp.exp: Likewise.
2681 * gdb.server/ext-attach.exp: Likewise.
2682 * gdb.threads/attach-into-signal.exp (corefunc): Use
2683 spawn_wait_for_attach, spawn_id_get_pid and
2684 kill_wait_spawned_process.
2685 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2686 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2687 spawn_id_get_pid and kill_wait_spawned_process.
2688 * gdb.threads/attach-stopped.exp (corefunc): Use
2689 spawn_wait_for_attach, spawn_id_get_pid and
2690 kill_wait_spawned_process.
2691 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2692 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2693 kill_wait_spawned_process instead of explicit "kill -9".
2694 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2695 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2696 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2697 processes. Don't map cygwin/windows pids here. Now returns a
2700 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2702 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2703 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2706 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2708 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2710 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2713 2014-05-21 Mark Wielaard <mjw@redhat.com>
2715 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2717 2015-07-30 Pedro Alves <palves@redhat.com>
2719 * linux-low.c (handle_extended_wait): Set the child's last
2720 reported status to TARGET_WAITKIND_STOPPED.
2722 2015-07-30 Pedro Alves <palves@redhat.com>
2725 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2726 only shows inferior 1.
2728 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2729 Pedro Alves <palves@redhat.com>
2732 * gdb.threads/fork-plus-threads.c: New file.
2733 * gdb.threads/fork-plus-threads.exp: New file.
2735 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2737 * gdb.base/batch-preserve-term-settings.exp
2738 (test_terminal_settings_preserved_after_cli_exit): Use
2741 2015-07-29 Pedro Alves <palves@redhat.com>
2742 Don Breazeal <donb@codesourcery.com>
2744 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2745 output from both inferior_spawn_id and gdb_spawn_id.
2747 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2749 * gdb.threads/attach-into-signal.exp (corefunc): Use
2750 with_test_prefix on nested loops, uniquefying the test messages.
2752 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2754 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2757 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2759 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2761 (test_terminal_settings_preserved_after_sigterm): New test.
2763 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2765 * gdb.base/batch-preserve-term-settings.exp
2766 (test_terminal_settings_preserved_after_cli_exit): New test.
2768 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2770 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2771 manipulation of saved_gdbflags.
2772 (test_terminal_settings_preserved): Remove global declaration of
2773 the unused variable pagination_prompt. Remove manipulation of
2774 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2777 2015-07-29 Pedro Alves <palves@redhat.com>
2779 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2781 2015-07-29 Pedro Alves <palves@redhat.com>
2783 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2786 2015-07-29 Pedro Alves <palves@redhat.com>
2788 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2789 (main): Call gdb_unbuffer_output.
2790 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2791 (main): Call gdb_unbuffer_output.
2792 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2793 (main): Call gdb_unbuffer_output.
2794 * gdb.base/call-strs.exp: Adjust to step over the
2795 gdb_unbuffer_output call.
2796 * gdb.base/catch-gdb-caused-signals.c: Include
2797 "../lib/unbuffer_output.c".
2798 (main): Call gdb_unbuffer_output.
2799 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2800 (main): Call gdb_unbuffer_output.
2801 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2802 (main): Call gdb_unbuffer_output.
2803 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2804 (main): Call gdb_unbuffer_output.
2805 * gdb.base/shlib-call.exp: Adjust to step over the
2806 gdb_unbuffer_output call.
2807 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2808 (main): Call gdb_unbuffer_output.
2809 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2810 (main): Call gdb_unbuffer_output.
2811 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2812 (main): Rename to ...
2814 (main): Reimplement.
2815 * gdb.base/varargs.exp: Run to test instead of to main.
2816 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2817 (main): Call gdb_unbuffer_output.
2819 2015-07-29 Pedro Alves <palves@redhat.com>
2821 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2822 factore out from mi_continue_dprintf. For call-style dprintfs,
2823 expect dprintf output out of $inferior_spawn_id.
2824 (mi_continue_dprintf): Use mi_expect_dprintf.
2825 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2826 (main): Call gdb_unbuffer_output.
2828 2015-07-29 Pedro Alves <palves@redhat.com>
2830 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2831 (default_mi_gdb_start): Set inferior_spawn_id instead of
2832 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2834 (mi_gdb_test): Always expect inferior output from both
2835 $inferior_spawn_id and $gdb_spawn_id.
2837 2015-07-29 Pedro Alves <palves@redhat.com>
2839 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2840 send_inferior and $inferior_spawn_id.
2842 2015-07-29 Pedro Alves <palves@redhat.com>
2844 * gdb.gdb/complaints.exp (test_initial_complaints)
2845 (test_serial_complaints, test_short_complaints): Use
2847 (test_empty_complaint): Handle $inferior_spawn_id !=
2850 2015-07-29 Pedro Alves <palves@redhat.com>
2852 * gdb.base/varargs.exp: Use gdb_test_stdio.
2854 2015-07-29 Pedro Alves <palves@redhat.com>
2856 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2858 2015-07-29 Pedro Alves <palves@redhat.com>
2860 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2862 2015-07-29 Pedro Alves <palves@redhat.com>
2864 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2865 parameter into two new parameters, "inf_result" and "gdb_result".
2866 Expect inferior output and gdb output from $inferior_spawn_id and
2867 $gdb_spawn_id, respectively. Adjust all callers.
2869 2015-07-29 Pedro Alves <palves@redhat.com>
2871 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2872 of gdb_test_sequence.
2874 2015-07-29 Pedro Alves <palves@redhat.com>
2876 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2877 (saw_spurious_output): Expect inferior output from
2878 $inferior_spawn_id. Use gdb_test_stdio.
2880 2015-07-29 Pedro Alves <palves@redhat.com>
2882 * gdb.base/dprintf.exp: Use standard_testfile. Change
2883 prepare_for_testing call.
2884 (srcfile): Don't set.
2885 (restart): New procedure.
2886 (test_dprintf): New procecure, use to continue over dprintfs.
2887 (test_call, test_agent): New procedures, tests moved here.
2888 Restart gdb and recreate dprintfs. Adjust expected output.
2890 2015-07-29 Pedro Alves <palves@redhat.com>
2892 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2894 2015-07-29 Pedro Alves <palves@redhat.com>
2896 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2898 2015-07-29 Pedro Alves <palves@redhat.com>
2900 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2903 2015-07-29 Pedro Alves <palves@redhat.com>
2905 * lib/gdb.exp (gdb_test_stdio): New procedure.
2907 2015-07-29 Pedro Alves <palves@redhat.com>
2909 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2911 2015-07-29 Pedro Alves <palves@redhat.com>
2913 * gdb.base/call-signal-resume.exp: Remove check for
2914 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2915 * gdb.base/unwindonsignal.exp: Likewise.
2916 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2917 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2919 2015-07-29 Pedro Alves <palves@redhat.com>
2921 * gdb.base/siginfo-addr.c (pass): New function.
2922 (handler): Call it iff si_addr is correct.
2923 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2924 Set a breakpoint at "pass" and continue to it.
2926 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2928 * gdb.python/py-objfile.exp: Make some tests have unique names.
2929 * gdb.python/py-pp-registration.exp: Likewise.
2931 2015-07-28 Pedro Alves <palves@redhat.com>
2933 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2935 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2937 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2939 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2941 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2943 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2945 * gdb.base/gdb-sigterm-2.exp: New test.
2947 2015-07-25 Doug Evans <xdje42@gmail.com>
2950 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2951 (workers/%.worker, build-perf): New rule.
2952 (GDB_PERFTEST_MODE): New variable.
2953 (check-perf): Use it.
2954 (clean): Clean up gdb.perf parallel build subdirs.
2955 * lib/build-piece.exp: New file.
2956 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2957 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2959 (standard_temp_file): Ditto.
2960 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2963 2015-07-24 Doug Evans <dje@google.com>
2965 * gdb.perf/lib/perftest/utils.py: New file.
2966 * gdb.perf/gm-hello.cc: New file.
2967 * gdb.perf/gm-pervasive-typedef.cc: New file.
2968 * gdb.perf/gm-pervasive-typedef.h: New file.
2969 * gdb.perf/gm-std.cc: New file.
2970 * gdb.perf/gm-std.h: New file.
2971 * gdb.perf/gm-use-cerr.cc: New file.
2972 * gdb.perf/gm-utils.h: New file.
2973 * gdb.perf/gmonster-null-lookup.py: New file.
2974 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2975 * gdb.perf/gmonster-print-cerr.py: New file.
2976 * gdb.perf/gmonster-ptype-string.py: New file.
2977 * gdb.perf/gmonster-runto-main.py: New file.
2978 * gdb.perf/gmonster-select-file.py: New file.
2979 * gdb.perf/gmonster1-null-lookup.exp: New file.
2980 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2981 * gdb.perf/gmonster1-print-cerr.exp: New file.
2982 * gdb.perf/gmonster1-ptype-string.exp: New file.
2983 * gdb.perf/gmonster1-runto-main.exp: New file.
2984 * gdb.perf/gmonster1-select-file.exp: New file.
2985 * gdb.perf/gmonster1.cc: New file.
2986 * gdb.perf/gmonster1.exp: New file.
2987 * gdb.perf/gmonster2-null-lookup.exp: New file.
2988 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2989 * gdb.perf/gmonster2-print-cerr.exp: New file.
2990 * gdb.perf/gmonster2-ptype-string.exp: New file.
2991 * gdb.perf/gmonster2-runto-main.exp: New file.
2992 * gdb.perf/gmonster2-select-file.exp: New file.
2993 * gdb.perf/gmonster2.cc: New file.
2994 * gdb.perf/gmonster2.exp: New file.
2996 2015-07-24 Doug Evans <dje@google.com>
2998 * gdb.perf/README: New file.
2999 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
3000 * lib/gen-perf-test.exp: New file.
3002 2015-07-24 Doug Evans <dje@google.com>
3004 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
3005 (PerfTest::startup): New function.
3006 (PerfTest::run): Return result of calling body.
3007 (PerfTest::assemble): Rewrite.
3008 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
3009 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
3010 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
3011 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
3012 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
3014 2015-07-24 Doug Evans <dje@google.com>
3016 * lib/gdb.exp (clean_restart): Make executable optional.
3018 2015-07-24 Doug Evans <dje@google.com>
3020 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
3021 compiler_info references.
3022 * gdb.cp/temargs.exp: Ditto.
3023 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
3024 (get_compiler_info): Early exit if already computed. Set compiler_info
3025 to "unknown" if there was a problem.
3026 (test_compiler_info): Add function comment. Call get_compiler_info.
3028 2015-07-24 Doug Evans <dje@google.com>
3030 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
3031 (workers/%.worker, build-perf): New rule.
3032 (GDB_PERFTEST_MODE): New variable.
3033 (check-perf): Use it.
3034 (clean): Clean up gdb.perf parallel build subdirs.
3035 * lib/build-piece.exp: New file.
3036 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
3037 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
3039 (standard_temp_file): Ditto.
3040 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
3043 2015-07-24 Doug Evans <dje@google.com>
3045 * lib/future.exp (gdb_default_target_compile): New option
3047 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
3050 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3052 * gdb.base/catch-syscall.exp: Call gdb_exit before
3055 2015-07-24 Pedro Alves <palves@redhat.com>
3057 * gdb.python/py-events.exp: Accept output between the stop event
3059 * gdb.python/py-evsignal.exp: Likewise.
3060 * gdb.python/py-evthreads.exp: Likewise.
3062 2015-07-24 Pedro Alves <palves@redhat.com>
3065 * gdb.threads/non-ldr-exit.c: New file.
3066 * gdb.threads/non-ldr-exit.exp: New file.
3068 2015-07-24 Yao Qi <yao.qi@linaro.org>
3070 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3073 2015-07-24 Yao Qi <yao.qi@linaro.org>
3075 * gdb.server/ext-restart.exp: New file.
3077 2015-07-24 Yao Qi <yao.qi@linaro.org>
3079 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3081 * gdb.server/ext-wrapper.exp: New file.
3083 2015-07-23 Doug Evans <dje@google.com>
3085 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3086 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3088 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3090 * gdb.ada/var_arr_typedef.exp: New testcase.
3091 * gdb.ada/var_arr_typedef/pack.adb: New file.
3092 * gdb.ada/var_arr_typedef/pack.ads: New file.
3093 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3095 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3097 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3099 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3101 * gdb.arch/i386-biarch-core.exp: Replace istarget
3102 by "complete set gnutarget". Remove expectation for the "core-file"
3105 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3107 Revert the previous commit:
3108 Tests for validate symbol file using build-id.
3110 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3112 Tests for validate symbol file using build-id.
3113 * gdb.base/solib-mismatch-lib.c: New file.
3114 * gdb.base/solib-mismatch-libmod.c: New file.
3115 * gdb.base/solib-mismatch.c: New file.
3116 * gdb.base/solib-mismatch.exp: New file.
3118 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3120 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3122 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3123 * gdb.base/siginfo.exp: Likewise.
3124 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3126 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3128 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3130 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3132 * gdb.trace/range-stepping.exp: Check that the target supports
3135 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3137 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3139 2015-07-14 Pedro Alves <palves@redhat.com>
3141 * gdb.base/killed-outside.exp: New file.
3142 * gdb.base/killed-outside.c: New file.
3144 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3146 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3148 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3150 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3152 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3153 infcall tests instead of setting up for KFAIL.
3155 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3157 * gdb.btrace/record_goto-step.exp: New.
3159 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3162 * gdb.compile/compile.c (struct struct_type): Add volatile to
3164 * gdb.compile/compile.exp
3165 (compile code struct_object.selffield = &struct_object): Skip further
3166 struct_object tests if this one xfails.
3168 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3171 * gdb.trace/ax.exp: Add test.
3173 2015-07-07 Yao Qi <yao.qi@linaro.org>
3175 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3176 instead of istarget "aarch64*-*-*".
3177 * gdb.arch/aarch64-fp.exp: Likewise.
3178 * gdb.base/float.exp: Likewise.
3179 * gdb.reverse/aarch64.exp: Likewise.
3180 * lib/gdb.exp (is_aarch64_target): New proc.
3182 2015-07-07 Yao Qi <yao.qi@linaro.org>
3184 * lib/gdb.exp (is_aarch32_target): New proc.
3185 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3186 instead of "istarget "arm*-*-*"".
3187 * gdb.arch/arm-disp-step.exp: Likewise.
3188 * gdb.arch/thumb-bx-pc.exp: Likewise.
3189 * gdb.arch/thumb-prologue.exp: Likewise.
3190 * gdb.arch/thumb-singlestep.exp: Likewise.
3191 * gdb.base/disp-step-syscall.exp: Likewise.
3192 * gdb.base/float.exp: Likewise.
3194 2015-07-07 Yao Qi <yao.qi@linaro.org>
3196 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3197 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3199 2015-07-07 Yao Qi <yao.qi@linaro.org>
3201 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3202 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3204 * gdb.multi/multi-arch.exp: Likewise.
3206 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3208 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3211 2015-07-07 Yao Qi <yao.qi@linaro.org>
3213 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3215 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3217 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3218 '[' and ']' characters.
3220 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3222 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3224 2015-06-29 Pedro Alves <palves@redhat.com>
3227 * gdb.threads/hand-call-new-thread.c: New file.
3228 * gdb.threads/hand-call-new-thread.c: New file.
3230 2015-06-26 Keith Seitz <keiths@redhat.com>
3231 Doug Evans <dje@google.com>
3234 * gdb.cp/var-tag-2.cc: New file.
3235 * gdb.cp/var-tag-3.cc: New file.
3236 * gdb.cp/var-tag-4.cc: New file.
3237 * gdb.cp/var-tag.cc: New file.
3238 * gdb.cp/var-tag.exp: New file.
3240 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3242 * gdb.base/history-duplicates.exp: New test.
3244 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3246 * gdb.base/completion.exp: Test the completion of the "focus"
3249 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3251 * gdb.arch/amd64-prologue-skip.S: New file.
3252 * gdb.arch/amd64-prologue-skip.exp: New file.
3254 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3256 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3257 is_address_zero_readable check.
3259 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3261 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3262 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3264 2015-06-24 Yao Qi <yao.qi@linaro.org>
3266 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3269 2015-06-24 Yao Qi <yao.qi@linaro.org>
3271 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3272 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3273 * gdb.base/siginfo-thread.exp: Likewise.
3275 2015-06-22 Yao Qi <yao.qi@linaro.org>
3277 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3279 2015-06-22 Yao Qi <yao.qi@linaro.org>
3281 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3283 (skip_hw_watchpoint_tests): Likewise.
3285 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3287 * gdb.base/gdbinit-history.exp: Test the interaction between
3288 setting GDBHISTSIZE and setting the history size via .gdbinit.
3290 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3293 * gdb.base/gdbhistsize-history.exp: New test.
3295 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3297 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3299 * gdb.base/readline.exp: Likewise.
3301 2015-06-17 Yao Qi <yao.qi@linaro.org>
3303 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3306 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3308 * gdb.base/gdbinit-history.exp: Add test case to check that
3309 an unlimited history file does not get truncated on exit.
3311 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3313 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3314 (VECTOR): New macro. Use it...
3315 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3316 ...for these typedefs.
3317 (int8, char1, int1, double1): New typedefs.
3318 (struct just_int2, struct two_int2): New structures.
3319 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3320 (add_structvecs, add_singlevecs): New functions.
3321 (main): Call add_some_intvecs twice.
3322 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3323 the compile and exit upon failure. Try compiling for the "native"
3324 architecture. Test inferior function calls with vector arguments
3325 and vector return value handling with "finish" and "return".
3327 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3329 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3330 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3332 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3334 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3336 PR breakpoints/16465
3337 * gdb.mi/mi-dprintf-pending.c: New file.
3338 * gdb.mi/mi-dprintf-pending.exp: New test.
3339 * gdb.mi/mi-dprintf-pendshr.c: New file.
3341 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3342 Mircea Gherzan <mircea.gherzan@intel.com>
3344 * gdb.arch/i386-mpx-map.c: New file.
3345 * gdb.arch/i386-mpx-map.exp: New File.
3347 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3349 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3350 * gdb.arch/i386-mpx.exp: Indentation fixed.
3352 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3354 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3355 function and improved indentation.
3356 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3357 gdb_test_multiple. Added additional tests to skip the test.
3359 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3361 * gdb.arch/i386-avx512.c: Change path in include file.
3362 * gdb.arch/i386-avx512.exp: Change include dir path
3364 * gdb.arch/i386-mpx.c: Change path in include file.
3365 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3368 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3370 * gdb.compile/compile-print.exp (compile print *vararray@3)
3371 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3373 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3375 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3376 (do not keep jit in memory): ... this.
3377 (expect 5): Change it to ...
3378 (expect no 5): ... this.
3380 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3383 * gdb.mi/mi-detach.exp: New file.
3385 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3388 * gdb.arch/amd64-tailcall-self.S: New file.
3389 * gdb.arch/amd64-tailcall-self.c: New file.
3390 * gdb.arch/amd64-tailcall-self.exp: New file.
3392 2015-05-28 Don Breazeal <donb@codesourcery.com>
3394 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3395 tests for remote targets by checking is_target_gdbserver.
3397 2015-05-27 Doug Evans <dje@google.com>
3399 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3400 * gdb.dwarf2/opaque-type-lookup.c: New file.
3401 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3403 2015-05-26 Doug Evans <dje@google.com>
3405 * gdb.cp/iostream.cc: New file.
3406 * gdb.cp/iostream.exp: New file.
3408 2015-05-26 Doug Evans <dje@google.com>
3410 * gdb.dwarf2/dw2-op-call.exp: Update.
3411 * gdb.dwarf2/dw4-sig-types.exp: Update.
3412 * gdb.dwarf2/implptr.exp: Update.
3413 * gdb.mi/mi-cmd-param-changed.exp: Update.
3415 2015-05-26 Doug Evans <dje@google.com>
3417 * gdb.python/py-lazy-string.c: New file.
3418 * gdb.python/py-lazy-string.exp: New file.
3419 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3420 (main): Update. Add estring3.
3421 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3422 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3424 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3425 Yao Qi <yao.qi@linaro.org>
3427 * gdb.reverse/aarch64.c: New.
3428 * gdb.reverse/aarch64.exp: New.
3430 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3432 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3433 (supports_reverse): Likewise.
3435 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3437 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3438 Use with_test_prefix.
3440 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3442 * gdb.base/completion.exp: Add test for completion of layout
3445 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3447 * lib/gdb.exp (skip_tui_tests): New proc.
3448 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3450 2015-05-19 Pedro Alves <palves@redhat.com>
3452 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3453 Save the whole env array instead of just HOME. Unset HISTSIZE in
3454 the environment while testing. Restore whole environment
3457 2015-05-16 Doug Evans <xdje42@gmail.com>
3459 * gdb.guile/scm-ports.c: New file.
3460 * gdb.guile/scm-ports.exp: Add memory port tests.
3462 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3464 * gdb.compile/compile-print.c: New file.
3465 * gdb.compile/compile-print.exp: New file.
3467 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3469 * gdb.compile/compile-ops.exp: Cast param to void.
3470 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3471 (compile code struct_object.selffield = &struct_object): Add xfail.
3473 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3475 * gdb.ada/arr_enum_with_gap: New testcase.
3477 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3479 * gdb.ada/byte_packed_arr: New testcase.
3481 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3483 * gdb.ada/pckd_neg: New testcase.
3485 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3488 * gdb.base/gdbinit-history.exp: New test.
3489 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3490 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3492 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3494 * gdb.python/py-xmethods.cc: Enhance test case.
3495 * gdb.python/py-xmethods.exp: New tests.
3496 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3498 (B_indexoper): Likewise.
3499 (global_dm_list) : Add new xmethod worker functions.
3501 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3503 * gdb.base/coredump-filter.exp: Correctly unset
3504 "coredump_var_addr" array.
3506 2015-05-08 Pedro Alves <palves@redhat.com>
3508 * gdb.server/non-existing-program.exp: Unset spawn_id.
3510 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3513 * gdb.python/py-xmethods.exp: Add tests.
3515 2015-05-08 Yao Qi <yao.qi@linaro.org>
3518 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3519 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3520 function set_coredump_filter, and remove remote_exec call.
3521 Remove argument ipid. Callers update.
3522 (top level): Don't get inferior's PID.
3524 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3526 * gdb.base/watch_thread_num.exp: Skip test on targets without
3529 2015-05-06 Pedro Alves <palves@redhat.com>
3532 * gdb.server/non-existing-program.exp: New file.
3534 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3536 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3538 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3540 * gdb.ada/out_of_line_in_inlined: New testcase.
3542 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3544 * gdb.ada/var_rec_arr: New testcase.
3546 2015-04-30 Yao Qi <yao.qi@linaro.org>
3548 * gdb.base/break-idempotent.exp: If
3549 skip_hw_watchpoint_multi_tests returns true, skip the tests
3550 on "rwatch" and "awatch".
3552 2015-04-30 Yao Qi <yao.qi@linaro.org>
3554 * gdb.base/relativedebug.exp: Invoke gdb command
3555 "info sharedlibrary", and if libc.so doesn't have debug info,
3558 2015-04-29 Doug Evans <dje@google.com>
3560 * gdb.python/py-xmethods.exp: Add ptype tests.
3561 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3562 get_result_type method.
3564 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3566 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3567 the target does not support hardware watchpoints.
3569 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3571 * gdb.base/break-always.exp: Abort testing if writing to memory
3574 2015-04-28 Doug Evans <dje@google.com>
3576 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3577 * gdb.python/py-pp-registration.exp: ... here. New file.
3578 * gdb.python/py-pp-registration.c: New file.
3579 * gdb.python/py-pp-registration.py: New file.
3581 2015-04-28 Doug Evans <dje@google.com>
3583 * gdb.python/py-bad-printers.c: New file.
3584 * gdb.python/py-bad-printers.py: New file.
3585 * gdb.python/py-bad-printers.exp: New file.
3587 2015-04-28 Sasha Smundak <asmundak@google.com>
3589 * gdb.python/py-type.exp: New test.
3591 2015-04-28 Andy Wingo <wingo@igalia.com>
3593 * gdb.python/py-parameter.exp:
3594 * gdb.guile/scm-parameter.exp: Escape the path that we are
3595 matching against, as it might contain characters that are special
3596 to regular expressions.
3598 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3600 * gdb.ada/rec_comp: New testcase.
3602 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3604 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3607 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3609 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3610 new tests for verilog output.
3612 2015-04-24 Yao Qi <yao.qi@linaro.org>
3614 * boards/remote-gdbserver-on-localhost.exp: New file.
3616 2015-04-23 Pedro Alves <palves@redhat.com>
3618 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3619 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3620 "end of file", remove $inferior_spawn_id from the indirect list.
3622 2015-04-23 Pedro Alves <palves@redhat.com>
3624 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3626 2015-04-23 Pedro Alves <palves@redhat.com>
3628 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3629 on $any_spawn_id instead of only on $gdb_spawn_id.
3631 2015-04-21 Pierre Muller <muller@sourceware.org>
3634 * lib/pascal.exp (gpc_compile): Add new option "class".
3635 (fpc_compile): Likewise.
3636 * gdb.pascal/case-insensitive-symbols.pas: New file.
3637 * gdb.pascal/case-insensitive-symbols.exp: New file.
3639 2015-04-20 Gary Benson <gbenson@redhat.com>
3641 * gdb.base/attach.exp: Fix three extended remote failures.
3643 2015-04-17 Gary Benson <gbenson@redhat.com>
3645 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3646 the main executable over the remote protocol.
3648 2015-04-16 Pedro Alves <palves@redhat.com>
3650 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3651 a new gdbserver if gdbserver_reconnect_p is set.
3653 2015-04-16 Pedro Alves <palves@redhat.com>
3655 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3656 is set, don't exit gdbserver.
3658 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3660 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3661 appropriate .insn, such that an older assembler can be used.
3662 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3663 the z/Architecture instruction set on 31-bit targets as well.
3665 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3667 * gdb.go/handcall.exp: Remove all logic related to the first
3668 breakpoint and rely on go_runto_main instead.
3669 * gdb.go/strings.exp: Likewise.
3670 * gdb.go/unsafe.exp: Likewise.
3671 * gdb.go/hello.exp: Likewise. Also rename the remaining
3672 breakpoint marker to "breakpoint 1".
3673 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3674 * gdb.go/strings.go: Likewise.
3675 * gdb.go/unsafe.go: Likewise.
3676 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3677 "set breakpoint 2 here" and rename the remaining breakpoint marker
3680 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3682 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3683 if itertools.imap is not present.
3684 * gdb.python/py-objfile.exp: Add parentheses.
3685 * gdb.python/py-type.exp: Same.
3686 * gdb.python/py-unwind-maint.py: Same.
3688 2015-04-15 Yao Qi <yao.qi@linaro.org>
3690 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3691 of ":$ptr_size" and set its form explicitly.
3693 2015-04-15 Pedro Alves <palves@redhat.com>
3694 Yao Qi <yao.qi@linaro.org>
3696 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3697 timeout by factor of 4.
3698 (test_regular_watch): Likewise.
3699 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3700 * gdb.reverse/sigall-reverse.exp: Likewise.
3701 * gdb.reverse/until-precsave.exp: Likewise.
3702 * lib/gdb.exp (with_timeout_factor): New proc.
3703 (gdb_expect): Move some code to ...
3704 (get_largest_timeout): ... here. New procedure.
3706 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3708 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3710 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3712 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3713 to write to the .text section.
3715 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3717 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3718 Handle the case of targets that do not provide PID information.
3720 2015-04-13 Yao Qi <yao.qi@linaro.org>
3722 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3723 and use expect instead of gdb_expect.
3725 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3727 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3728 "coredump_var_addr" to avoid naming conflict with other testcases.
3730 2015-04-10 Pedro Alves <palves@redhat.com>
3732 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3733 gdb_test_sequence and gdb_assert.
3735 2015-04-10 Pedro Alves <palves@redhat.com>
3737 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3738 test messages that don't include the breakpoint address.
3740 2015-04-10 Yao Qi <yao.qi@linaro.org>
3742 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3743 false for some offset and width combinations which aren't
3744 supported by linux kernel.
3746 2015-04-10 Pedro Alves <palves@redhat.com>
3748 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3749 procedure, factored out from ...
3750 (top level): ... here. Add "set displaced-stepping" testing axis.
3751 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3752 parameter "displaced". Use it.
3753 (top level): Use foreach and add "set displaced-stepping" testing
3756 2015-04-10 Pedro Alves <palves@redhat.com>
3758 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3760 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3761 both the address of the instruction that triggers the watchpoint
3762 and the address of the instruction immediately after, and use
3763 those addresses for the test. Fix comment.
3765 2015-04-10 Pedro Alves <palves@redhat.com>
3767 * gdb.base/sigstep.exp (breakpoint_to_handler)
3768 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3769 Test "backtrace" in handler.
3770 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3771 (top level): Add new "displaced" test axis to
3772 breakpoint_to_handler, breakpoint_to_handler_entry and
3773 breakpoint_over_handler.
3775 2015-04-10 Pedro Alves <palves@redhat.com>
3778 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3780 2015-04-10 Yao Qi <yao.qi@linaro.org>
3782 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3783 (test_add_rn_pc): New function.
3784 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3785 (top level): Invoke test_add_rn_pc.
3787 2015-04-10 Pedro Alves <palves@redhat.com>
3790 * gdb.base/step-over-no-symbols.exp: New file.
3792 2015-04-09 Andy Wingo <wingo@igalia.com>
3794 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3795 after the Python tests.
3797 2015-04-08 Keith Seitz <keiths@redhat.com>
3800 * gdb.python/py-completion.exp: New tests for completion.
3801 * gdb.python/py-completion.py (CompleteLimit1): New class.
3802 (CompleteLimit2): Likewise.
3803 (CompleteLimit3): Likewise.
3804 (CompleteLimit4): Likewise.
3805 (CompleteLimit5): Likewise.
3806 (CompleteLimit6): Likewise.
3807 (CompleteLimit7): Likewise.
3809 2015-04-08 Pedro Alves <palves@redhat.com>
3813 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3815 (main): Install it as SIGUSR1 handler.
3816 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3817 parameter. Always use "setup" as prefix. Toggle "set
3818 displaced-stepping" off/on depending on global. Don't switch to
3820 (top level): Add displaced stepping "off/on" test axis. Update
3821 "setup" calls. Wrap each subtest with with_test_prefix. Test
3822 continuing with a queued signal in each thread.
3824 2015-04-08 Pedro Alves <palves@redhat.com>
3826 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3827 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3828 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3829 Return early if running to main fails.
3830 * gdb.trace/while-stepping.exp: Likewise.
3832 2015-04-07 Pedro Alves <palves@redhat.com>
3834 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3835 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3836 interact with inferior program.
3838 2015-04-07 Pedro Alves <palves@redhat.com>
3840 * lib/gdb.exp (inferior_spawn_id): New global.
3841 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3842 spawn id after processing the user code.
3843 (default_gdb_start): Set inferior_spawn_id.
3844 (send_inferior): New procedure.
3845 * lib/gdbserver-support.exp (gdbserver_start): Set
3847 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3849 2015-04-07 Pedro Alves <palves@redhat.com>
3851 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3852 * lib/gdbserver-support.exp (gdbserver_start): Make
3853 $server_spawn_id global.
3854 (gdbserver_start): Don't wait for gdbserver's spawn id with
3856 (close_gdbserver): New procedure.
3857 (gdb_exit): Rename the default version and reimplement.
3859 2015-04-07 Pedro Alves <palves@redhat.com>
3861 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3862 append the substituted item, not the original item.
3864 2015-04-07 Pedro Alves <palves@redhat.com>
3866 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3869 2015-04-07 Pedro Alves <palves@redhat.com>
3871 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3872 output appearing once only.
3874 2015-04-07 Pedro Alves <palves@redhat.com>
3876 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3877 that doesn't expect anything. Return early if running to main
3880 2015-04-07 Yao Qi <yao.qi@linaro.org>
3882 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3883 (child_function): Call alarm.
3884 (main): Move call to alarm into the loop.
3885 * gdb.threads/non-stop-fair-events.exp: Build program with
3888 2015-04-06 Doug Evans <xdje42@gmail.com>
3890 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3891 Fix dest parameter to board_info.
3892 (fpc_compile): Ditto.
3893 (gdb_compile_pascal): Rename dest arg to destfile.
3895 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3897 * gdb.ada/funcall_ref.exp: New file.
3898 * gdb.ada/funcall_ref/foo.adb: New file.
3900 2015-04-02 Yao Qi <yao.qi@linaro.org>
3902 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3905 2015-04-02 Gary Benson <gbenson@redhat.com>
3907 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3909 2015-04-01 Sasha Smundak <asmundak@google.com>
3911 * gdb.python/py-unwind-maint.c: New file.
3912 * gdb.python/py-unwind-maint.exp: New test.
3913 * gdb.python/py-unwind-maint.py: New file.
3914 * gdb.python/py-unwind.c: New file.
3915 * gdb.python/py-unwind.exp: New test.
3916 * gdb.python/py-unwind.py: New test.
3918 2015-04-01 Pedro Alves <palves@redhat.com>
3920 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3921 to fail instead of non-existent $test.
3923 2015-04-01 Pedro Alves <palves@redhat.com>
3925 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3926 GDBFLAGS if not empty.
3928 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3930 * gdb.ada/complete.exp: Remove "multi_line".
3931 * gdb.ada/info_exc.exp: Remove "multi_line".
3932 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3933 * gdb.ada/ptype_field.exp: Remove "multi_line".
3934 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3935 * gdb.ada/tagged.exp: Remove "multi_line".
3936 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3938 * gdb.btrace/delta.exp: Likewise.
3939 * gdb.btrace/exception.exp: Likewise.
3940 * gdb.btrace/function_call_history.exp: Likewise.
3941 * gdb.btrace/instruction_history.exp: Likewise.
3942 * gdb.btrace/nohist.exp: Likewise.
3943 * gdb.btrace/record_goto.exp: Likewise.
3944 * gdb.btrace/segv.exp: Likewise.
3945 * gdb.btrace/stepi.exp: Likewise.
3946 * gdb.btrace/tailcall.exp: Likewise.
3947 * gdb.btrace/unknown_functions.exp: Likewise.
3948 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3949 * lib/gdb.exp: Add the "multi_line" helper.
3951 2015-04-01 Pedro Alves <palves@redhat.com>
3953 * gdb.threads/tid-reuse.c: New file.
3954 * gdb.threads/tid-reuse.exp: New file.
3956 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3959 * gdb.base/coredump-filter.c: New file.
3960 * gdb.base/coredump-filter.exp: Likewise.
3962 2015-03-27 Petr Machata <pmachata@redhat.com>
3964 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3965 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3966 (Dwarf::assemble): Initialize them.
3967 (Dwarf::lines): New function.
3969 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3971 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3972 SYMBOL_PREFIX for x86_64-*-cygwin.
3974 2015-03-26 Andy Wingo <wingo@igalia.com>
3977 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3978 const_value but not a location.
3979 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3980 location defined in non-main CUs are visible.
3982 2015-03-26 Yao Qi <yao.qi@linaro.org>
3985 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3986 Add a line number entry for the same line.
3987 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3988 Add a line number entry for the same line.
3990 2015-03-26 Yao Qi <yao.qi@linaro.org>
3992 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3994 (func): Likewise. Add .Lfunc_1 label.
3996 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
4001 2015-03-26 Yao Qi <yao.qi@linaro.org>
4003 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
4004 Call gdb_compile instead to compile each .s files without debug
4007 2015-03-26 Yao Qi <yao.qi@linaro.org>
4009 * gdb.base/savedregs.exp (process_saved_regs): Make
4010 "Saved registers:" optional in the pattern.
4012 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4014 * gdb.btrace/next.exp: Merged into step.exp.
4015 * gdb.btrace/finish.exp: Merged into step.exp.
4016 * gdb.btrace/nexti.exp: Merged into stepi.exp.
4017 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
4018 "record goto" and checking the exact replay position.
4019 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
4020 check for "Recording format" in "info record" output.
4021 * gdb.btrace/record_goto.exp: Choose test file based on target.
4022 * gdb.btrace/x86-record_goto.S: Renamed into ...
4023 * gdb.btrace/x86_64-record_goto.S: ... this.
4024 * gdb.btrace/i686-record_goto.S: New.
4025 * gdb.btrace/x86-tailcall.S: Renamed into ...
4026 * gdb.btrace/x86_64-tailcall.S: ... this.
4027 * gdb.btrace/i686-tailcall.S: New.
4028 * gdb.btrace/x86-tailcall.c: Renamed into ...
4029 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
4030 separate statements. Update test.
4031 * gdb.btrace/delta.exp: Use record_goto.c as test file.
4032 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
4033 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
4034 * gdb.btrace/tailcall.exp: Choose test file based on target.
4035 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
4037 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
4039 * gdb.btrace/exception.exp: Increase BTS buffer size.
4041 2015-03-24 Pedro Alves <palves@redhat.com>
4043 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
4045 2015-03-24 Pedro Alves <palves@redhat.com>
4047 * gdb.threads/schedlock.exp (test_step): No longer expect that
4048 "set scheduler-locking step" with "next" over a function call runs
4051 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4053 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4055 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4057 PR breakpoints/16466
4058 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4059 * gdb.mi/mi-pending.c (thread_func): New function.
4060 (int main): Add threading support required.
4061 * gdb.mi/mi-pending.exp: Add tests for this issue.
4062 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4063 (pendfunc2): Remove stdio dependency.
4064 * gdb.mi/mi-pendshr2.c: New file.
4066 2015-03-23 Keith Seitz <keiths@redhat.com>
4068 * gdb.linespec/keywords.c: New file.
4069 * gdb.linespec/keywords.exp: New file.
4071 2015-03-23 Keith Seitz <keiths@redhat.com>
4074 * gdb.dwarf2/staticvirtual.exp: New test.
4076 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4078 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4079 * README: Remove HP-UX and gdb.hp.
4081 * configure: Regenerate.
4082 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4083 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4084 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4085 gdb.hp/gdb.defects/Makefile.
4086 * gdb.hp/Makefile.in: File deleted.
4087 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4088 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4089 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4090 * gdb.hp/gdb.aCC/run.c: File deleted.
4091 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4092 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4093 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4094 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4095 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4096 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4097 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4098 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4099 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4100 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4101 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4102 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4103 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4104 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4105 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4106 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4107 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4108 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4109 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4110 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4111 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4112 * gdb.hp/gdb.compat/average.c: File deleted.
4113 * gdb.hp/gdb.compat/sum.c: File deleted.
4114 * gdb.hp/gdb.compat/xdb.c: File deleted.
4115 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4116 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4117 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4118 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4119 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4120 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4121 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4122 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4123 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4124 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4125 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4126 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4127 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4128 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4129 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4130 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4131 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4132 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4133 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4134 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4135 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4136 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4137 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4138 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4139 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4140 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4141 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4142 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4143 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4144 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4145 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4146 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4147 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4148 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4149 * gdb.hp/tools/odump: File deleted.
4151 2015-03-19 Pedro Alves <palves@redhat.com>
4153 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4154 (saw_thread_3): New globals.
4155 (top level): Increment them when an event for the corresponding
4157 (no thread starvation): New test.
4159 2015-03-19 Pedro Alves <palves@redhat.com>
4161 * gdb.threads/continue-pending-status.c: New file.
4162 * gdb.threads/continue-pending-status.exp: New file.
4164 2015-03-18 Pedro Alves <palves@redhat.com>
4166 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4167 Use gdb_is_target_remote instead of is_remote. Use
4168 gdb_test_multiple instead of gdb_expect. Exit early if
4169 gdb_test_multiple hits its internal matches. Tighten stepi tests
4170 expected output. Fail on exit with any signal, instead of just
4173 2015-03-18 Yao Qi <yao.qi@linaro.org>
4176 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4178 * gdb.base/catch-syscall.exp: Don't skip it on
4179 aarch64*-*-linux* target. Remove elements in all_syscalls.
4180 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4182 (setup_all_syscalls): New proc.
4184 2015-03-16 Yao Qi <yao.qi@linaro.org>
4186 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4187 (top level): Skip tests if valid_addr_p returns false for
4190 2015-03-11 Andy Wingo <wingo@igalia.com>
4192 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4194 2015-03-11 Yao Qi <yao.qi@linaro.org>
4196 * gdb.base/catch-syscall.exp: Fix typo in comments.
4198 2015-03-11 Yao Qi <yao.qi@linaro.org>
4200 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4202 2015-03-09 Pedro Alves <palves@redhat.com>
4204 * dg-extract-results.py: Delete.
4206 2015-03-09 Pedro Alves <palves@redhat.com>
4208 Merge dg-extract-results.sh from GCC upstream (r218843).
4210 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4211 * dg-extract-results.sh: Use --text with grep to avoid issues with
4212 binary files. Fall back to cat -v, if that doesn't work.
4214 2015-03-05 Pedro Alves <palves@redhat.com>
4216 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4218 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4220 * lib/mi-support.exp (mi_expect_interrupt): Accept
4221 alternative event for when in all-stop mode.
4223 2015-03-04 Pedro Alves <palves@redhat.com>
4225 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4227 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4229 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4231 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4233 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4234 regexps for GDB's current line display, accept a hex address
4235 preceding the line number.
4237 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4239 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4240 the 'arch1' variable for "s390*-linux*" targets.
4242 2015-03-04 Pedro Alves <palves@redhat.com>
4244 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4245 (main): Pass missing retval argument to pthread_join call.
4247 2015-03-02 Pedro Alves <palves@redhat.com>
4249 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4250 (top level): Call do_test with non-stop as well.
4252 2015-03-02 Pedro Alves <palves@redhat.com>
4254 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4257 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4259 * gdb.arch/s390-vregs.exp: New test.
4260 * gdb.arch/s390-vregs.S: New file.
4262 2015-02-27 Pedro Alves <palves@redhat.com>
4264 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4265 call to catch_command_errors.
4266 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4267 catch_command_errors.
4269 2015-02-27 Pedro Alves <palves@redhat.com>
4271 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4272 "true" for boolean result.
4273 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4276 2015-02-27 Pedro Alves <palves@redhat.com>
4278 * lib/unbuffer_output.c: New file.
4279 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4280 (main): Call gdb_unbuffer_output.
4282 2015-02-27 Yao Qi <yao.qi@linaro.org>
4284 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4287 2015-02-26 Doug Evans <dje@google.com>
4289 * gdb.cp/class2.cc (Dbase, D): New classes.
4290 (main): New local delta.
4291 * gdb.cp/class2.exp: Test printing delta.
4292 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4293 (dynbar): New global.
4294 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4296 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4298 * gdb.compile/compile-ifunc.c: New file.
4299 * gdb.compile/compile-ifunc.exp: New file.
4301 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4303 * gdb.base/structs.exp: Check for correct struct on finish.
4305 2015-02-26 Yao Qi <yao.qi@linaro.org>
4307 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4310 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4312 * gdb.arch/cordic.ko.bz2: New file.
4313 * gdb.arch/cordic.ko.debug.bz2: New file.
4314 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4316 2015-02-25 Yao Qi <yao.qi@linaro.org>
4318 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4319 aarch64*-*-* target.
4321 2015-02-23 Pedro Alves <palves@redhat.com>
4323 * lib/gdb.exp (delete_breakpoints): Rewrite using
4326 2015-02-23 Pedro Alves <palves@redhat.com>
4328 * gdb.base/info-os.c: Include stdlib.h.
4330 2015-02-22 Doug Evans <xdje42@gmail.com>
4333 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4334 is read after symbols have been re-read.
4335 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4336 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4338 2015-02-21 Doug Evans <dje@google.com>
4340 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4342 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4345 * gdb.arch/i386-biarch-core.core.bz2: New file.
4346 * gdb.arch/i386-biarch-core.exp: New file.
4348 2015-02-21 Pedro Alves <palves@redhat.com>
4350 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4353 2015-02-20 Pedro Alves <palves@redhat.com>
4355 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4358 2015-02-20 Pedro Alves <palves@redhat.com>
4360 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4362 2015-02-20 Pedro Alves <palves@redhat.com>
4364 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4365 clean_restart before gdb_target_supports_trace.
4367 2015-02-20 Pedro Alves <palves@redhat.com>
4370 * gdb.threads/clone-thread_db.c: New file.
4371 * gdb.threads/clone-thread_db.exp: New file.
4373 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4375 PR breakpoints/16812
4376 * gdb.base/catch-gdb-caused-signals.c: New file.
4377 * gdb.base/catch-gdb-caused-signals.exp: New file.
4379 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4381 * configure: Regenerated.
4382 * configure.ac: Use GDB_AC_TRANSFORM.
4383 * aclocal.m4: sinclude ../transform.m4.
4385 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4387 * lib/dtrace.exp: New file.
4388 * gdb.base/dtrace-probe.exp: Likewise.
4389 * gdb.base/dtrace-probe.d: Likewise.
4390 * gdb.base/dtrace-probe.c: Likewise.
4391 * lib/pdtrace.in: Likewise.
4392 * configure.ac: Output variables with the transformed names of
4393 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4394 * configure: Regenerated.
4396 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4398 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4399 expected message when trying to access $_probe_* convenience
4400 variables while not on a probe.
4402 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4404 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4406 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4408 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4409 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4411 2015-02-10 Doug Evans <xdje42@gmail.com>
4413 * lib/gdb.exp (gdb_load): Always return a result.
4415 2015-02-10 Pedro Alves <palves@redhat.com>
4417 * gdb.threads/signal-sigtrap.c: New file.
4418 * gdb.threads/signal-sigtrap.exp: New file.
4420 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4422 * gdb.trace/no-attach-trace.c: New file.
4423 * gdb.trace/no-attach-trace.exp: New file.
4425 2015-02-09 Mark Wielaard <mjw@redhat.com>
4427 * gdb.dwarf2/atomic.c: New file.
4428 * gdb.dwarf2/atomic-type.exp: Likewise.
4430 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4432 * gdb.btrace/buffer-size.exp: Update "info record" output.
4433 * gdb.btrace/delta.exp: Update "info record" output.
4434 * gdb.btrace/enable.exp: Update "info record" output.
4435 * gdb.btrace/finish.exp: Update "info record" output.
4436 * gdb.btrace/instruction_history.exp: Update "info record" output.
4437 * gdb.btrace/next.exp: Update "info record" output.
4438 * gdb.btrace/nexti.exp: Update "info record" output.
4439 * gdb.btrace/step.exp: Update "info record" output.
4440 * gdb.btrace/stepi.exp: Update "info record" output.
4441 * gdb.btrace/nohist.exp: Update "info record" output.
4443 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4445 * gdb.btrace/buffer-size: New.
4447 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4449 * gdb.btrace/delta.exp: Update "info record" output.
4450 * gdb.btrace/enable.exp: Update "info record" output.
4451 * gdb.btrace/finish.exp: Update "info record" output.
4452 * gdb.btrace/instruction_history.exp: Update "info record" output.
4453 * gdb.btrace/next.exp: Update "info record" output.
4454 * gdb.btrace/nexti.exp: Update "info record" output.
4455 * gdb.btrace/step.exp: Update "info record" output.
4456 * gdb.btrace/stepi.exp: Update "info record" output.
4457 * gdb.btrace/nohist.exp: Update "info record" output.
4459 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4462 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4464 2015-02-06 Pedro Alves <palves@redhat.com>
4466 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4468 (seconds_left, again): New globals.
4469 (main): Wait seconds_left in a 1-second sleep loop instead of
4470 sleeping 180 seconds. If 'again' is set, reset the seconds
4472 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4473 'again' in the inferior before detaching. Print the seconds left.
4474 (options): New global.
4475 (top level): Build program with -DTIMEOUT=$timeout.
4477 2015-02-06 Pedro Alves <palves@redhat.com>
4479 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4480 determine how many seconds to pass to 'alarm'.
4481 * gdb.base/gdb-sigterm.exp (top level): Build program with
4483 (do_test): Return success/failure indication. Add more verbose
4484 logging. Don't fail if 200 single steps are seen. Instead, fail
4485 when the test times out.
4486 (passes): New global.
4487 (top level): Break the testing loop if testing fails on any
4488 iteration. Use gdb_assert.
4490 2015-02-04 Don Breazeal <donb@codesourcery.com>
4492 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4493 and initialize them.
4494 (ipc_cleanup): New function.
4495 (main): Don't declare shmid, semid, and msqid. Add a call to
4496 atexit so that we call ipc_cleanup on exit.
4498 2015-02-04 Pedro Alves <palves@redhat.com>
4500 * boards/native-extended-gdbserver.exp: Remove any target variant
4501 specifications from the board name before clearing the isremote
4502 flag from board_info.
4504 2015-01-31 Doug Evans <xdje42@gmail.com>
4506 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4508 2015-01-31 Gary Benson <gbenson@redhat.com>
4510 * gdb.base/completion.exp: Disable completion limiting for
4511 existing tests. Add new tests to check completion limiting.
4512 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4514 2015-01-31 Doug Evans <xdje42@gmail.com>
4516 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4518 2015-01-31 Doug Evans <xdje42@gmail.com>
4520 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4521 entries. Duplicate file section script entries.
4522 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4523 inlined entries. Add test for safe-path rejection.
4524 * gdb.python/py-section-script.c: Add duplicate inlined section script
4525 entries. Duplicate file section script entries.
4526 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4527 inlined entries. Add test for safe-path rejection.
4529 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4531 * gdb.ada/disc_arr_bound: New testcase.
4533 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4535 * gdb.ada/mi_var_array: New testcase.
4537 2015-01-27 Doug Evans <dje@google.com>
4539 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4540 Add test for objfile.filename, objfile.username after objfile
4543 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4545 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4546 the second test to print the name attribute of value
4547 returned by the call to gdb.lookup_type, and adjust
4548 the expected output accordingly.
4550 2015-01-25 Mark Wielaard <mjw@redhat.com>
4552 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4553 * gdb.base/disp-step-fork.c: Include unistd.h.
4554 * gdb.base/siginfo-obj.c: Include stdio.h.
4555 * gdb.base/siginfo-thread.c: Likewise.
4556 * gdb.mi/non-stop.c: Include unistd.h.
4557 * gdb.mi/nsthrexec.c: Include stdio.h.
4558 * gdb.mi/pthreads.c: Include unistd.h.
4559 * gdb.modula2/unbounded1.c (main): Declare returns int.
4560 * gdb.reverse/consecutive-reverse.c: Likewise.
4561 * gdb.threads/create-fail.c: Include unistd.h.
4562 * gdb.threads/killed.c: Likewise.
4563 * gdb.threads/linux-dp.c: Likewise.
4564 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4565 * gdb.threads/non-ldr-exc-2.c: Likewise.
4566 * gdb.threads/non-ldr-exc-3.c: Likewise.
4567 * gdb.threads/non-ldr-exc-4.c: Likewise.
4568 * gdb.threads/pthreads.c: Include unistd.h.
4569 (main): Declare returns int.
4570 * gdb.threads/tls-main.c (foo): New declaration.
4571 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4573 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4575 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4576 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4578 2015-01-15 Mark Wielaard <mjw@redhat.com>
4580 * gdb.base/noreturn-return.c: New file.
4581 * gdb.base/noreturn-return.exp: New file.
4582 * gdb.base/noreturn-finish.c: New file.
4583 * gdb.base/noreturn-finish.exp: New file.
4585 2015-01-23 Pedro Alves <palves@redhat.com>
4587 * gdb.threads/continue-pending-after-query.c: New file.
4588 * gdb.threads/continue-pending-after-query.exp: New file.
4590 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4591 Simon Marchi <simon.marchi@ericsson.com>
4593 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4594 * gdb.base/valgrind-db-attach.exp: Same.
4595 * gdb.base/valgrind-infcall.exp: Same.
4596 * lib/mi-support.exp (default_mi_gdb_start): Same.
4597 * lib/prompt.exp (default_prompt_gdb_start): Same.
4598 * lib/gdb.exp (default_gdb_spawn): Same.
4599 (gdb_interact): New.
4602 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4604 * gdb.compile/compile.exp (pointer to jit function): New test.
4606 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4608 * lib/gdb.exp (supports_process_record): Return true for
4610 (supports_reverse): Likewise.
4612 2015-01-15 Don Breazeal <donb@codesourcery.com>
4614 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4615 instead of checking whether the target board is remote and
4616 use spawn_wait_for_attach instead of exec/sleep.
4617 * gdb.base/attach-twice.exp: Likewise.
4619 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4621 * gdb.ada/var_arr_attrs: New testcase.
4623 2015-01-14 Pedro Alves <palves@redhat.com>
4624 Joel Brobecker <brobecker@adacore.com>
4627 * gdb.base/bp-cmds-execution-x-script.c: New file.
4628 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4629 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4631 2015-01-14 Pedro Alves <palves@redhat.com>
4634 * gdb.base/batch-preserve-term-settings.c: New file.
4635 * gdb.base/batch-preserve-term-settings.exp: New file.
4637 2015-01-13 Doug Evans <dje@google.com>
4639 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4642 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4644 * Makefile.in (clean mostlyclean): Do not delete *.py.
4646 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4648 * gdb.python/py-lookup-type.exp: New file.
4650 2015-01-12 Pedro Alves <palves@redhat.com>
4652 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4653 restore GDBFLAGS before returning.
4655 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4657 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4658 is_amd64_regs_target and is_x86_like_target.
4660 2015-01-11 Doug Evans <xdje42@gmail.com>
4662 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4663 is given without an explicit form.
4664 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4666 * gdb.dwarf/corrupt.exp: Ditto.
4667 * gdb.dwarf2/enum-type.exp: Ditto.
4668 * gdb.trace/entry-values.exp: Ditto.
4669 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4671 2015-01-11 Doug Evans <xdje42@gmail.com>
4674 * gdb.base/maint.exp: Remove references to "maint demangle".
4675 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4676 Add tests for explicitly specifying language to demangle.
4677 * gdb.dlang/demangle.exp: Ditto.
4679 2015-01-09 Pedro Alves <palves@redhat.com>
4681 * gdb.threads/non-stop-fair-events.c: New file.
4682 * gdb.threads/non-stop-fair-events.exp: New file.
4684 2015-01-09 Pedro Alves <palves@redhat.com>
4686 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4687 the global scope. Set a breakpoint after all threads are started
4688 rather than stepping over two source lines. Expect the prompt.
4689 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4692 (main): Use threads_started_barrier to wait for all threads to
4693 start. Main thread no longer calls thread_function. Exit after
4695 (loop): New function.
4696 (thread_function): Wait on threads_started_barrier barrier. Call
4697 'loop' at each iteration.
4698 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4699 threads have started, instead of hardcoding number of "next"
4700 steps. Use an access watchpoint instead of a write watchpoint.
4702 2015-01-09 Pedro Alves <palves@redhat.com>
4704 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4705 (thread_func): Wait on barrier.
4706 (main): Wait for all threads to start before stopping GDB.
4707 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4709 (thread1_func, thread2_func): Wait on barrier.
4710 (main): Wait for all threads to start before stopping GDB.
4711 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4713 (thread1_func, thread2_func): Wait on barrier.
4714 (main): Wait for all threads to start before stopping GDB.
4716 2015-01-09 Pedro Alves <palves@redhat.com>
4718 * gdb.threads/attach-many-short-lived-threads.c: New file.
4719 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4721 2014-01-09 Pedro Alves <palves@redhat.com>
4723 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4724 instead of to thread 2.
4725 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4726 Add barrier around each pthread_create call instead of around all
4728 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4729 Set a break on thread_function and have the child threads hit it
4732 2015-01-09 Pedro Alves <palves@redhat.com>
4734 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4735 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4737 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4738 checking whether the target board is remote.
4739 * gdb.multi/multi-attach.exp: Likewise.
4740 * gdb.python/py-sync-interp.exp: Likewise.
4741 * gdb.server/ext-attach.exp: Likewise.
4742 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4743 tests that need to attach, instead of checking whether the target
4744 board is remote at the top of the file.
4746 2015-01-08 Yao Qi <yao@codesourcery.com>
4748 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4750 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4752 Fix testcase compilation.
4753 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4755 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4757 * gdb.python/py-type.exp: Add a couple test about empty
4758 array creation, and negative-length array creation.
4760 2015-01-02 Doug Evans <xdje42@gmail.com>
4762 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4764 2015-01-02 Doug Evans <dje@google.com>
4766 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4768 2014-12-29 Yao Qi <yao@codesourcery.com>
4770 * gdb.trace/entry-values.exp: Update comments. Rename variable
4771 bar_call_foo to returned_from_foo.
4773 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4776 * gdb.linespec/break-asm-file.c: New file.
4777 * gdb.linespec/break-asm-file.exp: New file.
4778 * gdb.linespec/break-asm-file0.s: New file.
4779 * gdb.linespec/break-asm-file1.s: New file.
4781 2014-12-18 Nigel Stephens <nigel@mips.com>
4782 Maciej W. Rozycki <macro@codesourcery.com>
4784 * gdb.base/float.exp: Handle the new output from "info float" on
4787 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4789 Fix MinGW compilation.
4790 * gdb.compile/compile-ops.exp: Update untested message if
4791 !skip_compile_feature_tests.
4792 * gdb.compile/compile-setjmp.exp: Likewise.
4793 * gdb.compile/compile-tls.exp: Likewise.
4794 * gdb.compile/compile.exp: Likewise.
4795 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4796 supported on this host".
4798 2014-12-16 Doug Evans <xdje42@gmail.com>
4800 * boards/stabs.exp: New file.
4802 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4804 * gdb.base/completion.exp: Adjust to format changes of "maint
4805 print user-registers".
4807 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4810 * gdb.arch/aarch64-fp.c: New file.
4811 * gdb.arch/aarch64-fp.exp: New file.
4813 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4815 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4816 r210637, r210913, r211666, r215400, r215817).
4818 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4819 * dg-extract-results.py: New file.
4820 * dg-extract-results.sh: Use it if the environment seems
4823 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4825 * dg-extract-results.py (parse_run): Handle warnings that
4826 are printed before a test harness is run.
4828 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4830 * dg-extract-results.py (Named): Remove __cmp__ method.
4831 (output_variation): Use a key to sort variation.harnesses.
4833 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4835 * dg-extract-results.py: For Python 3, force sys.stdout to
4836 handle surrogate escape sequences.
4837 (safe_open): New function.
4838 (output_segment, main): Use it.
4840 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4842 * dg-extract-results.py (Prog.result_re): Include options
4845 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4847 * dg-extract-results.py (output_variation): Always sort if
4850 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4852 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4853 as long as we get pagination notifications.
4855 2014-12-15 Jason Merrill <jason@redhat.com>
4857 * Makefile.in (check-gdb.%): Restore.
4858 * README: Mention it.
4860 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4862 * gdb.ada/str_uninit: New testcase.
4864 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4867 * gdb.base/vla-stub-define.c: New file.
4868 * gdb.base/vla-stub.c: New file.
4869 * gdb.base/vla-stub.exp: New file.
4871 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4872 Jan Kratochvil <jan.kratochvil@redhat.com>
4873 Tom Tromey <tromey@redhat.com>
4875 * configure.ac: Add gdb.compile/.
4876 * configure: Regenerate.
4877 * gdb.compile/Makefile.in: New file.
4878 * gdb.compile/compile-ops.exp: New file.
4879 * gdb.compile/compile-ops.c: New file.
4880 * gdb.compile/compile-tls.c: New file.
4881 * gdb.compile/compile-tls.exp: New file.
4882 * gdb.compile/compile-constvar.S: New file.
4883 * gdb.compile/compile-constvar.c: New file.
4884 * gdb.compile/compile-mod.c: New file.
4885 * gdb.compile/compile-nodebug.c: New file.
4886 * gdb.compile/compile-setjmp-mod.c: New file.
4887 * gdb.compile/compile-setjmp.c: New file.
4888 * gdb.compile/compile-setjmp.exp: New file.
4889 * gdb.compile/compile-shlib.c: New file.
4890 * gdb.compile/compile.c: New file.
4891 * gdb.compile/compile.exp: New file.
4892 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4894 2014-12-12 Tom Tromey <tromey@redhat.com>
4896 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4897 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4899 2014-12-12 Doug Evans <dje@google.com>
4901 * lib/gdb-python.exp (get_python_valueof): New function.
4902 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4904 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4906 * gdb.base/completion.exp: Add test for completion of "info
4909 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4911 * gdb.base/func-ptrs.c: New file.
4912 * gdb.base/func-ptrs.exp: New file.
4914 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4916 PR breakpoints/17012
4917 * gdb.base/dprintf-detach.c: New file.
4918 * gdb.base/dprintf-detach.exp: New file.
4920 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4922 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4923 * lib/gdb.exp (target_is_gdbserver): New procedure.
4925 2014-12-08 Doug Evans <dje@google.com>
4927 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4929 2014-12-05 Yao Qi <yao@codesourcery.com>
4931 * gdb.guile/scm-error.exp: Remove the third argument to
4932 gdb_remote_download.
4933 * gdb.guile/scm-frame-args.exp: Likewise.
4934 * gdb.guile/scm-section-script.exp: Likewise.
4936 2014-12-05 Yao Qi <yao@codesourcery.com>
4938 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4940 2014-12-04 Doug Evans <dje@google.com>
4942 * gdb.python/py-objfile.exp: Add tests for
4943 objfile.add_separate_debug_file.
4945 2014-12-04 Doug Evans <dje@google.com>
4947 * lib/gdb.exp (get_build_id): New function.
4948 (build_id_debug_filename_get): Rewrite to use it.
4949 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4951 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4953 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4954 `method(long)', not just 0x0.
4955 * gdb.cp/nsalias.exp: Align code labels to 4.
4956 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4957 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4958 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4959 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4960 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4961 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4963 2014-12-02 Doug Evans <dje@google.com>
4966 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4967 * gdb.cp/anon-ns2.cc: ... here. New file.
4968 * gdb.cp/anon-ns.exp: Update.
4970 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4972 * gdb.python/py-events.py (inferior_call_handler): New.
4973 (register_changed_handler, memory_changed_handler): New.
4974 (test_events.invoke): Register new handlers.
4975 * gdb.python/py-events.exp: Add tests for inferior call,
4976 memory_changed and register_changed events.
4978 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4980 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4981 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4982 if the linker doesn't understand this.
4984 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4986 * gdb.python/python.exp: Change expected reply to help().
4988 2014-12-01 Yao Qi <yao@codesourcery.com>
4990 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4991 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4992 * configure: Re-generated.
4994 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4996 * gdb.cp/chained-calls.cc: New file.
4997 * gdb.cp/chained-calls.exp: New file.
4998 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
5000 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
5002 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
5003 * gdb.dwarf2/symtab-producer.exp: Same.
5004 * gdb.gdb/python-interrupts.exp: Same.
5005 * gdb.gdb/python-selftest.exp: Same.
5006 * gdb.python/py-linetable.exp: Same.
5007 * gdb.python/py-type.exp: Same.
5008 * gdb.python/py-value-cc.exp: Same.
5009 * gdb.python/py-value.exp: Same.
5011 2014-11-28 Yao Qi <yao@codesourcery.com>
5013 * gdb.base/break-probes.exp: Match library name prefixed with
5016 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
5018 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
5019 test expected output. Add parentheses for the call to print.
5020 Remove L suffix from integers.
5022 2014-11-26 Doug Evans <dje@google.com>
5024 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
5026 2014-11-22 Yao Qi <yao@codesourcery.com>
5028 * gdb.trace/entry-values.c: Remove asms.
5029 (foo): Add foo_label.
5030 (bar): Add bar_label.
5031 * gdb.trace/entry-values.exp: Remove code computing foo's
5032 length and bar's length.
5033 (Dwarf::assemble): Invoke function_range for bar and use
5034 MACRO_AT_func for foo.
5036 2014-11-22 Yao Qi <yao@codesourcery.com>
5038 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
5039 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
5040 Use .Lgcc43_procstart instead of gcc43.
5042 2014-11-21 Joel Brobecker <brobecker@adacore.com>
5044 * gdb.ada/n_arr_bound: New testcase.
5046 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
5048 PR breakpoints/10737
5049 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
5050 test_catch_syscall_multi_arch.
5051 (test_catch_syscall_multi_arch): New function.
5053 2014-11-20 Doug Evans <xdje42@gmail.com>
5055 * gdb.base/maint.exp: Update expected output.
5057 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5059 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5060 4-byte instruction on S390.
5062 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5064 * gdb.ada/arr_arr: New testcase.
5066 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5068 * gdb.ada/pkd_arr_elem: New Testcase.
5070 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5072 * gdb.reverse/break-precsave: Expect completion message for
5074 * gdb.reverse/consecutive-precsave.exp: Likewise.
5075 * gdb.reverse/finish-precsave.exp: Likewise.
5076 * gdb.reverse/i386-precsave.exp: Likewise.
5077 * gdb.reverse/machinestate-precsave.exp: Likewise.
5078 * gdb.reverse/sigall-precsave.exp: Likewise.
5079 * gdb.reverse/solib-precsave.exp: Likewise.
5080 * gdb.reverse/step-precsave.exp: Likewise.
5081 * gdb.reverse/until-precsave.exp: Likewise.
5082 * gdb.reverse/watch-precsave.exp: Likewise.
5084 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5086 * gdb.base/bp-permanent.c: Include unistd.h.
5087 * gdb.python/py-framefilter-mi.c (main): Add return type.
5088 * gdb.python/py-framefilter.c (main): Likewise.
5089 * gdb.trace/actions-changed.c (main): Likewise.
5091 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5093 * gdb.mi/until.c: Add eye-catchers.
5094 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5097 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5099 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5100 function header variants in break1.c.
5101 * gdb.base/ena-dis-br.exp: Likewise.
5102 * gdb.base/hbreak2.exp: Likewise.
5103 * gdb.reverse/until-precsave.exp: Drop references to removed
5104 non-prototype function header variants in ur1.c.
5105 * gdb.reverse/until-reverse.exp: Likewise.
5107 2014-11-17 Petr Machata <pmachata@redhat.com>
5109 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5110 ${_cu_offset_size} bytes abbrev offset.
5112 2014-11-15 Doug Evans <xdje42@gmail.com>
5115 * gdb.base/line-symtabs.exp: New file.
5116 * gdb.base/line-symtabs.c: New file.
5117 * gdb.base/line-symtabs.h: New file.
5119 2014-11-14 Yao Qi <yao@codesourcery.com>
5121 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5122 (func): Add label func_label.
5123 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5124 Replace low_pc and high_pc with MACRO_AT_range.
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 (Dwarf::assemble):
5130 Replace name, low_pc and high_pc with MACRO_AT_func.
5132 2014-11-14 Yao Qi <yao@codesourcery.com>
5134 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5135 produce debug information.
5136 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5138 2014-11-14 Yao Qi <yao@codesourcery.com>
5140 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5141 object and get function length.
5142 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5144 (top-level): Replace gdb_compile and clean_restart with
5145 prepare_for_testing.
5146 * gdb.dwarf2/main.c (main): Add label main_label.
5148 2014-11-14 Yao Qi <yao@codesourcery.com>
5150 * lib/dwarf.exp (function_range): New procedure.
5151 (Dwarf::_handle_macro_at_func): New procedure.
5152 (Dwarf::_handle_macro_at_range): New procedure.
5153 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5155 2014-11-14 Yao Qi <yao@codesourcery.com>
5157 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5158 (_handle_attribute): New procedure.
5160 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5162 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5163 * gdb.base/call-sc.c (zed): Likewise.
5164 * gdb.base/checkpoint.c (main): Likewise.
5165 * gdb.base/dump.c (main): Likewise.
5166 * gdb.base/gcore.c (main): Likewise.
5167 * gdb.base/huge.c (main): Likewise.
5168 * gdb.base/multi-forks.c (main): Likewise.
5169 * gdb.base/pr10179-a.c (main): Likewise.
5170 * gdb.base/savedregs.c (main): Likewise.
5171 * gdb.base/sigaltstack.c (main): Likewise.
5172 * gdb.base/siginfo.c (main): Likewise.
5173 * gdb.base/structs.c (zed): Likewise.
5174 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5175 * gdb.mi/mi-syn-frame.c (main): Likewise.
5176 * gdb.mi/until.c (foo, main): Likewise.
5177 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5178 * gdb.base/solib-weak.c (foo): Declare.
5179 * gdb.base/attach-twice.c: Include stdio.h.
5180 * gdb.base/weaklib1.c: Likewise.
5181 * gdb.base/weaklib2.c: Likewise.
5182 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5183 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5185 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5186 * gdb.mi/mi-exit-code.c: Likewise.
5187 * gdb.base/break-interp-lib.c: Include string.h.
5188 * gdb.base/coremaker.c: Likewise.
5189 * gdb.base/testenv.c: Likewise.
5190 * gdb.python/py-finish-breakpoint.c: Likewise.
5191 * gdb.base/inferior-died.c: Include sys/wait.h.
5192 * gdb.base/fileio.c: Include time.h.
5193 * gdb.base/async-shell.c: Include unistd.h.
5194 * gdb.base/dprintf-non-stop.c: Likewise.
5195 * gdb.base/info-os.c: Likewise.
5196 * gdb.mi/mi-console.c: Likewise.
5197 * gdb.mi/watch-nonstop.c: Likewise.
5198 * gdb.python/py-events.c: Likewise.
5199 * gdb.base/async.c (baz): Move up before its invocation.
5200 * gdb.base/code_elim2.c (my_global_func): Likewise.
5201 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5202 * gdb.base/advance.c (func2): Likewise.
5204 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5206 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5208 * gdb.base/annota3.c: Likewise.
5209 * gdb.base/async.c: Likewise.
5210 * gdb.base/average.c: Likewise.
5211 * gdb.base/call-ar-st.c: Likewise.
5212 * gdb.base/call-rt-st.c: Likewise.
5213 * gdb.base/call-sc.c: Likewise.
5214 * gdb.base/call-strs.c: Likewise.
5215 * gdb.base/ending-run.c: Likewise.
5216 * gdb.base/execd-prog.c: Likewise.
5217 * gdb.base/exprs.c: Likewise.
5218 * gdb.base/foll-exec.c: Likewise.
5219 * gdb.base/foll-fork.c: Likewise.
5220 * gdb.base/foll-vfork.c: Likewise.
5221 * gdb.base/funcargs.c: Likewise.
5222 * gdb.base/gcore.c: Likewise.
5223 * gdb.base/jump.c: Likewise.
5224 * gdb.base/langs0.c: Likewise.
5225 * gdb.base/langs1.c: Likewise.
5226 * gdb.base/langs2.c: Likewise.
5227 * gdb.base/mips_pro.c: Likewise.
5228 * gdb.base/nodebug.c: Likewise.
5229 * gdb.base/opaque0.c: Likewise.
5230 * gdb.base/opaque1.c: Likewise.
5231 * gdb.base/recurse.c: Likewise.
5232 * gdb.base/run.c: Likewise.
5233 * gdb.base/scope0.c: Likewise.
5234 * gdb.base/scope1.c: Likewise.
5235 * gdb.base/setshow.c: Likewise.
5236 * gdb.base/setvar.c: Likewise.
5237 * gdb.base/shmain.c: Likewise.
5238 * gdb.base/shr1.c: Likewise.
5239 * gdb.base/shr2.c: Likewise.
5240 * gdb.base/sigall.c: Likewise.
5241 * gdb.base/signals.c: Likewise.
5242 * gdb.base/so-indr-cl.c: Likewise.
5243 * gdb.base/solib2.c: Likewise.
5244 * gdb.base/structs.c: Likewise.
5245 * gdb.base/sum.c: Likewise.
5246 * gdb.base/vforked-prog.c: Likewise.
5247 * gdb.base/watchpoint.c: Likewise.
5248 * gdb.reverse/shr2.c: Likewise.
5249 * gdb.reverse/until-reverse.c: Likewise.
5250 * gdb.reverse/ur1.c: Likewise.
5251 * gdb.reverse/watch-reverse.c: Likewise.
5253 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5255 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5257 * gdb.base/sepdebug.exp: Drop references to removed code.
5259 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5261 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5262 variant. Preserve original line numbering.
5263 * gdb.base/list1.c: Likewise.
5265 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5267 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5269 * gdb.base/break1.c: Likewise.
5270 * gdb.base/break.exp: Drop references to removed code.
5272 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5274 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5277 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5279 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5281 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5283 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5284 logic into perform_all_tests() and invoke it with and without
5285 function header prototypes.
5286 (do_function_calls): Remove conditional XFAIL for PR 5318.
5287 (rerun_and_prepare): Remove duplicate code.
5288 (perform_all_tests): New. Main logic moved here.
5290 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5292 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5293 code guarded by #ifdef NO_PROTOTYPES.
5294 (t_double_many_args): Likewise.
5295 (DEF_FUNC_MANY_ARGS_1): Likewise.
5296 (DEF_FUNC_VALUES_1): Likewise.
5297 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5298 guarded by #ifdef PROTOTYPES.
5300 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5302 * gdb.mi/mi-console.c: Add eye-catcher.
5303 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5304 instead of literal line number.
5306 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5308 * gdb.base/shr2.c: Add eye-catcher.
5309 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5312 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5314 * gdb.base/jump.c: Add eye-catchers.
5315 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5318 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5320 * gdb.base/execd-prog.c: Add eye-catchers.
5321 * gdb.base/foll-exec.c: Likewise.
5322 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5325 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5327 * gdb.base/ending-run.c: Add eye-catchers.
5328 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5329 literal line numbers.
5331 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5333 * gdb.base/call-rt-st.c: Add eye-catchers.
5334 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5335 literal line numbers.
5337 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5339 * gdb.base/call-ar-st.c: Add eye-catchers.
5340 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5341 literal line numbers.
5343 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5345 * gdb.base/average.c: Add eye-catchers.
5346 * gdb.base/sum.c: Likewise.
5347 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5348 regexps dynamically.
5350 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5352 * gdb.base/solib1.c: Add eye-catchers.
5353 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5354 literal line numbers.
5356 2014-11-12 Pedro Alves <palves@redhat.com>
5358 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5361 2014-11-12 Pedro Alves <palves@redhat.com>
5363 * gdb.arch/i386-bp_permanent.c: New file.
5364 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5365 (srcfile): Set to i386-bp_permanent.c.
5366 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5367 that stepi does not execute the 'leave' instruction, instead of
5368 testing it does execute.
5369 * gdb.base/bp-permanent.c: New file.
5370 * gdb.base/bp-permanent.exp: New file.
5372 2014-11-10 Doug Evans <xdje42@gmail.com>
5375 * gdb.base/symtab-search-order.exp: New file.
5376 * gdb.base/symtab-search-order.c: New file.
5377 * gdb.base/symtab-search-order-1.c: New file.
5378 * gdb.base/symtab-search-order-shlib-1.c: New file.
5380 2014-11-07 Pedro Alves <palves@redhat.com>
5383 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5386 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5389 * gdb.cp/pr17494.cc: New file.
5390 * gdb.cp/pr17494.exp: New file.
5392 2014-11-02 Yao Qi <yao@codesourcery.com>
5394 * gdb.python/python.exp: Get working directory and match the
5395 output of "set extended-prompt \\w " with it.
5397 2014-10-30 Doug Evans <dje@google.com>
5399 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5401 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5404 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5406 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5407 * gdb.base/realname-expand.exp: Likewise.
5408 * gdb.linespec/macro-relative.exp: Likewise.
5410 2014-10-29 Pedro Alves <palves@redhat.com>
5413 * gdb.threads/schedlock.c (some_function): New function.
5414 (call_function): New global.
5415 (MAYBE_CALL_SOME_FUNCTION): New macro.
5416 (thread_function): Call it.
5417 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5418 and use it instead of a global counter. Adjust all callers.
5419 (get_current_thread): Use "find current thread" for test message
5420 here rather than having all callers pass down the same string.
5421 (goto_loop): New procedure, factored out from ...
5422 (my_continue): ... this.
5423 (step_ten_loops): Change parameter from test message to command to
5425 (list_count): Delete global.
5426 (check_result): New procedure, factored out from duplicate top
5428 (continue tests): Wrap in with_test_prefix.
5429 (test_step): New procedure, factored out from duplicate top level
5431 (top level): Test "step" in combination with all scheduler-locking
5432 modes. Test "next" in combination with all scheduler-locking
5433 modes, and in combination with stepping over a function call or
5435 * gdb.threads/next-bp-other-thread.c: New file.
5436 * gdb.threads/next-bp-other-thread.exp: New file.
5438 2014-10-29 Pedro Alves <palves@redhat.com>
5441 * gdb.python/python.exp: Test a multi-line command that spawns
5443 * gdb.base/multi-line-starts-subshell.exp: New file.
5445 2014-10-29 Yao Qi <yao@codesourcery.com>
5447 * gdb.base/fileio.exp: Make directories on host.
5449 2014-10-29 Yao Qi <yao@codesourcery.com>
5451 * gdb.base/fileio.c (test_write): Close the file.
5453 2014-10-28 Pedro Alves <palves@redhat.com>
5456 * gdb.base/sigstep.c (no_handler): New global.
5457 (main): If 'no_handler is true, set the signal handlers to
5459 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5460 with_sw_watch and no_handler parameters. Handle them.
5461 (top level) <stepping over handler when stopped at a breakpoint
5462 test>: Add a test axis for testing with a software watchpoint, and
5463 another for testing with the signal handler set to SIG_IGN.
5464 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5465 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5467 2014-10-28 Pedro Alves <palves@redhat.com>
5470 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5471 * gdb.base/sigstep.exp (other_handler_location): New global.
5472 (advance): Support stepping into the signal handler, and running
5473 commands while in the handler.
5474 (in_handler_map): New global.
5475 (top level): In the advance test, add combinations for getting
5476 into the handler with stepping commands, and for running commands
5477 in the handler. Add comment descripting the advancei tests.
5479 2014-10-28 Pedro Alves <palves@redhat.com>
5481 * gdb.base/sigstep.exp: Use build_executable instead of
5482 prepare_for_testing.
5483 (top level): Move code that starts GDB, runs to main and creates a
5485 (restart): ... this new procedure.
5486 (top level): Move backtrace from signal handler test to ...
5487 (validate_backtrace): ... this new procedure.
5488 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5489 with_test_prefix. Always restart GDB.
5490 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5491 with_test_prefix. Always restart GDB. No need to delete
5492 breakpoints after the test.
5493 (test_skip_handler): Remove prefix parameter.
5494 (skip_over_handler, breakpoint_to_handler)
5495 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5496 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5497 restart GDB. No need to delete breakpoints after the test.
5498 (top level): Use foreach to call the test procedures with
5501 2014-10-28 Pedro Alves <palves@redhat.com>
5503 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5504 instead of GNATS numbers.
5505 * gdb.base/sigbpt.exp: Likewise.
5506 * gdb.base/siginfo.exp: Likewise.
5507 * gdb.base/sigstep.exp: Likewise.
5509 2014-10-27 Pedro Alves <palves@redhat.com>
5511 * gdb.base/sigstep.c (dummy): New global.
5512 (main): Issue a couple writes to the new global.
5513 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5515 (skip_over_handler): Use test_skip_handler.
5516 (top level): Call skip_over_handler for stepi and nexti too.
5517 (breakpoint_over_handler): Use test_skip_handler.
5518 (top level): Call breakpoint_over_handler for stepi and nexti too.
5520 2014-10-27 Yao Qi <yao@codesourcery.com>
5522 * gdb.trace/tfile.c (adjust_function_address)
5523 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5524 function descriptor.
5526 2014-10-24 Don Breazeal <donb@codesourcery.com>
5528 * gdb.base/foll-fork.exp (test_follow_fork,
5529 catch_fork_child_follow): Check for updated fork messages emitted
5531 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5532 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5533 vfork_and_exec_child_follow_through_step): Check for updated vfork
5534 messages emitted from infrun.c.
5536 2014-10-24 Pedro Alves <palves@redhat.com>
5538 * gdb.base/corefile.exp: Remove references to ultrix.
5539 * gdb.base/interrupt.exp: Likewise.
5540 * gdb.base/whatis.exp: Likewise.
5541 * gdb.gdb/selftest.exp: Likewise.
5542 * gdb.threads/manythreads.exp: Likewise.
5543 * gdb.threads/print-threads.exp: Likewise.
5544 * gdb.threads/pthreads.exp:: Likewise.
5545 * gdb.threads/schedlock.exp: Likewise.
5547 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5549 * gdb.cp/non-trivial-retval.cc: Add a test case.
5550 * gdb.cp/non-trivial-retval.exp: Add a test.
5552 2014-10-20 Yao Qi <yao@codesourcery.com>
5554 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5555 * gdb.python/py-objfile-script-gdb.py: New file.
5556 * gdb.python/py-objfile-script.exp: Update reference to
5557 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5558 of remote_download. Remove the dest file.
5560 2014-10-20 Yao Qi <yao@codesourcery.com>
5562 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5563 * gdb.base/step-line.exp: Likewise.
5564 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5565 * gdb.dwarf2/dw2-basic.exp: Likewise.
5566 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5567 * gdb.dwarf2/dw2-filename.exp: Likewise.
5568 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5569 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5570 * gdb.dwarf2/dw2-producer.exp: Likewise.
5571 * gdb.dwarf2/mac-fileno.exp: Likewise.
5572 * gdb.python/py-frame-args.exp: Likewise.
5573 * gdb.python/py-framefilter.exp: Likewise.
5574 * gdb.python/py-mi.exp: Likewise.
5575 * gdb.python/py-objfile-script.exp: Likewise
5576 * gdb.python/py-pp-integral.exp: Likewise.
5577 * gdb.python/py-pp-re-notag.exp: Likewise.
5578 * gdb.python/py-prettyprint.exp: Likewise.
5579 * gdb.python/py-section-script.exp: Likewise.
5580 * gdb.python/py-typeprint.exp: Likewise.
5581 * gdb.python/py-xmethods.exp: Likewise.
5582 * gdb.stabs/weird.exp: Likewise.
5583 * gdb.xml/tdesc-regs.exp: Likewise.
5585 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5587 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5588 (out_cu): Use addr_len for the size of addresses.
5589 (out_line): Likewise. Size DW_LNE_set_address instruction
5590 according to addr_len.
5591 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5592 (FUNC): Add START_INSNS to definition.
5594 2014-10-18 Yao Qi <yao@codesourcery.com>
5596 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5597 gdb_has_argv0 return true.
5598 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5599 check [target_info exists noargs], check [gdb_has_argv0]
5601 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5602 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5605 2014-10-17 Doug Evans <dje@google.com>
5607 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5609 * gdb.python/py-events.py: Add clear_objfiles event.
5611 2014-10-17 Doug Evans <dje@google.com>
5613 * gdb.python/py-objfile.exp: Test progspace attribute.
5615 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5617 * gdb.guile/scm-breakpoint.exp: Do not assume any
5618 directory separators when matching source file paths.
5619 * gdb.python/py-breakpoint.exp: Likewise.
5620 * gdb.reverse/break-precsave.exp: Likewise.
5621 * gdb.reverse/break-reverse.exp: Likewise.
5622 * gdb.reverse/consecutive-precsave.exp: Likewise.
5623 * gdb.reverse/finish-precsave.exp: Likewise.
5624 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5625 * gdb.reverse/finish-reverse.exp: Likewise.
5626 * gdb.reverse/i386-precsave.exp: Likewise.
5627 * gdb.reverse/i387-env-reverse.exp: Likewise.
5628 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5629 * gdb.reverse/machinestate-precsave.exp: Likewise.
5630 * gdb.reverse/machinestate.exp: Likewise.
5631 * gdb.reverse/sigall-precsave.exp: Likewise.
5632 * gdb.reverse/solib-precsave.exp: Likewise.
5633 * gdb.reverse/step-precsave.exp: Likewise.
5634 * gdb.reverse/until-precsave.exp: Likewise.
5635 * gdb.reverse/watch-precsave.exp: Likewise.
5636 * gdb.reverse/watch-reverse.exp: Likewise.
5638 2014-10-17 Yao Qi <yao@codesourcery.com>
5640 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5641 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5643 2014-10-17 Pedro Alves <palves@redhat.com>
5646 * gdb.base/bg-execution-repeat.c: New file.
5647 * gdb.base/bg-execution-repeat.exp: New file.
5649 2014-10-17 Pedro Alves <palves@redhat.com>
5652 * gdb.base/continue-all-already-running.c: New file.
5653 * gdb.base/continue-all-already-running.exp: New file.
5655 2014-10-17 Pedro Alves <palves@redhat.com>
5658 * gdb.base/annota-input-while-running.c: New file.
5659 * gdb.base/annota-input-while-running.exp: New file.
5661 2014-10-17 Pedro Alves <palves@redhat.com>
5663 * gdb.base/callfuncs.exp: emove references to osf.
5664 * gdb.base/sigall.exp: Likewise.
5665 * gdb.gdb/selftest.exp: Likewise.
5666 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5667 * gdb.mi/non-stop.c: Likewise.
5668 * gdb.mi/pthreads.c: Likewise.
5669 * gdb.reverse/sigall-precsave.exp: Likewise.
5670 * gdb.reverse/sigall-reverse.exp: Likewise.
5671 * gdb.threads/pthreads.c: Likewise.
5672 * gdb.threads/pthreads.exp: Likewise.
5674 2014-10-17 Yao Qi <yao@codesourcery.com>
5676 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5677 check 'target_info exists noargs'.
5678 (test_command_prompt_position): Likewise.
5679 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5681 (progvar_simple_while_test): Likewise.
5682 (progvar_complex_if_while_test): Likewise.
5683 (if_while_breakpoint_command_test): Likewise.
5684 (infrun_breakpoint_command_test): Likewise.
5685 (breakpoint_command_test): Likewise.
5686 (watchpoint_command_test): Likewise.
5687 (bp_deleted_in_command_test): Likewise.
5688 (temporary_breakpoint_commands): Likewise.
5690 2014-10-16 Yao Qi <yao@codesourcery.com>
5692 * gdb.base/remotetimeout.exp: Remove noargs checking.
5694 2014-10-15 Pedro Alves <palves@redhat.com>
5697 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5698 * gdb.base/breakpoint-in-ro-region.exp
5699 (probe_target_hardware_step): New procedure.
5700 (top level): Probe hardware stepping and hardware breakpoint
5701 support. Test stepping through a read-only region, with both
5702 "breakpoint auto-hw" on and off and both "always-inserted" on and
5705 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5707 * gdb.dlang/demangle.exp: Update for demangling changes.
5709 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5711 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5712 * gdb.cp/non-trivial-retval.exp: Add new tests.
5714 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5718 * gdb.cp/non-trivial-retval.cc: New file.
5719 * gdb.cp/non-trivial-retval.exp: New file.
5721 2014-10-15 Yao Qi <yao@codesourcery.com>
5723 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5726 2014-10-15 Yao Qi <yao@codesourcery.com>
5728 * gdb.python/py-symbol.exp: Match file base name if host is
5729 remote, otherwise match file name with dir name.
5730 * gdb.python/py-symtab.exp: Likewise.
5731 * gdb.python/python.exp: Likewise.
5733 2014-10-15 Yao Qi <yao@codesourcery.com>
5735 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5737 * gdb.python/py-symtab.exp: Likewise.
5738 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5741 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5743 * gdb.ada/addr_arith: New testcase.
5745 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5747 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5748 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5749 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5750 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5752 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5754 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5755 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5756 * gdb.arch/stap-eval-lang-ada.exp: New file.
5758 2014-10-14 Yao Qi <yao@codesourcery.com>
5760 * gdb.mi/mi-var-child.c (nothing1): New function.
5761 (nothing2): New function.
5762 (do_children_tests): Set function pointers by nothing1 and
5764 * gdb.mi/mi-var-child.exp: Step over new added statements.
5765 Update test to match the new output.
5766 * gdb.mi/var-cmd.c (nothing1): New function.
5767 (nothing2): New function.
5768 (do_children_tests): Set function pointers by nothing1 and
5770 * gdb.mi/mi-var-display.exp: Update test to match output.
5771 Step to the line specified by $line_dct_nothing.
5772 Increase the number of lines to step.
5774 2014-10-14 Yao Qi <yao@codesourcery.com>
5776 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5778 * gdb.mi/mi2-var-child.exp: Likewise.
5780 2014-10-13 Doug Evans <dje@google.com>
5782 * gdb.python/py-objfile.exp: Change name of file name test.
5784 2014-10-13 Doug Evans <dje@google.com>
5786 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5787 from the start of the CU.
5789 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5790 Yao Qi <yao@codesourcery.com>
5792 Fix "save breakpoints" for "catch" command.
5793 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5794 Remove -nonewline. Match also the added "main" line.
5796 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5798 Fix "save breakpoints" for "disable $bpnum" command.
5799 * gdb.base/save-bp.c (main): Add label.
5800 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5802 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5804 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5806 2014-10-11 Yao Qi <yao@codesourcery.com>
5808 * gdb.server/server-kill.exp: Execute command
5809 "set remote trace-status-packet on" before "tstatus".
5811 2014-10-11 Yao Qi <yao@codesourcery.com>
5813 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5814 (main): Call getppid.
5815 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5816 and continue to it. Read variable "server_pid".
5818 2014-10-11 Yao Qi <yao@codesourcery.com>
5820 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5822 2014-10-11 Yao Qi <yao@codesourcery.com>
5824 * gdb.threads/thread-find.exp: Don't execute command
5826 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5827 * gdb.threads/linux-dp.exp: Don't check the condition
5828 $threads_created equals to zero.
5830 2014-10-10 Pedro Alves <palves@redhat.com>
5832 * gdb.base/bigcore.exp: Remove references to IRIX.
5833 * gdb.base/funcargs.exp: Likewise.
5834 * gdb.base/interrupt.exp: Likewise.
5835 * gdb.base/mips_pro.exp: Likewise.
5836 * gdb.base/nodebug.exp: Likewise.
5837 * gdb.base/setvar.exp: Likewise.
5838 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5840 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5841 Pedro Alves <palves@redhat.com>
5844 * gdb.base/vdso-warning.c: New file.
5845 * gdb.base/vdso-warning.exp: New file.
5847 2014-10-02 Doug Evans <dje@google.com>
5849 * gdb.base/structs.c (main): Don't run forever.
5851 2014-10-02 Pedro Alves <palves@redhat.com>
5853 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5854 (top level) <stop threads 1, stop threads 2>: Use it.
5856 2014-10-02 Pedro Alves <palves@redhat.com>
5858 * gdb.threads/break-while-running.exp (test): Add new
5859 'update_thread_list' argument. Skip "info threads" if false.
5860 (top level): Add new 'update_thread_list' axis.
5862 2014-10-02 Pedro Alves <palves@redhat.com>
5864 PR breakpoints/17431
5865 * gdb.base/execl-update-breakpoints.c: New file.
5866 * gdb.base/execl-update-breakpoints.exp: New file.
5868 2014-10-01 Pedro Alves <palves@redhat.com>
5870 * gdb.base/breakpoint-in-ro-region.c: New file.
5871 * gdb.base/breakpoint-in-ro-region.exp: New file.
5873 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5875 * gdb.mi/mi-exit-code.exp: New file.
5876 * gdb.mi/mi-exit-code.c: New file.
5878 2014-09-30 Yao Qi <yao@codesourcery.com>
5880 * lib/prelink-support.exp (build_executable_own_libs): Error if
5881 the target isn't native.
5883 2014-09-30 Yao Qi <yao@codesourcery.com>
5885 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5888 2014-09-22 Pedro Alves <palves@redhat.com>
5890 * gdb.threads/break-while-running.exp: New file.
5891 * gdb.threads/break-while-running.c: New file.
5893 2014-09-19 Yao Qi <yao@codesourcery.com>
5895 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5896 Invoke test. Restart GDB with --readnow and invoke test again.
5898 2014-09-19 Yao Qi <yao@codesourcery.com>
5900 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5901 proc set_breakpoint_on_gcd_function. Invoke
5902 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5903 invoke set_breakpoint_on_gcd_function again.
5905 2014-09-18 Doug Evans <dje@google.com>
5907 * gdb.dwarf2/symtab-producer.exp: New file.
5909 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5911 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5912 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5913 * gdb.base/global-var-nested-by-dso.c: Likewise.
5914 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5916 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5917 Pedro Alves <palves@redhat.com>
5919 * gdb.base/watch-bitfields.exp: Pass string other than test file
5920 name to prepare_for_testing.
5921 (watch): New procedure.
5922 (expect_watchpoint): Use with_test_prefix.
5923 (top level): Factor out tests to ...
5924 (test_watch_location, test_regular_watch): ... these new
5925 procedures, and use with_test_prefix and gdb_continue_to_end.
5927 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5929 PR breakpoints/12526
5930 * gdb.base/watch-bitfields.exp: New file.
5931 * gdb.base/watch-bitfields.c: New file.
5933 2014-09-16 Pedro Alves <palves@redhat.com>
5935 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5936 software and hardware addresses, not software address against
5939 2014-09-16 Pedro Alves <palves@redhat.com>
5941 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5942 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5944 2014-09-16 Pedro Alves <palves@redhat.com>
5946 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5948 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5949 "*-*-vxworks*" throughout.
5950 * gdb.base/break.exp: Likewise.
5951 * gdb.base/default.exp: Likewise.
5952 * gdb.base/scope.exp: Likewise.
5953 * gdb.base/sepdebug.exp: Likewise.
5954 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5956 * gdb.base/run.c: Likewise.
5957 * gdb.base/sepdebug.c: Likewise.
5958 * gdb.hp/gdb.aCC/run.c: Likewise.
5959 * gdb.reverse/until-reverse.c: Likewise.
5960 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5962 2014-09-16 Yao Qi <yao@codesourcery.com>
5964 * boards/local-remote-host-native.exp: New file.
5966 2014-09-14 Doug Evans <xdje42@gmail.com>
5968 * gdb.threads/queue-signal.c (thread_count): New variable.
5969 (thread_count_mutex, thread_count_condvar): New variables.
5970 (incr_thread_count, wait_all_threads_running): New functions.
5971 (main): Wait for all threads to be in their thread functions.
5973 2014-09-13 Doug Evans <xdje42@gmail.com>
5975 * gdb.threads/queue-signal.c: New file.
5976 * gdb.threads/queue-signal.exp: New file.
5978 2014-09-13 Doug Evans <xdje42@gmail.com>
5980 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5981 be consistent with what default_gdb_init uses.
5982 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5983 the plain text of the prompt. Add some logging printfs.
5984 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5986 2014-09-12 Pedro Alves <palves@redhat.com>
5988 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5989 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5990 * gdb.arch/i386-size-overlap.exp: Likewise.
5991 * gdb.arch/i386-size.exp: Likewise.
5992 * gdb.arch/i386-unwind.exp: Likewise.
5993 * gdb.base/a2-run.exp: Likewise.
5994 * gdb.base/break.exp: Likewise.
5995 * gdb.base/charset.exp: Likewise.
5996 * gdb.base/chng-syms.exp: Likewise.
5997 * gdb.base/commands.exp: Likewise.
5998 * gdb.base/dbx.exp: Likewise.
5999 * gdb.base/find.exp: Likewise.
6000 * gdb.base/funcargs.exp: Likewise.
6001 * gdb.base/jit-simple.exp: Likewise.
6002 * gdb.base/reread.exp: Likewise.
6003 * gdb.base/sepdebug.exp: Likewise.
6004 * gdb.base/step-bt.exp: Likewise.
6005 * gdb.cp/mb-inline.exp: Likewise.
6006 * gdb.cp/mb-templates.exp: Likewise.
6007 * gdb.objc/basicclass.exp: Likewise.
6008 * gdb.threads/killed.exp: Likewise.
6010 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6013 * gdb.arch/powerpc-stackless.S: New file.
6014 * gdb.arch/powerpc-stackless.exp: New file.
6016 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
6018 * gdb.base/attach.c: Include unistd.h.
6019 (main): Call alarm. Add label postloop.
6020 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
6021 gdb_breakpoint, gdb_continue_to_breakpoint.
6022 (test_command_line_attach_run): Kill ${testpid} in one exit path.
6024 2014-09-11 Pedro Alves <palves@redhat.com>
6027 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
6028 * gdb.base/attach.exp (test_command_line_attach_run): New
6030 (top level): Call it.
6032 2014-09-11 Pedro Alves <palves@redhat.com>
6034 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
6035 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
6036 (do_command_attach_tests): Use spawn_wait_for_attach.
6037 * gdb.base/solib-overlap.exp: Likewise.
6038 * gdb.multi/multi-attach.exp: Likewise.
6039 * gdb.python/py-prompt.exp: Likewise.
6040 * gdb.python/py-sync-interp.exp: Likewise.
6041 * gdb.server/ext-attach.exp: Likewise.
6043 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
6045 * gdb.fortran/array-element.exp: Remove unexpected "continue"
6046 command in testcase. Simplify testcase.
6048 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6050 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6052 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6054 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6056 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6058 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6060 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6062 * gdb.dwarf2/dynarr-ptr.c: New file.
6063 * gdb.dwarf2/dynarr-ptr.exp: New file.
6065 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6067 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6068 of 30 rather than hardcoding 120 for a slow test case. Take the
6069 `gdb,timeout' target setting into account for this calculation.
6070 Don't extend the timeout for the test cases that don't need it.
6072 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6074 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6075 a factor of 2 for a slow test case. Take the `gdb,timeout'
6076 target setting into account for this calculation.
6077 * gdb.reverse/until-precsave.exp: Increase the timeout by
6078 a factor of 15 and 3 respectively rather than adding 120
6079 for a pair of slow test cases. Take the `gdb,timeout'
6080 target setting into account for this calculation.
6082 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6084 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6085 timeout, don't pass one down to gdb_expect.
6086 (gdb_expect): Rework timeout selection.
6088 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6090 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6091 exception on timeout.
6092 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6093 (gdbserver_start_extended): Catch any `gdbserver_start' error
6095 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6096 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6097 `gdbserver_gdb_load' error exceptions.
6099 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6101 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6102 120 on waiting for the TCP socket to open.
6104 2014-09-09 Doug Evans <xdje42@gmail.com>
6106 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6107 _caller_matches, _any_caller_is, _any_caller_matches.
6109 2014-09-09 Doug Evans <xdje42@gmail.com>
6111 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6113 2014-09-09 Yao Qi <yao@codesourcery.com>
6115 * gdb.mi/mi-var-display.exp: Set print symbol off.
6117 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6120 * gdb.base/commands.exp: Add tests to verify user-defined
6121 commands with empty bodies.
6122 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6123 python commands in `show user command`.
6124 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6125 scheme commands in `show user command`.
6127 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6130 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6131 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6132 * gdb.python/py-framefilter-invalidarg.exp: New file.
6133 * gdb.python/py-framefilter-invalidarg.py: New file.
6135 2014-09-06 Doug Evans <xdje42@gmail.com>
6138 * gdb.python/py-caller-is.c: New file.
6139 * gdb.python/py-caller-is.exp: New file.
6141 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6144 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6145 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6147 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6150 * gdb.fortran/print-formatted.exp: New file.
6151 * gdb.fortran/print-formatted.f90: Likewise.
6153 2014-09-03 Sasha Smundak <asmundak@google.com>
6155 * gdb.python/py-frame.exp: Test Frame.read_register.
6157 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6160 * gdb.python/py-completion.exp: New file.
6161 * gdb.python/py-completion.py: Likewise.
6163 2014-08-28 Doug Evans <dje@google.com>
6165 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6166 eax,etc. are live with values set by gdb and thus the compiler can't
6168 * gdb.arch/i386-pseudo.c (main): Ditto.
6170 2014-08-27 Doug Evans <dje@google.com>
6172 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6174 2014-08-25 Doug Evans <dje@google.com>
6176 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6179 2014-08-25 Doug Evans <dje@google.com>
6181 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6183 2014-08-24 Yao Qi <yao@codesourcery.com>
6185 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6187 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6189 2014-08-22 Doug Evans <dje@google.com>
6192 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6193 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6194 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6196 2014-08-22 Yao Qi <yao@codesourcery.com>
6198 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6199 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6200 * gdb.python/python.exp: Likewise. Use .py file on the host
6201 instead of the build.
6203 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6205 * gdb.threads/gcore-stale-thread.c: New file.
6206 * gdb.threads/gcore-stale-thread.exp: New file.
6208 2014-08-21 Pedro Alves <palves@redhat.com>
6210 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6211 * gdb.base/gcore-relro-pie.exp: Likewise.
6212 * gdb.base/gcore-relro.exp: Likewise.
6213 * gdb.base/gcore.exp: Likewise.
6214 * gdb.base/print-symbol-loading.exp: Likewise.
6215 * gdb.threads/gcore-thread.exp: Likewise.
6216 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6218 2014-08-20 Pedro Alves <palves@redhat.com>
6219 Jan Kratochvil <jan.kratochvil@redhat.com>
6221 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6223 (EXPECT): Handle READ1 being set.
6224 (all): Depend on EXTRA_RULES.
6225 (check-read1, expect-read1, read1.so, read1): New rules.
6226 * README (Testsuite Parameters): Document the READ1 make variable.
6227 (Race detection): New section.
6228 * configure: Regenerate.
6229 * configure.ac: If build==host==target, and running under a
6230 GNU/glibc system, add read1 to the extra Makefile rules.
6231 (EXTRA_RULES): AC_SUBST it.
6232 * lib/read1.c: New file.
6234 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6236 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6237 the handling of variables declared as a typedef to an array
6238 which a DW_AT_data_location attribute.
6240 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6241 Pedro Alves <palves@redhat.com>
6245 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6248 2014-08-19 Pedro Alves <palves@redhat.com>
6250 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6252 2014-08-19 Yao Qi <yao@codesourcery.com>
6254 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6257 2014-08-18 David Blaikie <dblaikie@gmail.com>
6259 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6261 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6263 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6264 attribute in array range.
6266 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6268 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6270 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6273 * gdb.cp/pr17132.cc: New file.
6274 * gdb.cp/pr17132.exp: New file.
6276 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6278 * gdb.python/py-xmethods.py (A_getarrayind)
6279 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6280 Use 'print' with function call syntax.
6281 (E_method_matcher.match): Fix tab vs space indentation mixup.
6283 2014-08-15 Yao Qi <yao@codesourcery.com>
6285 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6288 2014-08-15 Yao Qi <yao@codesourcery.com>
6290 * gdb.cp/casts.exp: Set print symbol off.
6291 * gdb.cp/class2.exp: Likewise.
6292 * gdb.cp/overload.exp: Likewise.
6293 * gdb.cp/templates.exp: Likewise.
6295 2014-08-11 Doug Evans <dje@google.com>
6297 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6298 (test_load_shlib): Update.
6300 2014-08-09 Yao Qi <yao@codesourcery.com>
6302 * gdb.base/display.exp: Invoke is_address_zero_readable.
6303 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6304 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6305 * gdb.base/hbreak-unmapped.exp: Return if
6306 is_address_zero_readable returns true.
6307 * gdb.base/signest.exp: Likewise.
6308 * gdb.base/signull.exp: Likewise.
6309 * gdb.base/sigbpt.exp: Likewise.
6310 * gdb.guile/scm-disasm.exp: Do the test if
6311 is_address_zero_readable returns false.
6312 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6313 * gdb.python/py-arch.exp: Likewise.
6314 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6315 * lib/gdb.exp (is_address_zero_readable): New proc.
6317 2014-08-09 Yao Qi <yao@codesourcery.com>
6320 * gdb.mi/mi-var-display.exp: Make test messages unique.
6322 2014-08-04 Tom Tromey <tromey@redhat.com>
6324 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6327 2014-08-04 Tom Tromey <tromey@redhat.com>
6329 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6332 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6334 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6335 inner_vla_struct_object_size.
6336 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6339 2014-07-30 Pedro Alves <palves@redhat.com>
6341 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6344 2014-07-29 Yao Qi <yao@codesourcery.com>
6347 * gdb.base/until-nodebug.exp: New.
6349 2014-07-28 Doug Evans <xdje42@gmail.com>
6352 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6353 previously existing parameter, and previously ambiguously spelled
6356 2014-07-28 Will Newton <will.newton@linaro.org>
6358 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6360 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6361 Doug Evans <xdje42@gmail.com>
6364 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6366 2014-07-25 Pedro Alves <palves@redhat.com>
6368 * gdb.threads/signal-command-handle-nopass.c: New file.
6369 * gdb.threads/signal-command-handle-nopass.exp: New file.
6370 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6371 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6372 * gdb.threads/signal-delivered-right-thread.c: New file.
6373 * gdb.threads/signal-delivered-right-thread.exp: New file.
6375 2014-07-25 Pedro Alves <palves@redhat.com>
6377 * gdb.base/double-prompt-target-event-error.exp
6378 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6380 (cancel_pagination_in_target_event): Rework double prompt
6382 * gdb.base/paginate-after-ctrl-c-running.exp
6383 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6385 * gdb.base/paginate-bg-execution.exp
6386 (test_bg_execution_pagination_return)
6387 (test_bg_execution_pagination_cancel): Remove '-notransfer
6389 * gdb.base/paginate-execution-startup.exp
6390 (test_fg_execution_pagination_return)
6391 (test_fg_execution_pagination_cancel): Remove '-notransfer
6393 * gdb.base/paginate-inferior-exit.exp
6394 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6396 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6397 * lib/gdb.exp (pagination_prompt): Run text through
6399 (gdb_test_multiple): Match $pagination_prompt instead of
6401 (string_to_regexp): Move to lib/gdb-utils.exp.
6403 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6405 * gdb.arch/amd64-entry-value-paramref.S: New file.
6406 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6407 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6408 * gdb.arch/amd64-optimout-repeat.S: New file.
6409 * gdb.arch/amd64-optimout-repeat.c: New file.
6410 * gdb.arch/amd64-optimout-repeat.exp: New file.
6412 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6415 * gdb.base/statistics.exp: New file.
6417 2014-07-17 Doug Evans <dje@google.com>
6420 * gdb.base/maint.exp: Update testing of per-command stats.
6422 2014-07-16 Pedro Alves <palves@redhat.com>
6424 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6425 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6426 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6427 (tfile_write_buf): New functions.
6428 (add_memory_block): Rewrite using the above.
6429 (adjust_function_address): New function.
6430 (FUNCTION_ADDRESS): New macro.
6431 (write_basic_trace_file): Remove short_x local, and use
6432 tfile_write_16. Change type of func_addr local to unsigned long
6433 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6434 here. Cast argument of add_memory_block to char pointer.
6435 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6436 (main): Remove parameters.
6437 * gdb.trace/tfile.exp: Remove nowarnings.
6439 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6441 * gdb.base/debug-expr.exp: Test string evaluation with
6442 "debug expression" on.
6444 2014-07-15 Pedro Alves <palves@redhat.com>
6446 * gdb.base/reread.exp: Use clean_restart.
6448 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6450 * gdb.arch/avr-flash-qualifer.c: New.
6451 * gdb.arch/avr-flash-qualifer.exp: New.
6453 2014-07-14 Pedro Alves <palves@redhat.com>
6455 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6456 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6458 2014-07-14 Pedro Alves <palves@redhat.com>
6460 * gdb.base/double-prompt-target-event-error.c: New file.
6461 * gdb.base/double-prompt-target-event-error.exp: New file.
6463 2014-07-14 Pedro Alves <palves@redhat.com>
6466 * gdb.base/paginate-inferior-exit.c: New file.
6467 * gdb.base/paginate-inferior-exit.exp: New file.
6469 2014-07-14 Pedro Alves <palves@redhat.com>
6472 * gdb.base/paginate-bg-execution.c: New file.
6473 * gdb.base/paginate-bg-execution.exp: New file.
6475 2014-07-14 Pedro Alves <palves@redhat.com>
6478 * gdb.base/paginate-execution-startup.c: New file.
6479 * gdb.base/paginate-execution-startup.exp: New file.
6480 * lib/gdb.exp (pagination_prompt): New global.
6481 (default_gdb_spawn): New procedure, factored out from
6483 (default_gdb_start): Adjust to call default_gdb_spawn.
6484 (gdb_spawn): New procedure.
6486 2014-07-14 Pedro Alves <palves@redhat.com>
6488 * lib/gdb.exp (gdb_assert): New procedure.
6489 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6491 2014-07-14 Pedro Alves <palves@redhat.com>
6493 * gdb.base/execution-termios.c: New file.
6494 * gdb.base/execution-termios.exp: New file.
6496 2014-07-14 Tom Tromey <tromey@redhat.com>
6498 * gdb.cp/vla-cxx.cc: New file.
6499 * gdb.cp/vla-cxx.exp: New file.
6501 2014-07-14 Tom Tromey <tromey@redhat.com>
6503 * gdb.reverse/rerun-prec.c: New file.
6504 * gdb.reverse/rerun-prec.exp: New file.
6506 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6507 Maciej W. Rozycki <macro@codesourcery.com>
6509 * lib/gdb-utils.exp: New file.
6510 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6511 inline `gdb_init_command' processing.
6512 (gdb_start_cmd): Likewise.
6513 * lib/mi-support.exp (mi_run_cmd): Likewise.
6514 * README: Document `gdb_init_command' and `gdb_init_commands'.
6516 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6518 Fix false FAIL running under a very long directory name.
6519 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6520 and "set print elements 10000". Twice.
6522 2014-07-11 Yao Qi <yao@codesourcery.com>
6524 * gdb.base/exprs.exp: "set print symbol off".
6526 2014-07-11 Pedro Alves <palves@redhat.com>
6528 * gdb.threads/kill.c: New file.
6529 * gdb.threads/kill.exp: New file.
6531 2014-07-10 Yao Qi <yao@codesourcery.com>
6533 * gdb.trace/tfile.c (write_basic_trace_file)
6534 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6535 address written to trace file.
6537 2014-07-09 Pedro Alves <palves@redhat.com>
6539 * gdb.base/attach-wait-input.exp: New file.
6540 * gdb.base/attach-wait-input.c: New file.
6542 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6544 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6545 setting up test structures.
6546 (main): Call new test function.
6547 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6548 test function, continue into test function and walk test
6551 2014-07-02 Yao Qi <yao@codesourcery.com>
6553 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6554 'bar_start' at the beginning of functions 'foo' and 'bar'
6556 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6557 instead of 'foo' and 'bar'.
6559 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6561 * gdb.btrace/segv.exp: New.
6562 * gdb.btrace/segv.c: New.
6564 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6566 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6569 2014-06-30 Mark Wielaard <mjw@redhat.com>
6571 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6572 vulture, vilify, villar): New volatile array constants.
6573 (vindictive, vegetation): New const volatile array constants.
6574 * gdb.base/volatile.exp: Test volatile and const volatile array
6577 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6579 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6580 target lacks support for awatch, rwatch, or hbreak.
6582 2014-06-27 Yao Qi <yao@codesourcery.com>
6584 * gdb.multi/dummy-frame-restore.exp: New.
6585 * gdb.multi/dummy-frame-restore.c: New.
6587 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6589 * gdb.btrace/gcore.exp: New.
6591 2014-06-23 Pedro Alves <palves@redhat.com>
6593 * gdb.base/watchpoint-reuse-slot.c: New file.
6594 * gdb.base/watchpoint-reuse-slot.exp: New file.
6596 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6598 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6599 progspace's filename in 'info', 'enable' and 'disable' command
6602 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6604 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6605 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6606 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6608 2014-06-20 Gary Benson <gbenson@redhat.com>
6610 * gdb.arch/i386-avx.exp: Fix include file location.
6611 * gdb.arch/i386-sse.exp: Likewise.
6613 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6615 * gdb.dlang/expression.exp: New file.
6617 2014-06-19 Pedro Alves <palves@redhat.com>
6619 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6621 (top level): ... here. Iterate running tests under different
6622 scheduler-locking settings.
6624 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6626 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6627 to DW_FORM_addr and use non-zero addresses.
6629 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6632 * gdb.python/py-xmethods.cc: Add global function call counters and
6633 increment them in their respective functions. Remove "cout"
6635 * gdb.python/py-xmethods.exp: Make tests check the global function
6636 call counters instead of depending on inferior IO.
6638 2014-06-18 Don Breazeal <donb@codesourcery.com>
6640 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6642 (explicit_fork_parent_follow): Deleted procedure.
6643 (explicit_fork_child_follow): Deleted procedure.
6644 (test_follow_fork): New procedure.
6645 (do_fork_tests): Replace calls to deleted procedures with
6646 calls to test_follow_fork and reset GDB for subsequent
6649 2014-06-17 Yao Qi <yao@codesourcery.com>
6651 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6654 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6656 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6657 Initialize ptr and S explicitly.
6658 (skip_type_update_when_not_use_rtti_test): Likewise.
6660 2014-06-16 Keith Seitz <keiths@redhat.com>
6663 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6664 the inferior is started.
6666 2014-06-16 Pedro Alves <palves@redhat.com>
6668 * gdb.base/break-main-file-remove-fail.c: New file.
6669 * gdb.base/break-main-file-remove-fail.exp: New file.
6670 * gdb.base/break-unload-file.exp: Use build_executable instead of
6671 prepare_for_testing.
6672 (test_break): New parameter "initial_load". Handle it.
6673 (top level): Add initial_load cmdline/file axis.
6675 2014-06-12 Tom Tromey <tromey@redhat.com>
6677 * gdb.base/completion.exp: Don't use directory name in test.
6679 2014-06-09 Gary Benson <gbenson@redhat.com>
6681 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6682 separate the always-available ANSI-standard signals from the
6683 signals that require checking.
6685 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6689 2014-06-07 Keith Seitz <keiths@redhat.com>
6693 * gdb.cp/var-tag.cc: New file.
6694 * gdb.cp/var-tag.exp: New file.
6695 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6696 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6697 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6698 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6700 2014-06-06 Doug Evans <xdje42@gmail.com>
6702 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6704 2014-06-06 Pedro Alves <palves@redhat.com>
6706 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6707 in target debug output instead of looking at RSP packets,
6708 disabling the test on any target that uses hardware stepping.
6711 2014-06-06 Pedro Alves <palves@redhat.com>
6713 * gdb.base/break-unload-file.exp: Fix typo.
6715 2014-06-06 Yao Qi <yao@codesourcery.com>
6717 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6718 from "jit_function" to "^jit_function".
6720 2014-06-06 Yao Qi <yao@codesourcery.com>
6722 * gdb.base/async.c (foo): Add one statement.
6723 * gdb.base/async.exp: Get the next instruction address and
6724 match the output of "nexti" by instruction address. Match
6725 the hex address in the output of "finish".
6727 2014-06-06 Gary Benson <gbenson@redhat.com>
6729 * gdb.base/call-signals.c: Remove preprocessor conditionals
6730 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6731 SIGSEGV and SIGTERM.
6732 * gdb.base/sigall.c: Likewise.
6733 * gdb.base/unwindonsignal.c: Likewise.
6734 * gdb.reverse/sigall-reverse.c: Likewise.
6736 2014-06-06 Yao Qi <yao@codesourcery.com>
6738 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6739 readable, skip the test.
6741 2014-06-06 Yao Qi <yao@codesourcery.com>
6743 * gdb.threads/staticthreads.c (thread_function): Move the line
6744 setting breakpoint on forward.
6745 * gdb.threads/staticthreads.exp: Update comments.
6747 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6749 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6750 "history-append! type error".
6752 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6754 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6755 erroneous dprintf expected input.
6757 2014-06-04 Doug Evans <xdje42@gmail.com>
6759 * gdb.guile/scm-generics.exp: Delete.
6761 2014-06-04 Doug Evans <xdje42@gmail.com>
6763 * gdb.guile/scm-breakpoint.exp: Update.
6764 Add tests for breakpoint registration.
6766 2014-06-04 Tom Tromey <tromey@redhat.com>
6768 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6770 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6771 inner_vla_struct, vla_union types. Initialize objects of those
6772 types and compute their sizes.
6774 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6775 Hui Zhu <hui@codesourcery.com>
6777 * gdb.base/fileio.exp: Add test for shell not available as well as
6779 * gdb.base/fileio.c (test_system): Check for shell twice.
6781 2014-06-04 Yao Qi <yao@codesourcery.com>
6783 * gdb.base/auto-connect-native-target.exp: Remove redundant
6784 space from the regexp pattern.
6786 2014-06-04 Yao Qi <yao@codesourcery.com>
6788 * gdb.base/default.exp: Replace "child" with "native" in
6791 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6793 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6794 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6795 * gdb.python/py-xmethods.py: Python script supporting the
6796 new testcase and tests.
6798 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6799 Pedro Alves <palves@redhat.com>
6801 PR breakpoints/17000
6802 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6803 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6805 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6807 * gdb.base/subst.exp: Add tests to verify partial path matching
6810 2014-06-03 Pedro Alves <palves@redhat.com>
6812 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6813 target that doesn't use software single-stepping.
6815 2014-06-03 Pedro Alves <palves@redhat.com>
6817 PR breakpoints/17000
6818 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6819 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6821 2014-06-02 Doug Evans <xdje42@gmail.com>
6823 * gdb.guile/scm-parameter.exp: New file.
6825 2014-06-02 Doug Evans <xdje42@gmail.com>
6827 * gdb.guile/scm-cmd.c: New file.
6828 * gdb.guile/scm-cmd.exp: New file.
6830 2014-06-02 Doug Evans <xdje42@gmail.com>
6832 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6833 pretty-printer lookup.
6834 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6835 (make-pp_s-printer): Call it.
6836 (make-pretty-printer-from-dict): New function.
6837 (lookup-pretty-printer-maker-from-dict): New function.
6838 (*pretty-printer*): Simplify.
6839 (make-objfile-pp_s-printer): New function.
6840 (install-objfile-pretty-printers!): New function.
6841 (make-progspace-pp_s-printer): New function.
6842 (install-progspace-pretty-printers!): New function.
6843 * gdb.guile/scm-progspace.c: New file.
6844 * gdb.guile/scm-progspace.exp: New file.
6846 2014-06-02 Pedro Alves <palves@redhat.com>
6848 * gdb.base/dprintf-bp-same-addr.c: New file.
6849 * gdb.base/dprintf-bp-same-addr.exp: New file.
6851 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6853 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6854 * gdb.arch/powerpc-power.s: Likewise.
6856 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6858 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6860 2014-06-01 Yao Qi <yao@codesourcery.com>
6862 * gdb.base/watchpoint.exp (test_watch_location): Check null
6863 pointer can be dereferenced. If not, do the test, otherwise
6866 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6868 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6870 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6872 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6874 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6875 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6876 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6877 * gdb.arch/amd64-invalid-stack-top.c: New file.
6878 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6880 2014-05-30 Pedro Alves <palves@redhat.com>
6882 PR breakpoints/17000
6883 * gdb.base/sss-bp-on-user-bp.c: New file.
6884 * gdb.base/sss-bp-on-user-bp.exp: New file.
6886 2014-05-30 David Blaikie <dblaikie@gmail.com>
6888 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6889 gnu_inline semantics via attribute.
6890 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6891 source explicitly specifies the required semantics.
6893 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6895 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6897 2014-05-29 Pedro Alves <palves@redhat.com>
6898 Tom Tromey <tromey@redhat.com>
6900 * gdb.base/async-shell.exp: Don't enable target-async.
6901 * gdb.base/async.exp
6902 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6904 (top level): Don't test with "target-async".
6905 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6906 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6907 * gdb.base/inferior-died.exp: Don't enable target-async.
6908 * gdb.base/interrupt-noterm.exp: Likewise.
6909 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6910 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6911 * gdb.mi/mi-nonstop.exp: Likewise.
6912 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6913 * gdb.mi/mi-nsintrall.exp: Likewise.
6914 * gdb.mi/mi-nsmoribund.exp: Likewise.
6915 * gdb.mi/mi-nsthrexec.exp: Likewise.
6916 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6917 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6918 * gdb.python/py-evsignal.exp: Don't enable target-async.
6919 * gdb.python/py-evthreads.exp: Likewise.
6920 * gdb.python/py-prompt.exp: Likewise.
6921 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6922 * gdb.server/solib-list.exp: Don't enable target-async.
6923 * gdb.threads/thread-specific-bp.exp: Likewise.
6924 * lib/mi-support.exp: Adjust to use mi-async.
6926 2014-05-29 Pedro Alves <palves@redhat.com>
6929 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6930 reason, even in sync mode.
6932 2014-05-29 Pedro Alves <palves@redhat.com>
6933 Hui Zhu <hui@codesourcery.com>
6936 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6937 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6938 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6939 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6941 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6943 * config/monitor.exp (gdb_target_monitor): Replace use of
6944 "set remotebaud" by "set serial baud".
6946 2014-05-26 Andy Wingo <wingo@igalia.com>
6948 * gdb.guile/scm-breakpoint.exp:
6949 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6950 properties instead of gdb-object-properties.
6952 2014-05-26 Yao Qi <yao@codesourcery.com>
6954 * gdb.server/no-thread-db.exp: Specify source file name
6955 explicitly when setting a breakpoint.
6957 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6959 * gdb.btrace/vdso.c: New.
6960 * gdb.btrace/vdso.exp: New.
6962 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6964 * gdb.base/gcore.exp (capture_command_output): Move ...
6965 * lib/gdb.exp (capture_command_output): ... here.
6967 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6969 * gdb.btrace/data.exp: Test memory access during btrace replay.
6971 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6973 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6975 2014-05-21 Pedro Alves <palves@redhat.com>
6978 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6979 (top level): Test that output related to execution commands is
6980 sent to the console with CLI commands, but not with MI commands.
6981 Test that breakpoint events are always mirrored to the console.
6982 Also expect the new source line to be output after a "next" in
6983 async mode too. Make it a pass/fail test.
6984 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6986 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6988 2014-05-21 Pedro Alves <palves@redhat.com>
6990 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6991 Use them to test variations of "list" after reaching a breakpoint.
6992 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6993 Test "list" with listsize 10 after reaching a breakpoint.
6994 * gdb.python/python.exp (decode_line current location line
6995 number): Adjust expected line number.
6997 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6999 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
7000 behavior for $args, pass it directly to "run".
7002 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
7004 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
7007 2014-05-21 Pedro Alves <palves@redhat.com>
7009 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
7010 auto-connect-native-target off".
7011 * gdb.base/auto-connect-native-target.c: New file.
7012 * gdb.base/auto-connect-native-target.exp: New file.
7014 2014-05-21 Pedro Alves <palves@redhat.com>
7016 * gdb.base/default.exp: Test "target native" instead of "target
7019 2014-05-21 Mark Wielaard <mjw@redhat.com>
7021 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
7023 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
7025 Fix TLS access for -static -pthread.
7026 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
7027 <HAVE_TLS> (thread_function, main): Initialize it.
7028 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
7030 <$have_tls != "">: Check TLSVAR.
7032 2014-05-21 Pedro Alves <palves@redhat.com>
7034 * gdb.base/dcache-line-read-error.c: New.
7035 * gdb.base/dcache-line-read-error.exp: New.
7037 2014-05-20 Pedro Alves <palves@redhat.com>
7039 * gdb.base/compare-sections.c: New file.
7040 * gdb.base/compare-sections.exp: New file.
7042 2014-05-20 Pedro Alves <palves@redhat.com>
7044 * gdb.base/break-idempotent.c: New file.
7045 * gdb.base/break-idempotent.exp: New file.
7047 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
7049 * gdb.btrace/nohist.exp: New.
7051 2014-05-20 Yao Qi <yao@codesourcery.com>
7053 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7054 gdb.reverse directory and gdb_reverse_timeout exists in board
7056 * README: Document gdb_reverse_timeout.
7058 2014-05-20 Yao Qi <yao@codesourcery.com>
7060 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7061 'test_file_name'. Treat args as a string instead of a list.
7062 (gdb_init): Rename argument 'args' by 'test_file_name'.
7064 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7066 * gdb.arch/powerpc-power.exp: New file.
7067 * gdb.arch/powerpc-power.s: New file.
7069 2014-05-16 Doug Evans <dje@google.com>
7071 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7072 * gdb.base/completion.exp: Check that all expected files exist
7073 before doing file completion.
7075 2014-05-16 Doug Evans <dje@google.com>
7077 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7079 (do_syscall_tests_without_xml): Update.
7081 2014-05-16 Pedro Alves <palves@redhat.com>
7083 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7084 instead of "unknown output after running".
7086 2014-05-16 Yao Qi <yao@codesourcery.com>
7088 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7089 file1.txt from host at the end.
7090 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7092 2014-05-15 Doug Evans <dje@google.com>
7094 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7095 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7096 loading file. Add test for TU lookup.
7098 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7100 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7101 calling "-exec-arguments" or "set args" before running the
7104 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7106 * lib/mi-support.exp (mi_expect_stop): Expect message for
7107 inferiors that exit with non-zero exit code.
7109 2014-05-14 Yao Qi <yao@codesourcery.com>
7111 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7112 match absolute path on remote host.
7113 (test_file_list_exec_source_files): Remove "/" from the
7116 2014-05-14 Yao Qi <yao@codesourcery.com>
7118 * boards/local-remote-host-notty.exp (${board}_file): New
7121 2014-05-07 Kyle McMartin <kyle@redhat.com>
7123 Pushed by Joel Brobecker <brobecker@adacore.com>.
7124 * gdb.arch/aarch64-atomic-inst.c: New file.
7125 * gdb.arch/aarch64-atomic-inst.exp: New file.
7127 2014-05-07 Yao Qi <yao@codesourcery.com>
7129 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7130 in current context" too.
7132 2014-05-05 Keith Seitz <keiths@redhat.com>
7134 * gdb.linespec/ls-dollar.exp: Add test for linespec
7135 file:convenience_variable.
7137 2014-05-05 Yao Qi <yao@codesourcery.com>
7139 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7140 traceframes into tfile and ctf trace files. Read data from
7141 trace file and test collected data.
7142 (gdb_collect_locals_test): Likewise.
7143 (gdb_unavailable_registers_test): Likewise.
7144 (gdb_unavailable_floats): Likewise.
7145 (gdb_collect_globals_test): Likewise.
7146 (top-level): Append "ctf" to trace_file_targets if GDB
7149 2014-05-05 Yao Qi <yao@codesourcery.com>
7151 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7153 (gdb_collect_args_test_1): ... it. New proc.
7154 (gdb_collect_locals_test): Move some code to ...
7155 (gdb_collect_locals_test_1): ... it. New proc.
7156 (gdb_unavailable_registers_test): Move some code to ...
7157 (gdb_unavailable_registers_test_1): ... it. New proc.
7158 (gdb_unavailable_floats): Move some code to ...
7159 (gdb_unavailable_floats_1): ... it. New proc.
7161 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7163 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7164 probes to test for bitness recognition.
7165 * gdb.arch/amd64-stap-optional-prefix.exp
7166 (test_probe_value_without_reg): New procedure.
7167 Add code to test for different kinds of bitness.
7169 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7171 PR breakpoints/16889
7172 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7173 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7175 2014-05-01 Pedro Alves <palves@redhat.com>
7177 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7178 gdb_file_cmd if no file is specified.
7179 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7180 last_loaded_file to set the remote exec-file.
7182 2014-05-01 Pedro Alves <palves@redhat.com>
7184 * boards/local-remote-host.exp: New file.
7186 2014-05-01 Pedro Alves <palves@redhat.com>
7188 * boards/local-remote-host.exp: Rename to ...
7189 * boards/local-remote-host-notty.exp: ... this.
7191 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7193 * gdb.ada/dyn_arrayidx: New testcase.
7195 2014-04-26 Yao Qi <yao@codesourcery.com>
7197 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7198 and compute the length of function main. Save it in
7200 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7201 (top-level): Use gdb_compile to compile objects into
7202 executable and restart GDB. Remove invocation to
7203 prepare_for_testing.
7205 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7206 Pedro Alves <palves@redhat.com>
7209 * gdb.multi/multi-attach.c: New file.
7210 * gdb.multi/multi-attach.exp: New file.
7212 2014-04-25 Pedro Alves <palves@redhat.com>
7214 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7216 (top level): Test that "set remote conditional-breakpoints-packet
7217 off" works as intended.
7218 * gdb.base/dprintf.exp: Test that "set remote
7219 breakpoint-commands-packet off" works as intended.
7220 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7222 (top level): Call it.
7223 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7224 remote fast-tracepoints-packet off" works as intended.
7225 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7226 * lib/gdb.exp (gdb_is_target_remote): ... here.
7228 2014-04-24 David Blaikie <dblaikie@gmail.com>
7230 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7231 ensure clang would not discard them.
7232 * gdb.base/gdbvars.c: Ditto.
7233 * gdb.base/memattr.c: Ditto.
7234 * gdb.base/whatis.c: Ditto.
7235 * gdb.python/py-prettyprint.c: Ditto.
7236 * gdb.trace/actions.c: Ditto.
7237 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7238 ensure clang would not discard it.
7240 2014-04-24 David Blaikie <dblaikie@gmail.com>
7242 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7243 clang to emit the full definition of type required by the test
7244 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7246 2014-04-24 David Blaikie <dblaikie@gmail.com>
7248 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7249 coax Clang into emitting the definition of the type.
7250 * gdb.cp/pr10728-x.h (y): Ditto.
7251 * gdb.cp/pr10728-y.cc (y): Ditto.
7253 2014-04-24 David Blaikie <dblaikie@gmail.com>
7255 * gdb.base/label.exp: XFAIL label related tests under Clang.
7256 * gdb.cp/cplabel.exp: Ditto.
7257 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7258 under Clang those using labels.
7260 2014-04-25 Yao Qi <yao@codesourcery.com>
7262 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7264 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7265 partial_label and double_label.
7267 2014-04-24 David Blaikie <dblaikie@gmail.com>
7269 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7271 2014-04-24 David Blaikie <dblaikie@gmail.com>
7273 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7274 of the function to work across GCC and Clang.
7275 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7276 pointer types (const void ** const V void **).
7278 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7279 Walfred Tedeschi <walfred.tedeschi@intel.com>
7281 * Makefile.in (EXECUTABLES): Added i386-avx512.
7282 * gdb.arch/i386-avx512.c: New file.
7283 * gdb.arch/i386-avx512.exp: Likewise.
7285 2014-04-23 Keith Seitz <keiths@redhat.com>
7287 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7288 (mi_make_breakpoint_table): New procedure.
7289 (mi_create_breakpoint): Use mi_make_breakpoint
7290 and return the result.
7291 (mi_make_breakpoint): New procedure.
7292 (mi_build_kv_pairs): New procedure.
7294 * gdb.mi/mi-break.exp: Remove unused globals,
7295 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7296 All callers updated.
7297 * gdb.mi/mi-dprintf.exp: Use variable to track command
7299 Update all callers of mi_create_breakpoint and use
7300 mi_make_breakpoint_table.
7301 Remove any unused global variables.
7302 * gdb.mi/mi-nonstop.exp: Likewise.
7303 * gdb.mi/mi-nsintrall.exp: Likewise.
7304 * gdb.mi/mi-nsmoribund.exp: Likewise.
7305 * gdb.mi/mi-nsthrexec.exp: Likewise.
7306 * gdb.mi/mi-reverse.exp: Likewise.
7307 * gdb.mi/mi-simplerun.exp: Likewise.
7308 * gdb.mi/mi-stepn.exp: Likewise.
7309 * gdb.mi/mi-syn-frame.exp: Likewise.
7310 * gdb.mi/mi-until.exp: Likewise.
7311 * gdb.mi/mi-var-cp.exp: Likewise.
7312 * gdb.mi/mi-var-display.exp: Likewise.
7313 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7314 * gdb.mi/mi2-var-child.exp: Likewise.
7315 * gdb.mi/mi-vla-c99.exp: Likewise.
7316 * lib/mi-support.exp: Likewise.
7318 From Ian Lance Taylor <iant@cygnus.com>:
7319 * lib/gdb.exp (parse_args): New procedure.
7321 2014-04-23 Pedro Alves <palves@redhat.com>
7323 * gdb.base/break-unload-file.c: New file.
7324 * gdb.base/break-unload-file.exp: New file.
7325 * gdb.base/sym-file-lib.c (baz): New function.
7326 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7328 (load): Store the segment's mapped size.
7329 (unload): New function.
7330 (unload_shlib): New function.
7331 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7332 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7333 set a breakpoint at baz, and call it.
7334 * gdb.base/sym-file.exp: New tests for stale breakpoint
7337 2014-04-23 Pedro Alves <palves@redhat.com>
7339 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7340 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7341 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7342 * gdb.base/hbreak-unmapped.c: New file.
7343 * gdb.base/hbreak-unmapped.exp: New file.
7344 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7345 * lib/gdb.exp (gdb_is_target_remote): ... here.
7347 2014-04-22 Pedro Alves <palves@redhat.com>
7349 * gdb.base/consecutive-step-over.c: New file.
7350 * gdb.base/consecutive-step-over.exp: New file.
7352 2014-04-22 Pedro Alves <palves@redhat.com>
7354 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7355 instead of send_gdb/gdb_expect.
7357 2014-04-22 Yao Qi <yao@codesourcery.com>
7359 * lib/trace-support.exp (generate_tracefile): New procedure.
7360 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7362 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7363 if generate_tracefile returns 1.
7365 2014-04-18 Tom Tromey <palves@redhat.com>
7366 Pedro alves <tromey@redhat.com>
7369 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7370 with a backtrace limit.
7371 * gdb.python/py-frame-inline.exp: Test running to an inline
7372 function with a backtrace limit, and printing the newest frame.
7373 * gdb.python/py-frame-inline.c (main): Call f.
7375 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7377 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7379 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7381 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7382 Drop prefix from unsupported source file path.
7384 2014-04-17 Yao Qi <yao@codesourcery.com>
7386 * lib/gdb.exp (with_target_charset): New proc.
7387 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7388 with_target_charset.
7389 (test_print_strings): Likewise.
7390 (test_repeat_bytes): Likewise.
7391 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7394 2014-04-16 Keith Seitz <keiths@redhat.com>
7397 * gdb.dwarf2/corrupt.c: New file.
7398 * gdb.dwarf2/corrupt.exp: New file.
7400 2014-04-16 Keith Seitz <keiths@redhat.com>
7403 * gdb.cp/namelessclass.cc: New file.
7404 * gdb.cp/namelessclass.exp: New file.
7405 * gdb.cp/namelessclass.S: New file.
7407 2014-04-16 Doug Evans <dje@google.com>
7409 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7411 (gdbserver_default_get_comm_port): New function.
7412 (gdbserver_start): Check if board file provided
7413 "gdbserver,get_comm_port" and use it if so.
7414 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7415 (gdb,socketport): Set to "stdio".
7416 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7417 (stdio_gdbserver_template): Delete.
7418 (${board}_get_remote_address): Update.
7419 (${board}_build_remote_cmd): Delete.
7420 (${board}_get_comm_port): New function.
7421 (${board}_spawn): Update.
7422 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7424 (${board}_get_remote_address): Update.
7425 (${board}_get_comm_port): New function.
7427 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7429 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7430 appearing in any order.
7432 2014-04-15 Doug Evans <dje@google.com>
7434 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7435 uninitialized value of "description".
7437 2014-04-15 Keith Seitz <keiths@redhat.com>
7439 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7440 Remove unused globals.
7441 (test_running_the_program): Likewise.
7442 (test_controlled_execution): Likewise.
7443 (test_controlling_breakpoints): Likewise.
7444 (test_program_termination): Likewise.
7446 2014-04-15 Keith Seitz <keiths@redhat.com>
7448 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7450 (test_rbreak_creation_and_listing): Likewise.
7451 (test_ignore_count): Likewise.
7452 (test_error): Likewise.
7454 2014-04-15 Pedro Alves <palves@redhat.com>
7456 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7457 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7459 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7460 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7461 to sym-file-loader.c.
7462 (struct library): Forward declare.
7463 (load_shlib, lookup_function): Change prototypes.
7464 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7465 (translate_offset): Remove declarations.
7466 (get_text_addr): New declaration.
7467 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7468 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7470 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7471 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7472 here from sym-file-loader.h.
7473 (struct library): New structure.
7474 (load_shlib, lookup_function): Change prototypes and adjust to
7475 work with a struct library.
7476 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7477 (translate_offset): Make static.
7478 (get_text_addr): New function.
7479 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7481 2014-04-15 Pedro Alves <palves@redhat.com>
7483 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7485 2014-04-15 Pedro Alves <palves@redhat.com>
7487 * gdb.base/sym-file-loader.c: Include <limits.h>.
7488 (SELF_LINK): New define.
7489 (get_origin): New function.
7490 (load_shlib): Use it.
7491 * gdb.base/sym-file.exp: Don't early return if the target is
7492 remote. Use runto_main, and issue fail is that fails. Use
7494 (shlib_name): Delete.
7495 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7497 2014-04-15 Pedro Alves <palves@redhat.com>
7499 * gdb.base/sym-file.exp: Remove regex characters from test
7500 message. Don't refer to breakpoint numbers in test messages.
7502 2014-04-14 Keith Seitz <keiths@redhat.com>
7505 * gdb.cp/var-tag.cc: New file.
7506 * gdb.cp/var-tag.exp: New file.
7507 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7508 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7509 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7510 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7512 2014-04-14 Tom Tromey <tromey@redhat.com>
7514 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7515 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7517 * gdb.cp/enum-class.exp: New file.
7518 * gdb.cp/enum-class.cc: New file.
7520 2014-04-14 Tom Tromey <tromey@redhat.com>
7522 * gdb.dwarf2/enum-type.exp: New file.
7524 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7526 * gdb.mi/mi-vla-c99.exp: New file.
7527 * gdb.mi/vla.c: New file.
7529 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7531 * gdb.base/vla-datatypes.c: New file.
7532 * gdb.base/vla-datatypes.exp: New file.
7534 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7536 * gdb.base/vla-ptr.c: New file.
7537 * gdb.base/vla-ptr.exp: New file.
7539 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7541 * gdb.dwarf2/count.exp: New file.
7543 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7545 * gdb.base/vla-sideeffect.c: New file.
7546 * gdb.base/vla-sideeffect.exp: New file.
7548 2014-04-14 David Blaikie <dblaikie@gmail.com>
7550 * gdb.mi/non-stop.c: Add return value for non-void function return
7552 * gdb.threads/staticthreads.c: Ditto.
7554 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7555 Doug Evans <xdje42@gmail.com>
7557 * gdb.guile/scm-value.c: Improve test case.
7558 * gdb.guile/scm-value.exp: Add new test.
7560 2014-04-11 David Blaikie <dblaikie@gmail.com>
7562 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7563 override Clang's default.
7565 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7567 Revert the following changes (regressions):
7569 * gdb.base/vla-sideeffect.c: New file.
7570 * gdb.base/vla-sideeffect.exp: New file.
7572 * gdb.dwarf2/count.exp: New file.
7574 * gdb.base/vla-multi.c: New file.
7575 * gdb.base/vla-multi.exp: New file.
7577 * gdb.base/vla-ptr.c: New file.
7578 * gdb.base/vla-ptr.exp: New file.
7580 * gdb.base/vla-datatypes.c: New file.
7581 * gdb.base/vla-datatypes.exp: New file.
7583 * gdb.mi/mi-vla-c99.exp: New file.
7584 * gdb.mi/vla.c: New file.
7586 2014-04-11 Keith Seitz <keiths@redhat.com>
7589 * gdb.cp/cpsizeof.exp: New file.
7590 * gdb.cp/cpsizeof.cc: New file.
7592 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7594 * gdb.mi/mi-vla-c99.exp: New file.
7595 * gdb.mi/vla.c: New file.
7597 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7599 * gdb.base/vla-datatypes.c: New file.
7600 * gdb.base/vla-datatypes.exp: New file.
7602 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7604 * gdb.base/vla-ptr.c: New file.
7605 * gdb.base/vla-ptr.exp: New file.
7607 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7609 * gdb.base/vla-multi.c: New file.
7610 * gdb.base/vla-multi.exp: New file.
7612 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7614 * gdb.dwarf2/count.exp: New file.
7616 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7618 * gdb.base/vla-sideeffect.c: New file.
7619 * gdb.base/vla-sideeffect.exp: New file.
7621 2014-04-11 Yao Qi <yao@codesourcery.com>
7623 * gdb.base/completion.exp: Check file exists before running tests
7626 2014-04-10 Pedro Alves <palves@redhat.com>
7628 * gdb.base/cond-eval-mode.c: New file.
7629 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7630 prepare_for_testing to build the new file. Check result of
7632 (test_break, test_watch): New procedures.
7633 (top level): Use them.
7635 2014-04-08 Pierre Muller <muller@sourceware.org>
7637 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7638 Ctrl-V use for mingw hosts.
7640 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7642 * gdb.python/py-value.c: Improve test case.
7643 * gdb.python/py-value.exp: Add new test.
7645 2014-04-07 David Blaikie <dblaikie@gmail.com>
7647 * lib/compiler.c: Identify the clang compiler.
7648 * lib/compiler.cc: Ditto.
7650 2014-04-03 Yao Qi <yao@codesourcery.com>
7652 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7654 2014-04-01 Anton Blanchard <anton@samba.org>
7656 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7659 2014-04-01 Anton Blanchard <anton@samba.org>
7661 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7662 prepare_for_testing.
7664 2014-04-01 Anton Blanchard <anton@samba.org>
7666 * gdb.arch/ppc64-atomic-inst.c: Remove.
7667 * gdb.arch/ppc64-atomic-inst.S: New file.
7668 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7670 2014-03-31 Doug Evans <dje@google.com>
7672 * gdb.base/print-symbol-loading-lib.c: New file.
7673 * gdb.base/print-symbol-loading-main.c: New file.
7674 * gdb.base/print-symbol-loading.exp: New file.
7676 2014-03-31 Yao Qi <yao@codesourcery.com>
7678 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7680 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7682 * gdb.ada/mi_dyn_arr: New testcase.
7684 2014-03-27 Doug Evans <dje@google.com>
7686 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7688 2014-03-27 Yao Qi <yao@codesourcery.com>
7690 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7691 if target is nios2-*-*.
7693 2014-03-26 Yao Qi <yao@codesourcery.com>
7695 * lib/gdb.exp (readline_is_used): New proc.
7696 * gdb.base/completion.exp: Move tests on command complete up.
7697 Skip the rest of tests if readline is not used.
7698 * gdb.ada/complete.exp: Skp the test if readline is not
7700 * gdb.base/filesym.exp: Likewise.
7701 * gdb.base/macscp.exp: Likewise.
7702 * gdb.base/readline-ask.exp: Likewise.
7703 * gdb.base/readline.exp: Likewise.
7704 * gdb.python/py-cmd.exp: Likewise.
7705 * gdb.trace/tfile.exp: Likewise.
7707 2014-03-26 Yao Qi <yao@codesourcery.com>
7709 * gdb.base/macscp.exp: Fix code format issues.
7711 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7713 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7714 * gdb.asm/powerpc64le.inc: New file.
7716 2014-03-25 Pedro Alves <palves@redhat.com>
7717 Doug Evans <dje@google.com>
7719 * gdb.base/source-execution.c: New file.
7720 * gdb.base/source-execution.exp: New file.
7721 * gdb.base/source-execution.gdb: New file.
7723 2014-03-24 Doug Evans <dje@google.com>
7725 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7728 2014-03-24 Hui Zhu <hui@codesourcery.com>
7729 Pedro Alves <palves@redhat.com>
7731 PR breakpoints/16101
7732 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7733 test pass/fail messages. Detect missing support for dprintf when
7734 breakpoints are actually inserted.
7735 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7736 breakpoints are actually inserted.
7737 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7740 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7742 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7744 2014-03-22 Doug Evans <xdje42@gmail.com>
7746 * gdb.python/python.exp (python not supported): Verify multi-line
7747 python command issues an error.
7748 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7749 guile command issues an error.
7751 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7753 * gdb.threads/thread-specific.exp: Handle the lack of usable
7754 $this_breakpoint and $this_thread.
7756 2014-03-21 Hui Zhu <hui@codesourcery.com>
7758 * gdb.base/attach.exp (do_command_attach_tests): New.
7760 2014-03-20 Tom Tromey <tromey@redhat.com>
7761 Pedro Alves <palves@redhat.com>
7764 * gdb.base/condbreak-call-false.c: New file.
7765 * gdb.base/condbreak-call-false.exp: New file.
7767 2014-03-20 Pedro Alves <palves@redhat.com>
7769 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7771 (block_signals, unblock_signals): Delete.
7772 (child_function_2, main): Remove references to deleted variable
7775 2014-03-20 Pedro Alves <palves@redhat.com>
7777 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7778 Use pthread_kill to signal thread 2.
7779 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7780 Adjust to make the test send itself a signal rather than using the
7781 host's "kill" command.
7783 2014-03-20 Pedro Alves <palves@redhat.com>
7785 * gdb.threads/multiple-step-overs.c: New file.
7786 * gdb.threads/multiple-step-overs.exp: New file.
7787 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7788 Adjust expected infrun debug output.
7790 2014-03-20 Pedro Alves <palves@redhat.com>
7792 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7793 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7795 2014-03-20 Pedro Alves <palves@redhat.com>
7798 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7799 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7800 of gdb_test_multiple.
7801 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7802 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7804 2014-03-20 Pedro Alves <palves@redhat.com>
7806 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7807 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7809 2014-03-19 Pedro Alves <palves@redhat.com>
7811 * gdb.base/async.exp: Remove early return.
7813 2014-03-19 Pedro Alves <palves@redhat.com>
7815 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7817 2014-03-19 Pedro Alves <palves@redhat.com>
7819 * gdb.base/async.exp (test_background): Expect \r\n after
7820 "completed." in the fail pattern.
7822 2014-03-19 Pedro Alves <palves@redhat.com>
7824 * gdb.base/async.exp (test_background): New procedure.
7825 Use it for all background execution command tests.
7827 2014-03-19 Pedro Alves <palves@redhat.com>
7829 * gdb.base/async.exp: Use prepare_for_testing.
7831 2014-03-19 Pedro Alves <palves@redhat.com>
7833 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7836 2014-03-19 Pedro Alves <palves@redhat.com>
7838 * gdb.base/async.c (main): Add "jump here" and "until here" line
7840 * gdb.base/async.exp (jump_here): New global.
7841 (jump& test): Use it.
7842 (until_here): New global.
7843 (until& test): Use it.
7845 2014-03-19 Pedro Alves <palves@redhat.com>
7847 * gdb.base/async.exp: Don't frob gdb_protocol.
7849 2014-03-18 Doug Evans <xdje42@gmail.com>
7851 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7852 Fix spelling of exec-done-display.
7854 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7857 * gdb.base/gdb-sigterm.c: New file.
7858 * gdb.base/gdb-sigterm.exp: New file.
7860 2014-03-18 Pedro Alves <palves@redhat.com>
7863 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7864 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7867 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7869 * gdb.ada/pckd_arr_ren: New testcase.
7871 2014-03-13 Doug Evans <xdje42@gmail.com>
7874 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7875 collect after discarding symbols.
7877 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7878 Doug Evans <xdje42@gmail.com>
7880 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7881 to history survives a gc.
7883 2014-03-13 Pedro Alves <palves@redhat.com>
7885 * gdb.base/default.exp: Don't test "target procfs".
7887 2014-03-13 Pedro Alves <palves@redhat.com>
7889 * gdb.base/default.exp: Update "target child" and "target procfs"
7890 tests to not expect "Unix".
7892 2014-03-12 Tom Tromey <tromey@redhat.com>
7894 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7895 New procs. Add target-async tests.
7896 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7897 Add target-async tests.
7899 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7901 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7902 'func_start' and 'func_end' for the beginning and end of the
7903 function code, respectively.
7904 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7905 'func_end' instead of 'func' and 'main'.
7907 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7909 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7910 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7911 generate the debug info assembler source.
7913 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7915 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7916 * gdb.dwarf2/arr-subrange.exp: Likewise.
7917 * gdb.dwarf2/dwz.exp: Likewise.
7918 * gdb.dwarf2/method-ptr.exp: Likewise.
7919 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7920 * gdb.dwarf2/subrange.exp: Likewise.
7921 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7922 * gdb.dwarf2/implptrpiece.exp: Likewise.
7923 * gdb.dwarf2/nostaticblock.exp: Likewise.
7925 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7927 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7928 directory to absolute path name arguments.
7930 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7932 * gdb.ada/tagged_access: New testcase.
7934 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7936 * gdb.btrace/data.exp: Update expected output.
7938 2014-03-06 Yao Qi <yao@codesourcery.com>
7940 * gdb.trace/pr16508.exp: New file.
7942 2014-03-05 Pedro Alves <palves@redhat.com>
7945 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7947 (top level): Adjust to use it. Add tests that exercise breakpoint
7948 interaction with the code-cache.
7950 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7952 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7953 test for 'history-append!'.
7955 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7957 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7958 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7959 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7960 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7961 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7962 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7964 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7966 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7967 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7968 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7970 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7972 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7974 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7976 * gdb.dwarf2/arr-stride.c: New file.
7977 * gdb.dwarf2/arr-stride.exp: New file.
7979 2014-02-26 Pedro Alves <palves@redhat.com>
7981 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7982 that won't ever trigger. Make sure that GDB reports the correct
7983 breakpoint that caused the stop.
7985 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7988 * gdb.base/auto-load-script: New file.
7989 * gdb.base/auto-load.c: New file.
7990 * gdb.base/auto-load.exp: New file.
7993 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7995 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7997 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7998 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
8000 2014-02-24 Doug Evans <dje@google.com>
8002 * lib/gdb.exp (run_on_host): Log error output if program fails.
8004 2014-02-21 Pedro Alves <palves@redhat.com>
8006 * gdb.threads/step-after-sr-lock.c: Rename to ...
8007 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
8008 * gdb.threads/step-after-sr-lock.exp: Rename to ...
8009 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
8012 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
8015 * gdb.arch/amd64-stap-special-operands.exp: New file.
8016 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
8017 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
8018 * gdb.arch/amd64-stap-triplet.S: Likewise.
8019 * gdb.arch/amd64-stap-triplet.c: Likewise.
8021 2014-02-20 Joel Brobecker <brobecker@adacore.com>
8023 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
8024 in .section pseudo-op.
8026 2014-02-20 lin zuojian <manjian2006@gmail.com>
8027 Joel Brobecker <brobecker@adacore.com>
8028 Doug Evans <xdje42@gmail.com>
8031 * gdb.dwarf2/dw2-icycle.S: New file.
8032 * gdb.dwarf2/dw2-icycle.c: New file.
8033 * gdb.dwarf2/dw2-icycle.exp: New file.
8035 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
8037 * gdb.python/py-value-cc.cc: Improve test case to enable testing
8038 operations on gdb.Value objects.
8039 * gdb.python/py-value-cc.exp: Add new test to test operations on
8042 2014-02-18 Doug Evans <dje@google.com>
8044 * Makefile.in (TESTS): New variable.
8045 (expanded_tests, expanded_tests_or_none): New variables
8046 (check-single): Pass $(expanded_tests_or_none) to runtest.
8047 (check-parallel): Only run tests in $(TESTS) if non-empty.
8048 (check/no-matching-tests-found): New rule.
8049 * README: Document TESTS makefile variable.
8051 2014-02-18 Doug Evans <dje@google.com>
8053 * Makefile.in (check-parallel): rm -rf outputs temp.
8055 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8057 Fix "ERROR: no fileid for" in the testsuite.
8058 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8060 2014-02-12 Doug Evans <dje@google.com>
8062 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8063 (MISCELLANEOUS): New variable.
8064 (clean): rm -rf $(MISCELLANEOUS).
8065 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8066 dwp live in the same directory as symlinks, with each symlink pointed
8067 to a differently named file in a different directory.
8069 2014-02-11 Doug Evans <dje@google.com>
8071 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8072 of Tcl file commands.
8074 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8076 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8079 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8081 * gdb.ada/tick_length_array_enum_idx: New testcase.
8083 2014-02-10 Doug Evans <xdje42@gmail.com>
8085 * configure.ac (AC_OUTPUT): Add gdb.guile.
8086 * configure: Regenerate.
8087 * lib/gdb-guile.exp: New file.
8088 * lib/gdb.exp (get_target_charset): New function.
8089 * gdb.base/help.exp: Update expected output from "apropos apropos".
8090 * gdb.guile/Makefile.in: New file.
8091 * gdb.guile/guile.exp: New file.
8092 * gdb.guile/scm-arch.c: New file.
8093 * gdb.guile/scm-arch.exp: New file.
8094 * gdb.guile/scm-block.c: New file.
8095 * gdb.guile/scm-block.exp: New file.
8096 * gdb.guile/scm-breakpoint.c: New file.
8097 * gdb.guile/scm-breakpoint.exp: New file.
8098 * gdb.guile/scm-disasm.c: New file.
8099 * gdb.guile/scm-disasm.exp: New file.
8100 * gdb.guile/scm-equal.c: New file.
8101 * gdb.guile/scm-equal.exp: New file.
8102 * gdb.guile/scm-error.exp: New file.
8103 * gdb.guile/scm-error.scm: New file.
8104 * gdb.guile/scm-frame-args.c: New file.
8105 * gdb.guile/scm-frame-args.exp: New file.
8106 * gdb.guile/scm-frame-args.scm: New file.
8107 * gdb.guile/scm-frame-inline.c: New file.
8108 * gdb.guile/scm-frame-inline.exp: New file.
8109 * gdb.guile/scm-frame.c: New file.
8110 * gdb.guile/scm-frame.exp: New file.
8111 * gdb.guile/scm-generics.exp: New file.
8112 * gdb.guile/scm-gsmob.exp: New file.
8113 * gdb.guile/scm-iterator.c: New file.
8114 * gdb.guile/scm-iterator.exp: New file.
8115 * gdb.guile/scm-math.c: New file.
8116 * gdb.guile/scm-math.exp: New file.
8117 * gdb.guile/scm-objfile-script-gdb.in: New file.
8118 * gdb.guile/scm-objfile-script.c: New file.
8119 * gdb.guile/scm-objfile-script.exp: New file.
8120 * gdb.guile/scm-objfile.c: New file.
8121 * gdb.guile/scm-objfile.exp: New file.
8122 * gdb.guile/scm-ports.exp: New file.
8123 * gdb.guile/scm-pretty-print.c: New file.
8124 * gdb.guile/scm-pretty-print.exp: New file.
8125 * gdb.guile/scm-pretty-print.scm: New file.
8126 * gdb.guile/scm-section-script.c: New file.
8127 * gdb.guile/scm-section-script.exp: New file.
8128 * gdb.guile/scm-section-script.scm: New file.
8129 * gdb.guile/scm-symbol.c: New file.
8130 * gdb.guile/scm-symbol.exp: New file.
8131 * gdb.guile/scm-symtab-2.c: New file.
8132 * gdb.guile/scm-symtab.c: New file.
8133 * gdb.guile/scm-symtab.exp: New file.
8134 * gdb.guile/scm-type.c: New file.
8135 * gdb.guile/scm-type.exp: New file.
8136 * gdb.guile/scm-value-cc.cc: New file.
8137 * gdb.guile/scm-value-cc.exp: New file.
8138 * gdb.guile/scm-value.c: New file.
8139 * gdb.guile/scm-value.exp: New file.
8140 * gdb.guile/source2.scm: New file.
8141 * gdb.guile/types-module.cc: New file.
8142 * gdb.guile/types-module.exp: New file.
8144 2014-02-10 Yao Qi <yao@codesourcery.com>
8147 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8148 * configure: Regenerated.
8149 * Makefile.in: New file.
8151 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8153 * gdb.python/py-framefilter.exp: Fix typo.
8155 2014-02-08 Yao Qi <yao@codesourcery.com>
8157 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8158 that no =breakpoint-modified is emitted when breakpoints are
8159 modified through MI commands.
8161 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8162 Pedro Alves <palves@redhat.com>
8164 * gdb.threads/step-after-sr-lock.c: New file.
8165 * gdb.threads/step-after-sr-lock.exp: New file.
8167 2014-02-07 Pedro Alves <palves@redhat.com>
8169 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8171 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8173 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8174 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8176 2014-02-06 Doug Evans <xdje42@gmail.com>
8178 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8181 * gdb.gdb/python-interrupts.exp: New file.
8183 2014-02-05 Yao Qi <yao@codesourcery.com>
8185 * gdb.trace/report.exp (use_collected_data): Test the output
8186 of "info threads" and "info inferiors".
8188 2014-02-05 Yao Qi <yao@codesourcery.com>
8192 2013-05-24 Yao Qi <yao@codesourcery.com>
8194 * gdb.trace/tfile.exp: Test inferior and thread.
8196 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8198 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8200 * gdb.base/step-bt.c: Call hello via function pointer to make
8201 sure its first instruction is executed on powerpc64le-linux.
8203 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8205 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8207 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8209 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8210 of the test patterns for use on little-endian systems.
8212 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8214 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8215 (decimal_vector): Fix for little-endian.
8217 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8219 * gdb.arch/sparc-sysstep.exp: New file.
8220 * gdb.arch/sparc-sysstep.c: Likewise.
8222 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8224 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8226 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8228 2014-01-23 Tom Tromey <tromey@redhat.com>
8230 * gdb.ada/array_char_idx: New testcase.
8232 2014-01-23 Tom Tromey <tromey@redhat.com>
8235 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8236 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8239 2014-01-23 Tom Tromey <tromey@redhat.com>
8242 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8243 string from an inferior frame.
8244 * gdb.python/py-framefilter-mi.exp: Update.
8246 2014-01-22 Doug Evans <dje@google.com>
8248 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8250 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8252 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8254 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8256 * gdb.trace/entry-values.exp: Remove excess space character from
8257 regex patterns. Handle s390 call instruction.
8259 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8261 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8262 define "*_start" label. Make "name" static.
8263 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8264 ${name} by references to ${name}_start.
8266 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8268 * gdb.base/info-macros.exp: Remove "debug" from the compile
8271 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8273 * gdb.dlang/demangle.exp: New file.
8275 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8277 * gdb.dlang/primitive-types.exp: New file.
8279 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8281 * configure.ac: Create gdb.dlang/Makefile.
8282 * configure: Regenerate.
8283 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8284 * gdb.dlang/Makefile.in: New file.
8285 * lib/d-support.exp: New file.
8286 * lib/gdb.exp (skip_d_tests): New proc.
8288 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8290 * gdb.btrace/delta.exp: Check reverse stepi.
8291 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8292 * gdb.btrace/finish.exp: New.
8293 * gdb.btrace/next.exp: New.
8294 * gdb.btrace/nexti.exp: New.
8295 * gdb.btrace/record_goto.c: Add comments.
8296 * gdb.btrace/step.exp: New.
8297 * gdb.btrace/stepi.exp: New.
8298 * gdb.btrace/multi-thread-step.c: New.
8299 * gdb.btrace/multi-thread-step.exp: New.
8300 * gdb.btrace/rn-dl-bind.c: New.
8301 * gdb.btrace/rn-dl-bind.exp: New.
8302 * gdb.btrace/data.c: New.
8303 * gdb.btrace/data.exp: New.
8304 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8306 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8308 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8309 * gdb.btrace/exception.exp: Update.
8310 * gdb.btrace/instruction_history.exp: Update.
8311 * gdb.btrace/record_goto.exp: Update.
8312 * gdb.btrace/tailcall.exp: Update.
8313 * gdb.btrace/unknown_functions.exp: Update.
8314 * gdb.btrace/delta.exp: New.
8316 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8318 * gdb.btrace/record_goto.exp: Add backtrace test.
8319 * gdb.btrace/tailcall.exp: Add backtrace test.
8321 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8323 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8324 * gdb.btrace/record_goto.c: New.
8325 * gdb.btrace/record_goto.exp: New.
8326 * gdb.btrace/x86-record_goto.S: New.
8328 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8330 * gdb.btrace/function_call_history.exp: Update tests.
8331 * gdb.btrace/instruction_history.exp: Update tests.
8333 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8335 * gdb.btrace/function_call_history.exp: Fix expected field
8336 order for "record function-call-history".
8337 Add new tests for "record function-call-history /c".
8338 * gdb.btrace/exception.cc: New.
8339 * gdb.btrace/exception.exp: New.
8340 * gdb.btrace/tailcall.exp: New.
8341 * gdb.btrace/x86-tailcall.S: New.
8342 * gdb.btrace/x86-tailcall.c: New.
8343 * gdb.btrace/unknown_functions.c: New.
8344 * gdb.btrace/unknown_functions.exp: New.
8345 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8347 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8349 * gdb.btrace/instruction_history.exp: Update.
8350 * gdb.btrace/function_call_history.exp: Update.
8352 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8354 * gdb.btrace/function_call_history.exp: Fix expected function
8356 * gdb.btrace/instruction_history.exp: Initialize traced.
8357 Remove traced_functions.
8359 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8361 * gdb.btrace/function_call_history.exp: Update
8362 * gdb.btrace/instruction_history.exp: Update.
8364 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8366 * gdb.btrace/enable.exp: Update expected text.
8368 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8370 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8373 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8375 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8377 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8379 * lib/gdb.exp (supports_process_record): Return true for
8380 arm*-linux*. (supports_reverse): Likewise.
8382 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8386 * gdb.python/py-type.c: Enhance test case.
8387 * gdb.python/py-value-cc.cc: Likewise
8388 * gdb.python/py-type.exp: Add new tests.
8389 * gdb.python/py-value-cc.exp: Likewise
8391 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8392 Pedro Alves <palves@redhat.com>
8394 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8396 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8397 references to ${name}_start by references to ${name}.
8399 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8401 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8403 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8405 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8407 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8408 Pedro Alves <palves@redhat.com>
8410 * gdb.mi/mi-info-os.exp: Connect to the target with
8413 2014-01-08 Pedro Alves <palves@redhat.com>
8415 * gdb.threads/reconnect-signal.c: New file.
8416 * gdb.threads/reconnect-signal.exp: New file.
8418 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8420 * gdb.base/source-dir.exp: New file.
8422 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8424 * gdb.ada/mi_interface: New testcase.
8426 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8428 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8429 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8430 gdb.ada/pp-rec-component/pck.ads: New files.
8432 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8434 * gdb.python/py-pp-integral.c: New file.
8435 * gdb.python/py-pp-integral.py: New file.
8436 * gdb.python/py-pp-integral.exp: New file.
8438 For older changes see ChangeLog-1993-2013.
8444 ;; version-control: never
8447 Copyright 2014-2016 Free Software Foundation, Inc.
8448 Copying and distribution of this file, with or without modification,
8449 are permitted provided the copyright notice and this notice are preserved.