1 2016-05-30 Jan Kratochvil <jan.kratochvil@redhat.com>
4 * gdb.ada/out_of_line_in_inlined.exp: Remove xfails.
5 * gdb.dwarf2/dw2-lexical-block-bare.exp: New file.
7 2016-05-27 Pedro Alves <palves@redhat.com>
9 * gdb.threads/attach-many-short-lived-threads.exp (bad_dejagnu):
11 (top level): Call it, and bail out of DejaGnu is known to be bad.
13 2016-05-27 Andrew Burgess <andrew.burgess@embecosm.com>
15 * gdb.base/whatis.c: Extend the test case.
16 * gdb.base/whatis.exp: Add additional tests.
18 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
20 * gdb.fortran/type.f90: Add pointer variable.
21 * gdb.fortran/whatis_type.exp: Add whatis/ptype of pointers.
23 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
25 * gdb.fortran/vla-type.exp: Fix testcase name.
27 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
29 * gdb.fortran/vla-type.exp: Access elements in nested structs.
31 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
33 * gdb.fortran/type.f90: Add nested structures.
34 * gdb.fortran/whatis-type.exp: Whatis/ptype nested structures.
35 * gdb.fortran/derived-type.exp: Adapt expected output.
36 * gdb.fortran/vla-type.exp: Adapt expected output.
38 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
40 * gdb.fortran/whatis_type.exp: Adapt expected output.
42 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
44 * gdb.fortran/print_type.exp: Fix expected output.
45 * gdb.fortran/whatis_type.exp: Fix expected output.
47 2016-05-25 Bernhard Heckel <bernhard.heckel@intel.com>
49 * gdb.fortran/whatis_type.exp: Use multi_line.
51 2016-05-24 Tom Tromey <tom@tromey.com>
54 * gdb.python/py-value.exp (test_value_numeric_ops): Add tests that
55 use value as an index.
57 2016-05-23 Tom Tromey <tom@tromey.com>
60 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
63 2016-05-24 Pedro Alves <palves@redhat.com>
66 * gdb.threads/clone-attach-detach.c: New file.
67 * gdb.threads/clone-attach-detach.exp: New file.
69 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
71 * gdb.base/annota-input-while-running.exp: Fix syntax error.
73 2016-05-23 Tom Tromey <tom@tromey.com>
75 PR python/19438, PR python/18393:
76 * gdb.python/py-progspace.exp: Add "dir" test.
77 * gdb.python/py-objfile.exp: Add "dir" test.
79 2016-05-23 Yao Qi <yao.qi@linaro.org>
81 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
82 * gdb.arch/thumb2-it.exp: Likewise.
84 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
86 * gdb.mi/mi-threads-interrupt.c: New file.
87 * gdb.mi/mi-threads-interrupt.exp: New file.
89 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
92 * gdb.mi/mi-async-run.exp: New file.
93 * gdb.mi/mi-async-run.c: New file.
95 2016-05-17 Tom Tromey <tom@tromey.com>
96 Manish Goregaokar <manishsmail@gmail.com>
98 * lib/rust-support.exp: New file.
99 * lib/gdb.exp (skip_rust_tests): New proc.
100 (build_executable_from_specs): Handle rust.
101 * lib/future.exp (gdb_find_rustc): New proc.
102 (gdb_default_target_compile): Handle rust.
103 * gdb.rust/expr.exp: New file.
104 * gdb.rust/generics.exp: New file.
105 * gdb.rust/generics.rs: New file.
106 * gdb.rust/methods.exp: New file.
107 * gdb.rust/methods.rs: New file.
108 * gdb.rust/modules.exp: New file.
109 * gdb.rust/modules.rs: New file.
110 * gdb.rust/simple.exp: New file.
111 * gdb.rust/simple.rs: New file.
113 2016-05-17 Tom Tromey <tom@tromey.com>
115 * gdb.base/default.exp (set language): Add rust.
117 2016-05-17 Tom Tromey <tom@tromey.com>
119 * gdb.gdb/unittest.exp: New file.
121 2016-05-16 Yao Qi <yao.qi@linaro.org>
123 * gdb.base/batch-preserve-term-settings.exp: Remove variable
124 shell_prompt. Update shell_prompt_re.
126 2016-05-12 Doug Evans <dje@google.com>
129 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
130 $options when building executable.
131 * gdb.dwarf2/fission-loclists-pie.S: New file.
132 * gdb.dwarf2/fission-loclists-pie.exp: New file.
134 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
136 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
137 of [is_remote target],
139 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
141 * lib/gdb.exp (use_gdb_stub): New procedure.
143 2016-05-03 Yunlian Jiang <yunlian@google.com>
144 Doug Evans <dje@google.com>
147 * gdb.dwarf2/dwp-sepdebug.c: New file.
148 * gdb.dwarf2/dwp-sepdebug.exp: New file.
150 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
152 * gdb.base/detach.exp: Remove is_remote check.
154 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
156 * gdb.base/annota-input-while-running.exp: Don't check for
157 [is_remote target]. Enable annotations after running to main.
158 Remove unused "set test..." line.
160 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
162 * gdb.trace/trace-enable-disable.exp: New file.
163 * gdb.trace/trace-enable-disable.c: New file.
165 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
167 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
168 use it in info sharedlibrary test.
169 * gdb.trace/ftrace-lock.exp: Likewise.
170 * gdb.trace/ftrace.exp: Likewise.
171 * gdb.trace/range-stepping.exp: Likewise.
172 * gdb.trace/trace-break.exp: Likewise.
173 * gdb.trace/trace-condition.exp: Likewise.
174 * gdb.trace/trace-mt.exp: Likewise.
176 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
178 * lib/gdb.exp (gdb_load_shlibs): Rename to...
179 (gdb_load_shlib): ... this.
180 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
182 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
183 * gdb.base/ctxobj.exp: Likewise.
184 * gdb.base/dprintf-pending.exp: Likewise.
185 * gdb.base/dso2dso.exp: Likewise.
186 * gdb.base/fixsection.exp: Likewise.
187 * gdb.base/gcore-relro.exp: Likewise.
188 * gdb.base/gdb1555.exp: Likewise.
189 * gdb.base/global-var-nested-by-dso.exp: Likewise.
190 * gdb.base/gnu-ifunc.exp: Likewise.
191 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
192 * gdb.base/jit-so.exp (one_jit_test): Likewise.
193 * gdb.base/pending.exp: Likewise.
194 * gdb.base/print-file-var.exp: Likewise.
195 * gdb.base/print-symbol-loading.exp: Likewise.
196 * gdb.base/shlib-call.exp: Likewise.
197 * gdb.base/shreloc.exp: Likewise.
198 * gdb.base/so-impl-ld.exp: Likewise.
199 * gdb.base/solib-disc.exp: Likewise.
200 * gdb.base/solib-nodir.exp: Likewise.
201 * gdb.base/solib-overlap.exp: Likewise.
202 * gdb.base/solib-symbol.exp: Likewise.
203 * gdb.base/solib-weak.exp (do_test): Likewise.
204 * gdb.base/sym-file.exp: Likewise.
205 * gdb.base/symtab-search-order.exp: Likewise.
206 * gdb.base/type-opaque.exp: Likewise.
207 * gdb.base/unload.exp: Likewise.
208 * gdb.base/watchpoint-solib.exp: Likewise.
209 * gdb.compile/compile.exp: Likewise.
210 * gdb.cp/gdb2384.exp: Likewise.
211 * gdb.cp/infcall-dlopen.exp: Likewise.
212 * gdb.cp/re-set-overloaded.exp: Likewise.
213 * gdb.fortran/library-module.exp: Likewise.
214 * gdb.opt/solib-intra-step.exp: Likewise.
215 * gdb.python/py-finish-breakpoint.exp: Likewise.
216 * gdb.python/py-shared.exp: Likewise.
217 * gdb.reverse/solib-precsave.exp: Likewise.
218 * gdb.reverse/solib-reverse.exp: Likewise.
219 * gdb.server/solib-list.exp: Likewise.
220 * gdb.threads/dlopen-libpthread.exp: Likewise.
221 * gdb.threads/tls-shared.exp: Likewise.
222 * gdb.threads/tls-so_extern.exp: Likewise.
223 * gdb.trace/change-loc.exp: Likewise.
224 * gdb.trace/ftrace-lock.exp: Likewise.
225 * gdb.trace/ftrace.exp: Likewise.
226 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
227 * gdb.trace/pending.exp: Likewise.
228 * gdb.trace/range-stepping.exp: Likewise.
229 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
230 (strace_info_marker): Likewise.
231 (strace_probe_marker): Likewise.
232 (strace_trace_on_same_addr): Likewise.
233 (strace_trace_on_diff_addr): Likewise.
234 * gdb.trace/trace-break.exp: Likewise.
235 * gdb.trace/trace-condition.exp: Likewise.
236 * gdb.trace/trace-mt.exp: Likewise.
238 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
240 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
241 result of gdb_remote_download.
242 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
243 * gdb.base/dso2dso.exp: Likewise.
244 * gdb.base/global-var-nested-by-dso.exp: Likewise.
245 * gdb.base/print-file-var.exp: Likewise.
246 * gdb.base/shlib-call.exp: Likewise.
247 * gdb.base/shreloc.exp: Likewise.
248 * gdb.base/solib-overlap.exp: Likewise.
249 * gdb.base/solib-weak.exp (do_test): Likewise.
250 * gdb.base/unload.exp: Likewise.
252 2016-04-27 Yao Qi <yao.qi@linaro.org>
254 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
257 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
259 * vla-type.exp: Print structure from toplevel.
261 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
263 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
265 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
268 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
270 * gdb.fortran/vla-type.f90: New file.
271 * gdb.fortran/vla-type.exp: New file.
273 2016-04-25 Yao Qi <yao.qi@linaro.org>
275 * gdb.base/branch-to-self.c: New file.
276 * gdb.base/branch-to-self.exp: New file.
278 2016-04-22 Yao Qi <yao.qi@linaro.org>
280 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
283 2016-04-22 Yao Qi <yao.qi@linaro.org>
285 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
286 * gdb.base/annota3.exp: Likewise.
288 2016-04-22 Yao Qi <yao.qi@linaro.org>
290 * gdb.reverse/step-precsave.exp: Do one step and test program
291 stops in "callee" and do multiple steps until program goes out
293 * gdb.reverse/step-reverse.exp: Likewise.
295 2016-04-22 Yao Qi <yao.qi@linaro.org>
297 * gdb.trace/signal.exp: Also pass if
298 $tracepoint_hits($i) > $iterations.
300 2016-04-22 Yao Qi <yao.qi@linaro.org>
302 * gdb.trace/signal.c: New file.
303 * gdb.trace/signal.exp: New file.
305 2016-04-19 Doug Evans <xdje42@gmail.com>
307 * gdb.base/bad-file.exp: New file.
309 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
311 * gdb.dwarf2/implref.exp: New file.
313 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
315 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
316 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
317 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
318 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
319 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
320 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
321 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
322 * lib/fortran.exp (fortran_int4): New procedure.
323 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
324 (fortran_logical4): Likewise.
326 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
328 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
330 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
332 * lib/compiler.c: Add Intel specific preprocessor macros.
333 * lib/compiler.cc: Likewise.
335 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
337 * gdb.server/connect-with-no-symbol-file.c: New file.
338 * gdb.server/connect-with-no-symbol-file.exp: New file.
340 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
342 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
344 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
346 * boards/gdbserver-base.exp (${board}_download): Copy source file to
347 standard output directory.
349 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
351 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
353 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
355 * gdb.btrace/instruction_history.c (loop): Add declaration.
357 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
359 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
361 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
363 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
364 parentheses to print.
365 (continue_handler): Likewise.
367 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
369 * gdb.server/solib-list.exp: Remove is_remote check.
370 Pass shlib= to gdb_compile. Don't link shared library with
371 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
372 Run binary filename through "readlink -f" on the target.
374 2016-04-08 Pedro Alves <palves@redhat.com>
376 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
377 interpreter filename as argument to gdbserver_spawn.
378 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
379 Return empty if $last_loaded_file does not exist.
381 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
383 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
384 * gdb.base/jit-main.c: Use exit after usage.
386 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
388 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
389 GDBHISTSIZE prior to the tests.
390 * gdb.base/gdbinit-history.exp: Likewise.
392 2016-04-07 Pedro Alves <palves@redhat.com>
394 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
395 instead of build_executable. Use gdb_load_shlibs.
397 2016-04-07 Yao Qi <yao.qi@linaro.org>
399 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
400 Execute "si" command.
402 2016-04-07 Yao Qi <yao.qi@linaro.org>
404 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
405 number instead of the comments on some line.
407 2016-04-06 Don Breazeal <donb@codesourcery.com>
409 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
410 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
412 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
414 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
415 standard_output_file. Remove unused binfile variable.
417 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
419 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
420 * gdb.python/py-mi-objfile.exp: Match "list main" output
423 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
425 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
428 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
430 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
432 * gdb.trace/ftrace.exp: Likewise.
433 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
435 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
436 (gdb_load_shlibs): Copy libraries to test directory when testing
437 natively. Only set solib-search-path if testing remotely.
438 * lib/mi-support.exp (mi_load_shlibs): Likewise.
440 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
442 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
443 gdb_download. Use it even if the target is not remote.
444 * gdb.base/jit.exp (compile_jit_test): Likewise.
445 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
446 output directory if the destination board is local, otherwise use
447 the standard remote_download from DejaGnu.
448 (gdb_download): Remove.
449 (gdb_load_shlibs): Use gdb_remote_download instead of
451 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
452 Use gdb_remote_download instead of gdb_download. Use it even if
453 the target is not remote.
454 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
455 instead of gdb_download.
457 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
459 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
460 (test_insert_delete_modify): Call mi_load_shlibs before trying to
463 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
466 * gdb.base/printcmds.exp: Add artificial arrays tests.
468 2016-03-31 Pedro Alves <palves@redhat.com>
471 * gdb.base/jit-main.c: Include unistd.h.
472 (ATTACH): Define to 0 if not already defined.
473 (wait_for_gdb, mypid): New globals.
474 (WAIT_FOR_GDB): New macro.
475 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
476 some breakpoint locations.
477 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
479 (one_jit_test): Add REATTACH parameter, and handle it. Use
480 continue_to_test_location.
481 (top level): Test attach, and adjusts calls to one_jit_test.
483 2016-03-31 Pedro Alves <palves@redhat.com>
486 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
487 BINSUFFIX parameter, and handle it.
488 (top level): Adjust calls compile_jit_test.
490 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
493 * gdb.python/py-mi-events-gdb.py: New file.
494 * gdb.python/py-mi-events.c: New file.
495 * gdb.python/py-mi-events.exp: New file.
497 2016-03-30 Yao Qi <yao.qi@linaro.org>
499 * gdb.reverse/until-precsave.exp: Match function name only.
500 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
501 Move malloc to a condition block.
502 * gdb.reverse/until-reverse.exp: Match function name only.
504 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
506 * gdb.trace/ftrace.exp: Set arg0exp for s390.
507 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
508 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
509 variable for GPR 0 instead of assuming it is register 0.
510 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
511 * lib/trace-support.exp: Add s390 registers.
513 2016-03-29 Yao Qi <yao.qi@linaro.org>
515 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
517 2016-03-24 Yao Qi <yao.qi@linaro.org>
519 * gdb.reverse/break-reverse.exp: Add quotation mark in the
522 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
524 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
525 maintaining separate logic for constructing the output path.
527 2016-03-16 Don Breazeal <donb@codesourcery.com>
529 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
530 Retry fork and waitpid on interrupted system call errors.
531 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
532 Use with_timeout_factor to increase timeout by factor of 10.
534 2016-03-15 Don Breazeal <donb@codesourcery.com>
536 * gdb.cp/scope-err.cc: New test program.
537 * gdb.cp/scope-err.exp: New test script.
538 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
539 lines and "set breakpoint here" comment.
540 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
541 Fixed some whitespace and format issues.
542 * gdb.mi/mi-linespec-err-cp.cc: New test program.
543 * gdb.mi/mi-linespec-err-cp.exp: New test script.
545 2016-03-15 Doug Evans <dje@google.com>
547 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
548 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
549 All callers updated. Add tests for enums, mixed flags register.
551 2016-03-15 Doug Evans <dje@google.com>
553 * gdb.base/skip.c (main): Call test_skip_file_and_function.
554 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
556 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
558 * gdb.base/default.exp: Add $_as_string to the list of expected
559 convenience functions.
561 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
563 * gdb.base/maint.exp: New tests for 'maint info line-table'.
565 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
567 * gdb.python/py-as-string.exp: New file.
568 * gdb.python/py-as-string.c: New file.
570 2016-03-09 Pedro Alves <palves@redhat.com>
572 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
573 signal" -> "Thread NN received signal" output change.
574 * gdb.threads/ia64-sigill.exp: Likewise.
575 * gdb.threads/linux-dp.exp: Likewise.
576 * gdb.threads/manythreads.exp: Likewise.
577 * gdb.threads/pending-step.exp: Likewise.
578 * gdb.threads/print-threads.exp: Likewise.
579 * gdb.threads/sigstep-threads.exp: Likewise.
580 * gdb.threads/staticthreads.exp: Likewise.
581 * gdb.threads/tls.exp: Likewise.
583 2016-03-09 Pedro Alves <palves@redhat.com>
585 * gdb.base/command-line-input.exp: New file.
587 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
589 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
590 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
591 * gdb.trace/pending.exp: Accept leading dot before function name.
592 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
593 * lib/trace-support.exp: Set registers for ppc.
595 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
597 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
598 use it for disassembly; accept .main in addition to main in backtrace.
600 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
601 Marcin Kościelnicki <koriakin@0x04.net>
603 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
604 (gdb_recursion_test_ptr): New global variable.
605 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
609 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
611 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
614 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
616 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
617 (bar): Add bar_start_lbl label.
618 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
619 of foo/bar for emitting DWARF and tracing.
621 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
623 * analyze-racy-logs.py: Set executable bit.
625 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
627 * Makefile.in (DEFAULT_RACY_ITER): New variable.
628 (CHECK_TARGET_TMP): Likewise.
629 (check-single-racy): New rule.
630 (check-parallel-racy): Likewise.
631 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
632 (do-check-parallel-racy): New rule.
633 (check-racy/%.exp): Likewise.
634 * README (Racy testcases): New section.
635 * analyze-racy-logs.py: New file.
637 2016-03-03 Doug Evans <dje@google.com>
639 * gdb.base/skip.exp: Use with_test_prefix.
641 2016-03-03 Yao Qi <yao.qi@linaro.org>
643 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
644 Invoke step_over_syscall "clone" and break_cond_on_syscall
646 * gdb.base/step-over-clone.c: New file.
648 2016-03-03 Yao Qi <yao.qi@linaro.org>
650 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
653 2016-03-03 Yao Qi <yao.qi@linaro.org>
655 * gdb.base/disp-step-fork.c: Rename to ...
656 * gdb.base/step-over-fork.c: ... it. New file.
657 * gdb.base/disp-step-vfork.c: Rename to ...
658 * gdb.base/step-over-vfork.c: ... it. New file.
659 * gdb.base/disp-step-syscall.exp: Rename to ...
660 * gdb.base/step-over-syscall.exp: ... it. New file.
661 (disp_step_cross_syscall): Rename to ...
662 (step_over_syscall): ... it.
664 2016-03-03 Yao Qi <yao.qi@linaro.org>
666 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
667 If target supports condition evaluation on target, invoke
668 break_cond_on_syscall for fork and vfork.
670 2016-03-03 Yao Qi <yao.qi@linaro.org>
672 * gdb.base/disp-step-syscall.exp: Don't invoke
673 support_displaced_stepping.
674 (disp_step_cross_syscall): Test with displaced stepping off and
677 2016-03-03 Yao Qi <yao.qi@linaro.org>
679 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
682 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
685 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
687 * gdb.fortran/vla-history.exp: Remove breakpoint.
689 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
691 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
693 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
695 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
697 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
699 * gdb.mi/vla.f90: Nullify pointer after declaration.
701 2016-03-01 Pedro Alves <palves@redhat.com>
703 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
705 2016-03-01 Pedro Alves <palves@redhat.com>
707 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
708 before anything else.
709 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
711 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
712 before anything else.
713 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
715 2016-03-01 Pedro Alves <palves@redhat.com>
717 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
719 2016-03-01 Yao Qi <yao.qi@linaro.org>
721 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
724 2016-03-01 Yao Qi <yao.qi@linaro.org>
726 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
728 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
730 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
731 manually constructing the output path.
733 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
735 * gdb.arch/s390-stackless.S: New.
736 * gdb.arch/s390-stackless.exp: New.
738 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
740 * gdb.dlang/circular.c: New file.
741 * gdb.dlang/circular.exp: New file.
743 2016-02-26 Yao Qi <yao.qi@linaro.org>
745 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
746 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
749 2016-02-26 Yao Qi <yao.qi@linaro.org>
751 * gdb.reverse/aarch64.c: Rename to ...
752 * gdb.reverse/insn-reverse.c: ... it.
753 * gdb.reverse/aarch64.exp: Rename to ...
754 * gdb.reverse/insn-reverse.exp: ... it.
756 2016-02-26 Yao Qi <yao.qi@linaro.org>
758 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
759 (testcase_ftype): New.
760 (testcases): New array.
762 (main): Call each element in testcases.
763 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
764 (read_testcase): New.
765 Do the tests in a loop.
767 2016-02-25 Yao Qi <yao.qi@linaro.org>
769 * gdb.base/branches.c: Remove.
771 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
774 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
776 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
778 * gdb.trace/ftrace.exp: Remove unnecessary target check.
780 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
782 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
783 change x86_64 call_insn to 'callq'.
785 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
787 * gdb.trace/tfile-avx.c: Move to...
788 * gdb.trace/tracefile-pseudo-reg.c: Here.
789 * gdb.trace/tfile-avx.exp: Move to...
790 * gdb.trace/tracefile-pseudo-reg.exp: Here.
792 2016-02-24 Gary Benson <gbenson@redhat.com>
794 * gdb.base/attach-pie-noexec.exp: Do not expect an error
797 2016-02-23 Doug Evans <dje@google.com>
799 * gdb.base/skip.c (test_skip): New function.
800 (end_test_skip_file_and_function): New function.
801 (test_skip_file_and_function): New function.
802 * gdb.base/skip1.c (test_skip): New function.
803 (skip1_test_skip_file_and_function): New function.
804 * gdb.base/skip.exp: Add tests for new skip options.
805 * gdb.base/skip-solib.exp: Update expected output.
806 * gdb.perf/skip-command.cc: New file.
807 * gdb.perf/skip-command.exp: New file.
808 * gdb.perf/skip-command.py: New file.
810 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
812 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
813 info registers pattern.
815 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
817 * lib/future.exp: Add D support.
818 (gdb_find_gdc): New proc.
819 (gdb_default_target_compile): Add D support.
821 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
823 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
825 (trace_speed_test): Determine the iteration count for a time
826 between 15..30 seconds.
828 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
830 * gdb.arch/i386-mpx-sigsegv.c: New file.
831 * gdb.arch/i386-mpx-sigsegv.exp: New file.
832 * gdb.arch/i386-mpx-simple_segv.c: New file.
833 * gdb.arch/i386-mpx-simple_segv.exp: New file.
835 2016-02-18 Yao Qi <yao.qi@linaro.org>
837 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
838 Don't call setup_kfail.
840 2016-02-18 Yao Qi <yao.qi@linaro.org>
842 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
843 Set "set breakpoint condition-evaluation" per $cond_bp_target.
845 2016-02-16 Doug Evans <dje@google.com>
847 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
848 * gdb.base/skip1.c: Ditto.
849 * gdb.base/skip.exp: Whitespace cleanup.
851 2016-02-16 Don Breazeal <donb@codesourcery.com>
854 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
855 Remove kfail for PR remote/19496.
857 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
859 * lib/gdb.exp (standard_temp_file): Return a path specific to
860 the runtest invocation.
862 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
864 * gdb.trace/save-trace.exp: Change relative path to be in the
865 standard output directory.
867 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
869 * gdb.arch/i386-prologue.c: Add missing prototypes.
871 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
873 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
874 * gdb.arch/i386-prologue.exp: Likewise.
875 * gdb.arch/i386-size.exp: Likewise.
877 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
879 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
880 define object file path.
881 * gdb.btrace/gcore.exp: Use standard_output_file to define core
883 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
884 standard_output_file to define binfile.
886 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
888 Fix compatibility with recent gfortran-5.3.1.
889 * gdb.fortran/vla-history.exp (print vla1 allocated)
890 (print vla2 allocated, print $2, print $3): Remove
891 (print $4): Rename to ...
892 (print $2): ... here.
893 (print $9): Rename to ...
894 (print $5): ... here.
895 (print $10): Rename to ...
896 (print $6): ... here.
897 * gdb.fortran/vla.f90: Add pvla initialization.
899 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
901 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
903 * gdb.fortran/vla-value-sub.exp: Likewise.
905 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
907 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
909 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
911 * i386-biarch-core.exp: Define corefile using
912 standard_output_file.
914 2016-02-12 Yao Qi <yao.qi@linaro.org>
916 * gdb.arch/arm-single-step-kernel-helper.c: New.
917 * gdb.arch/arm-single-step-kernel-helper.exp: New.
919 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
921 * gdb.btrace/tailcall-only.exp: New.
922 * gdb.btrace/tailcall-only.c: New.
923 * gdb.btrace/x86_64-tailcall-only.S: New.
924 * gdb.btrace/i686-tailcall-only.S: New.
926 2016-02-11 Pedro Alves <palves@redhat.com>
928 * README (Parallel testing): Add missing double quotes.
930 2016-02-11 Pedro Alves <palves@redhat.com>
932 * README (Parallel testing): New section.
933 (GDB_PARALLEL): Rewrite.
934 (FORCE_PARALLEL): Document.
936 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
938 * gdb.trace/tfile-avx.c: New test.
939 * gdb.trace/tfile-avx.exp: New test.
941 2016-02-09 Keith Seitz <keiths@redhat.com>
944 * gdb.base/infcall-exec.c: New file.
945 * gdb.base/infcall-exec2.c: New file.
946 * gdb.base/infcall-exec.exp: New file.
948 2016-02-09 Keith Seitz <keiths@redhat.com>
950 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
951 (toplevel): Call test_bkpt_address.
953 2016-02-09 Keith Seitz <keiths@redhat.com>
956 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
957 (toplevel): Call test_bkpt_address.
959 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
961 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
963 * configure: Regenerate.
965 2016-02-09 Pedro Alves <palves@redhat.com>
968 * gdb.base/execl-update-breakpoints.c (some_function): New
971 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
972 Tighten expected GDB output.
974 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
976 * Makefile.in (ALL_SUBDIRS): Remove.
977 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
978 (distclean maintainer-clean realclean): Likewise.
979 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
980 * configure: Regenerate.
981 * gdb.ada/Makefile.in: Delete.
982 * gdb.arch/Makefile.in: Likewise.
983 * gdb.asm/Makefile.in: Likewise.
984 * gdb.base/Makefile.in: Likewise.
985 * gdb.btrace/Makefile.in: Likewise.
986 * gdb.cell/Makefile.in: Likewise.
987 * gdb.compile/Makefile.in: Likewise.
988 * gdb.cp/Makefile.in: Likewise.
989 * gdb.disasm/Makefile.in: Likewise.
990 * gdb.dlang/Makefile.in: Likewise.
991 * gdb.dwarf2/Makefile.in: Likewise.
992 * gdb.fortran/Makefile.in: Likewise.
993 * gdb.gdb/Makefile.in: Likewise.
994 * gdb.go/Makefile.in: Likewise.
995 * gdb.guile/Makefile.in: Likewise.
996 * gdb.java/Makefile.in: Likewise.
997 * gdb.linespec/Makefile.in: Likewise.
998 * gdb.mi/Makefile.in: Likewise.
999 * gdb.modula2/Makefile.in: Likewise.
1000 * gdb.multi/Makefile.in: Likewise.
1001 * gdb.objc/Makefile.in: Likewise.
1002 * gdb.opencl/Makefile.in: Likewise.
1003 * gdb.opt/Makefile.in: Likewise.
1004 * gdb.pascal/Makefile.in: Likewise.
1005 * gdb.perf/Makefile.in: Likewise.
1006 * gdb.python/Makefile.in: Likewise.
1007 * gdb.reverse/Makefile.in: Likewise.
1008 * gdb.server/Makefile.in: Likewise.
1009 * gdb.stabs/Makefile.in: Likewise.
1010 * gdb.threads/Makefile.in: Likewise.
1011 * gdb.trace/Makefile.in: Likewise.
1012 * gdb.xml/Makefile.in: Likewise.
1013 * lib/gdb.exp (make_gdb_parallel_path): Add check for
1015 (standard_output_file): Remove check for GDB_PARALLEL, always
1016 return path in outputs/$subdir/$testname.
1018 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
1020 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
1021 (site.exp): Assign abs_srcdir to tcl's srcdir.
1023 2016-02-04 Yao Qi <yao.qi@linaro.org>
1025 * gdb.base/foll-exec-mode.c: Include limits.h.
1026 (main): Add parameters argc and argv. Get directory from
1028 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
1030 * gdb.base/foll-exec.c: Include limits.h.
1031 (main): Add parameters argc and argv.
1032 Get directory from argv[0].
1033 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
1034 Adjust tests on the number of lines as source code changed.
1035 * gdb.base/foll-vfork-exit.c: Include limits.h.
1036 (main): Add one line of statement before vfork.
1037 * gdb.base/foll-vfork.c: Include limits.h and string.h.
1038 (main): Add parameters argc and argv. Get directory from
1040 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
1041 (setup_gdb): Set tbreak to skip some source lines.
1042 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
1043 (main): Add parameters argc and argv. Get directory from
1045 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
1047 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
1048 (main): Add parameters argc and argv. Get directory from
1050 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
1053 2016-02-01 Doug Evans <dje@google.com>
1055 * gdb.base/skip.exp: Clean up multiple references to same test name.
1057 2016-02-01 Pedro Alves <palves@redhat.com>
1060 * gdb.threads/forking-threads-plus-breakpoint.exp
1061 (displaced_stepping_supported): New global.
1062 (probe_displaced_stepping_support): New procedure.
1063 (do_test): Add 'displaced' parameter, and use it.
1064 (top level): Check for displaced stepping support. Add displaced
1065 stepping on/off testing axis.
1067 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1069 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1070 pointer. Don't perform further tests on the unassociated pointer
1071 if the first test fails.
1073 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1075 * gdb.base/max-value-size.c: New file.
1076 * gdb.base/max-value-size.exp: New file.
1077 * gdb.base/huge.exp: Disable max-value-size for this test.
1079 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1081 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1083 2016-01-28 Yao Qi <yao.qi@linaro.org>
1085 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1087 2016-01-25 Pedro Alves <palves@redhat.com>
1090 * gdb.base/fork-running-state.c: New file.
1091 * gdb.base/fork-running-state.exp: New file.
1093 2016-01-25 Pedro Alves <palves@redhat.com>
1096 * gdb.base/catch-fork-kill.c: New file.
1097 * gdb.base/catch-fork-kill.exp: New file.
1099 2016-01-25 Pedro Alves <palves@redhat.com>
1101 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1102 Delete, moved to lib/gdb.exp.
1103 * gdb.threads/forking-threads-plus-breakpoint.exp
1104 (foreach_with_prefix): Likewise.
1105 * gdb.threads/process-dies-while-handling-bp.exp
1106 (foreach_with_prefix): Likewise.
1107 * lib/gdb.exp (foreach_with_prefix): New procedure.
1109 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1111 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1112 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1114 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1116 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1119 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1120 Pedro Alves <palves@redhat.com>
1122 Fix testsuite compatibility with Guile.
1123 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1126 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1128 Fix testsuite compatibility with Guile.
1129 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1130 (thread 1): New test for backtrace through signal handler.
1132 2016-01-22 Yao Qi <yao.qi@linaro.org>
1135 * gdb.base/multi-forks.c: Include
1136 ../lib/unbuffer_output.c
1137 (main): Call gdb_unbuffer_output.
1139 2016-01-21 Doug Evans <dje@google.com>
1141 * lib/ada.exp (gdb_compile_ada): Fix typo.
1143 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1145 * gdb.base/break-fun-addr.exp: New file.
1146 * gdb.base/break-fun-addr1.c: New file.
1147 * gdb.base/break-fun-addr2.c: New file.
1149 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1151 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1152 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1155 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1157 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1158 when GDB can not set the vector return value. Add more comments
1161 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1163 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1166 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1168 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1170 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1172 * Makefile.in (check-single): Pass --status to runtest.
1173 (check/%.exp): Likewise.
1175 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1177 * Makefile.in (check-parallel): Propagate return code from make
1180 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1182 * gdb.trace/ftrace.exp: Fix expected message on continue.
1183 * gdb.trace/pending.exp: Fix expected message on continue.
1184 * gdb.trace/trace-break.exp: Fix expected message on continue.
1186 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1188 * lib/gdb.exp (gdb_test): Remove unused global references.
1190 2016-01-18 Pedro Alves <palves@redhat.com>
1192 * gdb.base/async-shell.exp: Adjust expected output.
1193 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1194 * gdb.base/siginfo-thread.exp: Adjust expected output.
1195 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1196 * gdb.java/jnpe.exp: Adjust expected output.
1197 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1198 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1199 * gdb.threads/leader-exit.exp: Adjust expected output.
1200 * gdb.threads/manythreads.exp: Adjust expected output.
1201 * gdb.threads/pthreads.exp: Adjust expected output.
1202 * gdb.threads/schedlock.exp: Adjust expected output.
1203 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1204 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1206 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1208 * gdb.threads/sigthread.exp: Adjust expected output.
1209 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1211 2016-01-18 Yao Qi <yao.qi@linaro.org>
1213 * gdb.guile/scm-section-script.c: Replace @progbits with
1215 * gdb.python/py-section-script.c: Likewise.
1217 2016-01-15 Pedro Alves <palves@redhat.com>
1219 * gdb.multi/tids.exp: Test star wildcard ranges.
1221 2016-01-15 Pedro Alves <palves@redhat.com>
1223 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1224 command from "thread apply" invocation.
1225 (thr_apply_info_thr_invalid): Default the expected output to the
1227 (top level): Add tests that use convenience variables. Add tests
1228 for "thread apply" with a valid TID list, but missing the command.
1230 2016-01-13 Pedro Alves <palves@redhat.com>
1232 * gdb.base/default.exp: Expect $_gthread as well.
1233 * gdb.multi/tids.exp: Test $_gthread.
1234 * gdb.threads/thread-specific.exp: Test $_gthread.
1236 2016-01-13 Pedro Alves <palves@redhat.com>
1238 * gdb.multi/tids.exp: Test "info threads -gid".
1240 2016-01-13 Pedro Alves <palves@redhat.com>
1242 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1244 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1246 2016-01-07 Pedro Alves <palves@redhat.com>
1248 * gdb.base/break.exp: Adjust to output changes.
1249 * gdb.base/hbreak2.exp: Likewise.
1250 * gdb.base/sepdebug.exp: Likewise.
1251 * gdb.base/watch_thread_num.exp: Likewise.
1252 * gdb.linespec/keywords.exp: Likewise.
1253 * gdb.multi/info-threads.exp: Likewise.
1254 * gdb.threads/thread-find.exp: Likewise.
1255 * gdb.multi/tids.c: New file.
1256 * gdb.multi/tids.exp: New file.
1258 2016-01-13 Pedro Alves <palves@redhat.com>
1260 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1262 2016-01-13 Pedro Alves <palves@redhat.com>
1264 * gdb.base/default.exp: Expect $_inferior as well.
1265 * gdb.multi/base.exp: Test $_inferior.
1267 2016-01-13 Pedro Alves <palves@redhat.com>
1269 PR breakpoints/19388
1270 * gdb.base/catch-signal-siginfo-cond.c: New file.
1271 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1273 2016-01-12 Josh Stone <jistone@redhat.com>
1274 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1276 * gdb.base/catch-syscall.c (do_execve): New variable.
1277 (main): Conditionally trigger an execve.
1278 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1279 (test_catch_syscall_execve): New, check entry/return across execve.
1280 (do_syscall_tests): Call test_catch_syscall_execve.
1282 2016-01-12 Pedro Alves <palves@redhat.com>
1284 * gdb.base/random-signal.exp (do_test): New procedure, with body
1285 of testcase moved in.
1287 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1288 Pedro Alves <palves@redhat.com>
1290 * gdb.base/funcargs.exp (finish from indirectly called function):
1291 Reintroduce the case for 'First'.
1293 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1294 Pedro Alves <palves@redhat.com>
1296 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1297 (tcatch_vfork_then_child_follow_exec)
1298 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1301 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1303 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1304 and repeats to unlimited.
1305 * gdb.python/py-value.exp: Likewise.
1306 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1307 and repeats to unlimited.
1309 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1311 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1312 and reordering the functions.
1313 * gdb.multi/hangout.c: Likewise.
1314 * gdb.multi/hello.c: Likewise.
1316 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1318 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1320 (SingleStatisticTestResult.report): Use dict.keys instead of
1323 2016-01-06 Pedro Alves <palves@redhat.com>
1325 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1327 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1329 * gdb.btrace/dlopen.exp: New.
1330 * gdb.btrace/dlopen.c: New.
1331 * gdb.btrace/dlopen-dso.c: New.
1333 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1335 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1336 PATTERN argument is optional.
1338 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1340 * lib/ada.exp (target_compile_ada_from_dir): New function.
1341 (gdb_compile_ada): Reimplement avoiding the use of project files.
1342 * gdb.ada/gnat_ada.gpr: Delete.
1343 * gdb.ada/cond_lang.exp: Adjust test to make path before
1345 * gdb.ada/small_reg_param.exp: Likewise.
1347 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1349 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1351 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1353 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1356 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1358 * gdb.base/break.exp: Remove dead code.
1359 * gdb.base/sepdebug.exp: Likewise.
1361 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1363 * gdb.asm/asm-source.exp: Remove HP-UX references.
1364 * gdb.base/annota1.exp: Likewise.
1365 * gdb.base/annota3.exp: Likewise.
1366 * gdb.base/attach.exp: Likewise.
1367 * gdb.base/bigcore.exp: Likewise.
1368 * gdb.base/break.exp: Likewise.
1369 * gdb.base/call-ar-st.exp: Likewise.
1370 * gdb.base/callfuncs.exp: Likewise.
1371 * gdb.base/catch-fork-static.exp: Likewise.
1372 * gdb.base/display.exp: Likewise.
1373 * gdb.base/foll-exec-mode.exp: Likewise.
1374 * gdb.base/foll-exec.exp: Likewise.
1375 * gdb.base/foll-fork.exp: Likewise.
1376 * gdb.base/foll-vfork.exp: Likewise.
1377 * gdb.base/funcargs.exp: Likewise.
1378 * gdb.base/hbreak2.exp: Likewise.
1379 * gdb.base/inferior-died.exp: Likewise.
1380 * gdb.base/interrupt.exp: Likewise.
1381 * gdb.base/multi-forks.exp: Likewise.
1382 * gdb.base/nodebug.exp: Likewise.
1383 * gdb.base/sepdebug.exp: Likewise.
1384 * gdb.base/solib1.c: Likewise.
1385 * gdb.base/step-test.exp: Likewise.
1386 * gdb.mi/non-stop.c: Likewise.
1387 * gdb.mi/pthreads.c: Likewise.
1388 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1389 * gdb.threads/pthreads.c: Likewise.
1390 * gdb.threads/staticthreads.exp: Likewise.
1391 * lib/future.exp: Likewise.
1392 * lib/gdb.exp: Likewise.
1393 * gdb.base/so-indr-cl.c: Remove.
1394 * gdb.base/so-indr-cl.exp: Likewise.
1395 * gdb.base/solib.c: Likewise.
1396 * gdb.base/solib.exp: Likewise.
1397 * gdb.base/solib2.c: Likewise.
1399 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1401 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1402 * gdb.base/call-ar-st.exp: Likewise.
1403 * gdb.base/callfuncs.exp: Likewise.
1404 * gdb.base/condbreak.exp: Likewise.
1405 * gdb.base/constvars.exp: Likewise.
1406 * gdb.base/hbreak2.exp: Likewise.
1407 * gdb.base/langs.exp: Likewise.
1408 * gdb.base/list.exp: Likewise.
1409 * gdb.base/long_long.exp: Likewise.
1410 * gdb.base/ptype.exp: Likewise.
1411 * gdb.base/scope.exp: Likewise.
1412 * gdb.base/signals.exp: Likewise.
1413 * gdb.base/so-impl-ld.exp: Likewise.
1414 * gdb.base/varargs.exp: Likewise.
1415 * gdb.base/volatile.exp: Likewise.
1416 * gdb.base/whatis.exp: Likewise.
1417 * gdb.cp/cplusfuncs.exp: Likewise.
1418 * gdb.cp/inherit.exp: Likewise.
1419 * gdb.cp/local.exp: Likewise.
1420 * gdb.cp/member-ptr.exp: Likewise.
1421 * gdb.cp/method.exp: Likewise.
1422 * gdb.cp/overload.exp: Likewise.
1423 * gdb.cp/templates.exp: Likewise.
1424 * gdb.stabs/weird.exp: Likewise.
1425 * lib/compiler.c: Likewise.
1426 * lib/compiler.cc: Likewise.
1427 * lib/cp-support.exp: Likewise.
1428 * lib/gdb.exp: Likewise.
1430 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1432 * configure.ac: Remove HP-UX case.
1433 * configure: Regenerate.
1435 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1437 * lib/gdb.exp (gdb_compile): Add function doc.
1439 2015-12-17 Pedro Alves <palves@redhat.com>
1442 * gdb.multi/info-threads.exp: New file.
1444 2015-12-15 Yao Qi <yao.qi@linaro.org>
1446 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1449 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1451 * gdb.base/history-duplicates.exp: Skip if no readline support.
1453 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1455 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1457 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1459 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1461 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1463 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1464 ctrl-C if nointerrupts target property is set.
1465 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1466 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1467 * gdb.base/paginate-bg-execution.exp: Likewise.
1468 * gdb.base/paginate-execution-startup.exp: Likewise.
1469 * gdb.base/random-signal.exp: Likewise.
1470 * gdb.base/range-stepping.exp: Likewise.
1471 * gdb.cp/annota2.exp: Likewise.
1472 * gdb.cp/annota3.exp: Likewise.
1473 * gdb.gdb/selftest.exp: Likewise.
1474 * gdb.threads/continue-pending-status.exp: Likewise.
1475 * gdb.threads/leader-exit.exp: Likewise.
1476 * gdb.threads/manythreads.exp: Likewise.
1477 * gdb.threads/pthreads.exp: Likewise.
1478 * gdb.threads/schedlock.exp: Likewise.
1479 * gdb.threads/sigthread.exp: Likewise.
1481 2015-12-11 Don Breazeal <donb@codesourcery.com>
1483 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1485 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1486 * gdb.base/foll-exec.exp (main): Enable for target remote.
1487 * gdb.base/foll-fork.exp (main): Likewise.
1488 * gdb.base/foll-vfork.exp (main): Likewise.
1489 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1490 (proc continue_to_exit_bp_loc): Use clean_restart.
1491 * gdb.base/pie-execl.exp (main): Disable for target remote.
1492 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1493 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1494 * gdb.threads/execl.exp (main): Likewise.
1495 * gdb.threads/fork-child-threads.exp (main): Likewise.
1496 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1498 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1500 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1501 pid.tid style ptids, instead of just tid.
1502 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1503 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1504 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1505 ptids, instead of just tid.
1507 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1509 * gdb.base/list.exp (test_list_forward): Add end of file error
1511 (test_repeat_list_command): Add end of file error test.
1512 (test_list_backwards): Add beginning of file error test.
1514 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1516 * gdb.base/list.exp (test_list_invalid_args): New function,
1517 defined, and called.
1519 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1521 * gdb.base/list.exp (test_list): Make test names unique.
1523 2015-12-11 Yao Qi <yao.qi@linaro.org>
1525 * gdb.base/coremaker2.c: Remove.
1527 2015-12-10 Pedro Alves <palves@redhat.com>
1529 * gdb.multi/base.exp: Remove stale "spaces" references.
1531 2015-12-10 Pedro Alves <palves@redhat.com>
1533 * gdb.multi/base.exp: Don't use nowarnings.
1534 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1535 * gdb.multi/hangout.c: Include stdio.h.
1536 * gdb.multi/hello.c: Include stdlib.h.
1537 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1538 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1539 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1541 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1543 * gdb.dwarf2/dw2-ranges-base.c: New file.
1544 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1545 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1546 support additional line table, and debug ranges generation.
1547 (Dwarf::ranges): New function, generate .debug_ranges.
1548 (Dwarf::lines): Support generating simple line table programs.
1549 (Dwarf::assemble): Initialise new namespace variables.
1551 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1553 * gdb.base/async.exp (proc test_background): Add case for
1554 asynchronous execution not supported.
1556 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1558 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1559 format and change test names to make them unique.
1561 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1562 Pedro Alves <pedro@redhat.com>
1565 Add checking of floatformats setup on x86_64 hosts.
1566 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1567 (smallval, bigval): New labels/constants.
1568 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1569 float" after loading bigval and smallval.
1571 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1573 * gdb.ada/fun_overload_menu.exp: New testcase.
1574 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1576 2015-12-04 Josh Stone <jistone@redhat.com>
1578 * gdb.base/catch-fork-static.exp: New.
1580 2015-12-03 Yao Qi <yao.qi@linaro.org>
1582 * gdb.base/sizeof.c: Don't include stdio.h and
1583 ../lib/unbuffer_output.c.
1584 (main): New variable 'size' and 'value'. Remove printf and
1585 gdb_unbuffer_output. Assign return value to size and value.
1586 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1588 (check_sizeof): Check the result by printing variable 'size'.
1589 (check_valueof): Check the result by printing variable 'value'.
1591 2015-12-01 Yao Qi <yao.qi@linaro.org>
1593 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1594 for aarch64*-*-linux* target.
1596 2015-11-30 Pedro Alves <palves@redhat.com>
1598 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1600 2015-11-30 Pedro Alves <palves@redhat.com>
1602 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1603 Handle non-stop mode vCont replies.
1605 2015-11-30 Pedro Alves <palves@redhat.com>
1607 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1608 prepare_for_testing. Start gdb with "set non-stop on" appended to
1609 GDBFLAGS. Lax expected stop output.
1611 2015-11-27 Yao Qi <yao.qi@linaro.org>
1613 * gdb.arch/arm-neon.exp: New.
1614 * gdb.arch/arm-neon.c: New.
1616 2015-11-27 Yao Qi <yao.qi@linaro.org>
1618 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1620 2015-11-27 Yao Qi <yao.qi@linaro.org>
1622 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1623 frames-invalid annotation.
1625 2015-11-27 Yao Qi <yao.qi@linaro.org>
1627 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1629 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1631 * gdb.threads/names.exp: New file.
1632 * gdb.threads/names.c: New file.
1633 * README: Mention gdb,no_thread_names.
1635 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1638 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1641 2015-11-24 Pedro Alves <palves@redhat.com>
1644 * gdb.base/display.exp: Expect displays to be sorted in ascending
1645 order. Use multi_line.
1646 * gdb.base/solib-display.exp: Likewise.
1648 2015-11-24 Pedro Alves <palves@redhat.com>
1651 * gdb.base/display.exp: Expect displays to be sorted in ascending
1652 order. Use multi_line.
1653 * gdb.base/solib-display.exp: Likewise.
1655 2015-11-24 Pedro Alves <palves@redhat.com>
1658 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1659 threads in ascending order.
1660 * gdb.base/foll-fork.exp: Likewise.
1661 * gdb.base/foll-vfork.exp: Likewise.
1662 * gdb.base/multi-forks.exp: Likewise.
1663 * gdb.mi/mi-nonstop.exp: Likewise.
1664 * gdb.mi/mi-nsintrall.exp: Likewise.
1665 * gdb.multi/base.exp: Likewise.
1666 * gdb.multi/multi-arch.exp: Likewise.
1667 * gdb.python/py-inferior.exp: Likewise.
1668 * gdb.threads/break-while-running.exp: Likewise.
1669 * gdb.threads/execl.exp: Likewise.
1670 * gdb.threads/gcore-thread.exp: Likewise.
1671 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1672 * gdb.threads/kill.exp: Likewise.
1673 * gdb.threads/linux-dp.exp: Likewise.
1674 * gdb.threads/multiple-step-overs.exp: Likewise.
1675 * gdb.threads/next-bp-other-thread.exp: Likewise.
1676 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1677 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1678 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1679 * gdb.threads/thread-find.exp: Likewise.
1680 * gdb.threads/tls.exp: Likewise.
1681 * lib/mi-support.exp (mi_reverse_list): Delete.
1682 (mi_check_thread_states): No longer reverse list.
1684 2015-11-24 Pedro Alves <palves@redhat.com>
1686 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1689 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1691 * gdb.trace/actions.c: Include trace-common.h.
1692 (main): Add a location for a fast tracepoint.
1693 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1694 the normal tracepoints.
1695 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1697 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1699 * save-trace.exp: Factor out code to these...
1700 (gdb_save_tracepoints): New.
1701 (gdb_load_tracepoints): New.
1702 (do_save_load_test): New.
1704 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1706 * gdb.base/asmlabel.exp: New test.
1707 * gdb.base/asmlabel.c: New test case.
1709 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1711 * gdb.base/wrong_frame_bt_full-main.c: New file.
1712 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1713 * gdb.base/wrong_frame_bt_full.exp: New file.
1715 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1717 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1719 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1721 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1722 pstate register when comparing registers values in
1723 sparc64-*-linux-gnu targets to avoid spurious differences.
1725 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1727 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1729 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1731 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1732 as type argument to gdb_compile.
1733 * gdb.base/nested-subp2.exp: Likewise.
1734 * gdb.base/nested-subp3.exp: Likewise.
1736 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1738 * lib/dwarf.exp (_note): Fix left shift of negative value.
1739 * gdb.trace/trace-condition.exp: Likewise.
1741 2015-11-13 Yao Qi <yao.qi@linaro.org>
1743 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1744 comments about d10v.
1745 (test_scalar_returns): Likewise.
1746 * gdb.base/d10v.ld: Remove.
1747 * gdb.base/overlays.exp: Remove the target triplet checking for
1749 * gdb.base/structs.exp (test_struct_returns): Remove the
1750 comments about d10v.
1751 (test_struct_calls): Likewise.
1753 2015-11-13 Yao Qi <yao.qi@linaro.org>
1755 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1756 * gdb.base/gnu_vector.c: Don't include stdio.h.
1757 (main): Don't print res and call add_some_intvecs.
1759 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1761 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1764 (func4): Use FAST_TRACEPOINT_LABEL.
1765 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1768 (thread_function): Use FAST_TRACEPOINT_LABEL.
1769 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1771 (marker): Use FAST_TRACEPOINT_LABEL.
1772 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1773 (pendfunc1): Remove.
1774 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1775 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1777 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1778 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1781 (marker): Use FAST_TRACEPOINT_LABEL.
1782 * gdb.trace/trace-common.h: New header.
1783 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1786 (marker): Use FAST_TRACEPOINT_LABEL.
1787 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1789 (thread_function): Use FAST_TRACEPOINT_LABEL.
1791 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1793 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1795 * gdb.trace/change-loc.exp: Use global pcreg definition.
1796 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1797 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1799 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1800 * gdb.trace/pending.exp: Likewise.
1801 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1802 * gdb.trace/trace-break.exp: Likewise.
1803 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1805 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1806 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1808 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1810 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1812 * gdb.ada/fin_fun_out: New testcase.
1814 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1816 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1817 value associated with DW_AT_byte_size.
1818 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1819 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1822 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1824 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1825 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1827 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1828 gdb.dwarf2/dw2-canonicalize-type.exp,
1829 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1830 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1831 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1832 provided by gdb_target_symbol_prefix_flags_asm.
1833 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1834 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1835 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1836 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1837 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1838 macros where needed). Use this macro for symbols which require
1839 the prefix provided by SYMBOL_PREFIX.
1841 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1843 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1845 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1846 representing expressions, of more than one list element.
1847 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1848 to prepend linker symbol prefix to f.
1849 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1850 table_1 and table_2.
1851 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1852 Likewise, for f and g.
1853 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1855 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1857 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1858 table_1_ptr and table_2_ptr.
1860 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1861 Joel Brobecker <brobecker@adacore.com>
1863 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1865 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1867 * gdb.reverse/s390-mvcle.c: New test.
1868 * gdb.reverse/s390-mvcle.exp: New file.
1869 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1871 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1873 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1875 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1877 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1879 * gdb.reverse/getresuid-reverse.exp: Likewise.
1880 * gdb.reverse/pipe-reverse.exp: Likewise.
1881 * gdb.reverse/readv-reverse.exp: Likewise.
1882 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1883 * gdb.reverse/time-reverse.exp: Likewise.
1884 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1886 2015-10-30 Yao Qi <yao.qi@linaro.org>
1888 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1889 (empty_cycle): Remove.
1890 (main): Don't call empty_cycle. Don't use watch_count_done.
1891 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1892 empty_cycle. Rewrite the code counting HW watchpoints.
1894 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1896 * gdb.reverse/fstatat-reverse.c: New test.
1897 * gdb.reverse/fstatat-reverse.exp: New file.
1898 * gdb.reverse/getresuid-reverse.c: New test.
1899 * gdb.reverse/getresuid-reverse.exp: New file.
1900 * gdb.reverse/pipe-reverse.c: New test.
1901 * gdb.reverse/pipe-reverse.exp: New file.
1902 * gdb.reverse/readv-reverse.c: New test.
1903 * gdb.reverse/readv-reverse.exp: New file.
1904 * gdb.reverse/recvmsg-reverse.c: New test.
1905 * gdb.reverse/recvmsg-reverse.exp: New file.
1906 * gdb.reverse/time-reverse.c: New test.
1907 * gdb.reverse/time-reverse.exp: New file.
1908 * gdb.reverse/waitpid-reverse.c: New test.
1909 * gdb.reverse/waitpid-reverse.exp: New file.
1911 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1913 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1915 2015-10-26 Doug Evans <dje@google.com>
1918 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1919 * gdb.dwarf2/bad-regnum.c: New file.
1920 * gdb.dwarf2/bad-regnum.exp: New file.
1922 2015-10-26 Doug Evans <dje@google.com>
1925 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1928 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1930 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1931 for a change by "Mention language in compile error message".
1933 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1936 * gdb.python/py-type.c (C::a_method): New.
1937 (C::a_const_method): New.
1938 (C::a_static_method): New.
1940 * gdb.python/py-type.exp (test_fields): Test getting fields
1941 from function and method.
1943 2015-10-21 Keven Boell <keven.boell@intel.com>
1945 * gdb.fortran/vla-alloc-assoc.exp: New file.
1946 * gdb.fortran/vla-datatypes.exp: New file.
1947 * gdb.fortran/vla-datatypes.f90: New file.
1948 * gdb.fortran/vla-history.exp: New file.
1949 * gdb.fortran/vla-ptype-sub.exp: New file.
1950 * gdb.fortran/vla-ptype.exp: New file.
1951 * gdb.fortran/vla-sizeof.exp: New file.
1952 * gdb.fortran/vla-sub.f90: New file.
1953 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1954 * gdb.fortran/vla-value-sub-finish.exp: New file.
1955 * gdb.fortran/vla-value-sub.exp: New file.
1956 * gdb.fortran/vla-value.exp: New file.
1957 * gdb.fortran/vla-ptr-info.exp: New file.
1958 * gdb.mi/mi-vla-fortran.exp: New file.
1959 * gdb.mi/vla.f90: New file.
1961 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1963 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1964 of hardwired timeout value.
1966 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1967 Pedro Alves <palves@redhat.com>
1969 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1970 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1972 2015-10-19 Josh Stone <jistone@redhat.com>
1974 * gdb.base/catch-syscall.c: Include <sched.h>.
1975 (unknown_syscall): New variable.
1976 (main): Trigger a vfork and an unknown syscall.
1977 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1978 (unknown_syscall_number): Likewise.
1979 (check_call_to_syscall): Accept an optional syscall pattern.
1980 (check_return_from_syscall): Likewise.
1981 (check_continue): Likewise.
1982 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1983 (test_catch_syscall_skipping_return): New test toggling off 'catch
1984 syscall' to step over the syscall return, then toggling back on.
1985 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1986 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1987 (do_syscall_tests): Call test_catch_syscall_without_args and
1988 test_catch_syscall_mid_vfork.
1989 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1990 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1992 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1994 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1995 print g_vE): Add new pass patterns.
1996 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1997 print various symbol names for vptr fields.
1999 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
2001 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
2004 2015-10-12 Yao Qi <yao.qi@linaro.org>
2006 * gdb.arch/disp-step-insn-reloc.exp: New test case.
2008 2015-10-12 Yao Qi <yao.qi@linaro.org>
2010 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
2011 is aarch64*-*-linux*.
2013 2015-10-12 Yao Qi <yao.qi@linaro.org>
2015 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
2016 (can_relocate_bcond_true): ... it.
2017 (can_relocate_bcond_false): New function.
2019 (can_relocate_bl): Likewise.
2020 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
2023 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
2025 * gdb.base/nested-addr.c: New file.
2026 * gdb.base/nested-addr.exp: New testcase.
2028 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
2030 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
2031 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
2032 its output. Ignore the output of "record goto begin" and instead
2033 check that GDB is replaying.
2035 2015-10-09 Pedro Alves <palves@redhat.com>
2037 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
2038 (top level): Use it in the run with no args test.
2040 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
2042 * gdb.dlang/properties.exp: New file.
2044 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
2046 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
2047 whether or not address 0x1000 is mapped on the target.
2049 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
2051 * gdb.python/py-type.exp: Do not run tests if binaries fail to
2054 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2056 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2057 instruction-history test.
2059 2015-09-28 Doug Evans <dje@google.com>
2061 * gdb.base/gcore.c (array_func): Add reference to static_array.
2063 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2065 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2068 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2070 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2071 short or char as base type.
2073 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2075 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2076 to allow any size enum.
2078 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2080 * gdb.ada/array_ptr_renaming.exp: New testcase.
2081 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2082 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2084 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2086 * gdb.trace/ftrace-lock.c: New file.
2087 * gdb.trace/ftrace-lock.exp: New file.
2089 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2091 * gdb.arch/insn-reloc.c: New file.
2092 * gdb.arch/ftrace-insn-reloc.exp: New file.
2094 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2096 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2098 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2099 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2100 * gdb.trace/range-stepping.c: Likewise.
2101 * gdb.trace/trace-break.c: Likewise.
2102 * gdb.trace/trace-mt.c (thread_function): Likewise.
2103 * gdb.trace/ftrace.c (marker): Likewise.
2104 * gdb.trace/trace-condition.c (marker): Likewise.
2105 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2106 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2109 2015-09-18 Doug Evans <xdje42@gmail.com>
2111 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2112 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2114 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2116 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2119 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2121 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2122 the pending breakpoint. Remove timeout override for "Run till
2123 MI pending breakpoint on pendfunc3 on thread 2" test.
2125 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2127 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2130 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2132 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2133 in breakpoint filename pattern.
2135 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2137 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2139 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2141 * gdb.linespec/explicit.exp: Check for readline support for
2142 tab-completion tests. Fix obvious typo.
2144 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2146 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2149 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2151 * gdb.btrace/non-stop.c: New.
2152 * gdb.btrace/non-stop.exp: New.
2154 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2155 Yao Qi <yao.qi@linaro.org>
2157 * gdb.trace/trace-condition.c: New file.
2158 * gdb.trace/trace-condition.exp: New file.
2160 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2162 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2163 for testing bytecode compilation.
2165 2015-09-16 Pedro Alves <palves@redhat.com>
2166 Sandra Loosemore <sandra@codesourcery.com>
2168 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2169 (SECONDS): Redefine.
2170 (main): Call pthread_kill and alarm early.
2171 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2173 (test): If the target can't hardware step and doesn't support
2174 displaced stepping, increase the timeout.
2176 2015-09-16 Pedro Alves <palves@redhat.com>
2178 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2179 (enable_debug): New procedures.
2180 (test): Use them. Bail out if waiting for threads fails.
2181 (top level): Bail out if a test fails.
2183 2015-09-16 Yao Qi <yao.qi@linaro.org>
2185 * gdb.asm/asm-source.exp: Set asm-arch for
2186 aarch64*-*-* target.
2187 * gdb.asm/aarch64.inc: New file.
2189 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2191 * gdb.ada/array_of_variable_length.exp: New testcase.
2192 * gdb.ada/array_of_variable_length/foo.adb: New file.
2193 * gdb.ada/array_of_variable_length/pck.adb: New file.
2194 * gdb.ada/array_of_variable_length/pck.ads: New file.
2196 2015-09-15 Doug Evans <dje@google.com>
2198 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2199 of function static local variable.
2201 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2203 * gdb.threads/tls-so_extern.exp: New test file.
2204 * gdb.threads/tls-so_extern.c: New test file.
2205 * gdb.threads/tls-so_extern_main.c: New test file.
2207 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2209 * gdb.opt/solib-intra-step-lib.c: New file.
2210 * gdb.opt/solib-intra-step-main.c: New file.
2211 * gdb.opt/solib-intra-step.exp: New file.
2213 2015-09-15 Pedro Alves <palves@redhat.com>
2215 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2216 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2218 2015-09-14 Pedro Alves <palves@redhat.com>
2220 * gdb.base/hook-stop-continue.c: Delete.
2221 * gdb.base/hook-stop-continue.exp: Delete.
2222 * gdb.base/hook-stop-frame.c: Delete.
2223 * gdb.base/hook-stop-frame.exp: Delete.
2224 * gdb.base/hook-stop.c: New file.
2225 * gdb.base/hook-stop.exp: New file.
2227 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2229 * gdb.ada/access_to_packed_array.exp: New testcase.
2230 * gdb.ada/access_to_packed_array/foo.adb: New file.
2231 * gdb.ada/access_to_packed_array/pack.adb: New file.
2232 * gdb.ada/access_to_packed_array/pack.ads: New file.
2234 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2236 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2239 2015-09-11 Don Breazeal <donb@codesourcery.com>
2241 * gdb.base/foll-exec.c: Add copyright header. Fix
2243 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2244 (do_exec_tests): Use clean_restart in place of zap_session,
2245 and for test initialization. Fix formatting issues. Use
2246 fail in place of perror.
2247 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2248 an expect statement to match an expression with output from
2249 the program under debug.
2250 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2251 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2252 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2253 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2254 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2256 2015-09-09 Doug Evans <dje@google.com>
2258 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2260 2015-09-09 Doug Evans <dje@google.com>
2262 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2264 2015-09-09 Doug Evans <dje@google.com>
2266 * gdb.base/savedregs.exp: Fix typo.
2268 2015-09-09 Pedro Alves <palves@redhat.com>
2270 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2272 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2274 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2275 command actually switches threads. Give up on remaining
2276 tests if target fails to stop at breakpoint.
2278 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2280 * gdb.ada/funcall_char.exp: New testcase.
2281 * gdb.ada/funcall_char/foo.adb: New file.
2283 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2285 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2286 expected outputs. Add two testcases for completing ambiguous
2288 * gdb.ada/complete/aux_pck.adb: New file.
2289 * gdb.ada/complete/aux_pck.ads: New file.
2290 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2291 Ambiguous_Func functions.
2292 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2293 * gdb.ada/complete/pck.adb: Likewise.
2295 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2297 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2298 failures to run the test program under GDB.
2300 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2302 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2305 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2307 * gdb.base/run-after-attach.exp: New test file.
2308 * gdb.base/run-after-attach.c: New test file.
2310 2015-08-26 Don Breazeal <donb@codesourcery.com>
2312 * gdb.base/foll-exec-2.c: New test program.
2313 * gdb.base/foll-exec-2.exp: New test.
2315 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2317 * gdb.base/nested-subp1.exp: New file.
2318 * gdb.base/nested-subp1.c: New file.
2319 * gdb.base/nested-subp2.exp: New file.
2320 * gdb.base/nested-subp2.c: New file.
2321 * gdb.base/nested-subp3.exp: New file.
2322 * gdb.base/nested-subp3.c: New file.
2324 2015-08-24 Pedro Alves <palves@redhat.com>
2326 * gdb.server/connect-without-multi-process.c: New file.
2327 * gdb.server/connect-without-multi-process.exp: New file.
2329 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2331 * gdb.opt/inline-markers.c: Make z int.
2333 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2335 * gdb.opt/inline-markers.c: Make z volatile.
2337 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2339 * gdb.opt/inline-bt.c: New volatile global z.
2340 * gdb.opt/inline-cmds.c: Likewise.
2341 * gdb.opt/inline-locals.c: Likewise.
2342 * gdb.opt/inline-markers.c: New extern global z.
2344 (inline_fn): Likewise.
2346 2015-08-24 Pedro Alves <palves@redhat.com>
2348 * config/m32r-stub.exp: Remove file.
2349 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2350 * gdb.base/call-rt-st.exp: Likewise.
2351 * gdb.base/call-strs.exp: Likewise.
2352 * gdb.base/default.exp: Remove references to h8300-*-hms and
2354 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2356 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2358 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2359 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2360 and "return" use KFAIL when GDB can not read/write the vector
2363 2015-08-21 Gary Benson <gbenson@redhat.com>
2365 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2367 2015-08-20 Pedro Alves <palves@redhat.com>
2369 * gdb.server/solib-list.exp: No longer expect an interior stop in
2372 2015-08-20 Pedro Alves <palves@redhat.com>
2374 * gdb.server/connect-stopped-target.c: New file.
2375 * gdb.server/connect-stopped-target.exp: New file.
2377 2015-08-20 Pedro Alves <palves@redhat.com>
2379 * gdb.dwarf2/comp-unit-lang.exp: New file.
2380 * gdb.dwarf2/comp-unit-lang.c: New file.
2382 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2384 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2385 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2387 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2389 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2390 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2392 2015-08-18 Doug Evans <dje@google.com>
2393 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2395 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2396 skip_python_tests. New arg prompt_regexp.
2397 (skip_python_tests): New function.
2398 * lib/mi-support.exp (mi_skip_python_tests): New function.
2399 * gdb.python/py-mi-objfile-gdb.py: New file.
2400 * gdb.python/py-mi-objfile.c: New file.
2401 * gdb.python/py-mi-objfile.exp: New file.
2403 2015-08-17 Keith Seitz <keiths@redhat.com>
2405 * gdb.linespec/explicit.exp: Move strace test from here ...
2406 * gdb.trace/strace.exp: ... to here.
2408 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2410 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2411 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2413 2015-08-14 Doug Evans <xdje42@gmail.com>
2415 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2416 inferior before selecting a new file.
2418 2015-08-14 Doug Evans <xdje42@gmail.com>
2420 * gdb.mi/mi-disassemble.exp: Update.
2421 * gdb.base/disasm-optim.S: New file.
2422 * gdb.base/disasm-optim.c: New file.
2423 * gdb.base/disasm-optim.h: New file.
2424 * gdb.base/disasm-optim.exp: New file.
2426 2015-08-14 Keith Seitz <keiths@redhat.com>
2428 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2431 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2433 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2435 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2437 * gdb.ada/fun_renaming.exp: New testcase.
2438 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2439 * gdb.ada/fun_renaming/pack.adb: New file.
2440 * gdb.ada/fun_renaming/pack.ads: New file.
2442 2015-08-12 Keith Seitz <keiths@redhat.com>
2444 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2445 gdb_get_line_number.
2447 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2449 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2450 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2451 gdb.base/dso2dso.exp: New files.
2453 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2454 Pedro Alves <palves@redhat.com>
2455 Keith Seitz <keiths@redhat.com>
2457 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2460 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2462 * gdb.base/gdbhistsize-history.exp
2463 (test_histsize_history_setting): Use save_vars.
2464 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2466 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2467 * gdb.base/readline.exp: Use save_vars.
2469 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2471 * lib/gdb.exp (save_vars): New proc.
2473 2015-08-11 Keith Seitz <keiths@redhat.com>
2475 * gdb.base/help.exp: Update help_breakpoint_text.
2477 2015-08-11 Keith Seitz <keiths@redhat.com>
2479 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2480 (at toplevel): Call test_explicit_breakpoints.
2481 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2483 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2484 breakpoint conditions, "-cond".
2486 2015-08-11 Keith Seitz <keiths@redhat.com>
2488 * gdb.linespec/3explicit.c: New file.
2489 * gdb.linespec/cpexplicit.cc: New file.
2490 * gdb.linespec/cpexplicit.exp: New file.
2491 * gdb.linespec/explicit.c: New file.
2492 * gdb.linespec/explicit.exp: New file.
2493 * gdb.linespec/explicit2.c: New file.
2494 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2495 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2496 before using in the matching pattern.
2497 Clarify that `prefix' is a regular expression.
2499 2015-08-11 Keith Seitz <keiths@redhat.com>
2501 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2503 Add tests for missing ",FMT" and ",".
2505 2015-08-10 Doug Evans <dje@google.com>
2506 Keith Seitz <keiths@redhat.com>
2509 * gdb.base/completion.exp: Add location completer tests.
2511 2015-08-07 Pedro Alves <palves@redhat.com>
2513 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2515 (top level): Run do_test with and without displaced stepping.
2517 2015-08-07 Pedro Alves <palves@redhat.com>
2519 * gdb.base/valgrind-disp-step.c: New file.
2520 * gdb.base/valgrind-disp-step.exp: New file.
2522 2015-08-07 Pedro Alves <palves@redhat.com>
2524 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2526 (main): Add alarm. Run an infinite loop instead of calling
2528 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2530 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2532 (main): Add alarm. Run an infinite loop instead of calling
2534 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2537 2015-08-07 Pedro Alves <palves@redhat.com>
2539 * gdb.base/checkpoint-ns.exp: New file.
2540 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2543 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2545 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2546 * gdb.btrace/instruction_history.exp: Update.
2547 * gdb.btrace/tsx.exp: New.
2548 * gdb.btrace/tsx.c: New.
2550 2015-08-06 Pedro Alves <palves@redhat.com>
2552 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2554 * gdb.reverse/until-precsave.exp: Bump timeouts.
2556 2015-08-06 Pedro Alves <palves@redhat.com>
2558 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2560 2015-08-06 Pedro Alves <palves@redhat.com>
2563 * gdb.threads/process-dies-while-handling-bp.c: New file.
2564 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2566 2015-08-06 Pedro Alves <palves@redhat.com>
2568 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2569 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2571 2015-08-05 Pedro Alves <palves@redhat.com>
2573 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2574 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2576 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2578 * gdb.base/bp-permanent.exp: Report test as unsupported if
2579 the target cannot stop at the permanent breakpoint.
2581 2015-08-03 Doug Evans <dje@google.com>
2583 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2586 2015-08-03 Doug Evans <dje@google.com>
2588 * Makefile.in (workers/%.worker, build-perf): New rule.
2589 (GDB_PERFTEST_MODE): New variable.
2590 (check-perf): Use it.
2591 (clean): Clean up gdb.perf parallel build subdirs.
2592 * lib/build-piece.exp: New file.
2593 * lib/gdb.exp (make_gdb_parallel_path): New function
2594 (standard_output_file, standard_temp_file): Call it.
2595 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2597 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2599 2015-08-03 Doug Evans <dje@google.com>
2601 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2602 (LOG_FILE_NAME): New global.
2603 (TextReporter.__init__): Initialize self.txt_sum.
2604 (TextReporter.report): Add support for multiple data-points.
2605 Move report to perftest.sum, put raw data in perftest.log.
2606 (TextReporter.start): Open sum and log files.
2607 (TextReporter.end): Close sum and log files.
2608 * gdb.perf/lib/perftest/testresult.py
2609 (SingleStatisticTestResult.record): Handle multiple data-points.
2611 2015-07-31 Pedro Alves <palves@redhat.com>
2613 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2614 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2615 kill_wait_spawned_process instead of explicit "kill -9".
2616 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2617 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2618 kill_wait_spawned_process.
2619 * gdb.base/attach-twice.exp: Likewise.
2620 * gdb.base/attach.exp: Likewise.
2621 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2623 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2624 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2625 kill_wait_spawned_process.
2626 * gdb.base/valgrind-infcall.exp: Likewise.
2627 * gdb.multi/multi-attach.exp: Likewise.
2628 * gdb.python/py-prompt.exp: Likewise.
2629 * gdb.python/py-sync-interp.exp: Likewise.
2630 * gdb.server/ext-attach.exp: Likewise.
2631 * gdb.threads/attach-into-signal.exp (corefunc): Use
2632 spawn_wait_for_attach, spawn_id_get_pid and
2633 kill_wait_spawned_process.
2634 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2635 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2636 spawn_id_get_pid and kill_wait_spawned_process.
2637 * gdb.threads/attach-stopped.exp (corefunc): Use
2638 spawn_wait_for_attach, spawn_id_get_pid and
2639 kill_wait_spawned_process.
2640 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2641 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2642 kill_wait_spawned_process instead of explicit "kill -9".
2643 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2644 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2645 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2646 processes. Don't map cygwin/windows pids here. Now returns a
2649 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2651 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2652 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2655 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2657 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2659 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2662 2014-05-21 Mark Wielaard <mjw@redhat.com>
2664 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2666 2015-07-30 Pedro Alves <palves@redhat.com>
2668 * linux-low.c (handle_extended_wait): Set the child's last
2669 reported status to TARGET_WAITKIND_STOPPED.
2671 2015-07-30 Pedro Alves <palves@redhat.com>
2674 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2675 only shows inferior 1.
2677 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2678 Pedro Alves <palves@redhat.com>
2681 * gdb.threads/fork-plus-threads.c: New file.
2682 * gdb.threads/fork-plus-threads.exp: New file.
2684 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2686 * gdb.base/batch-preserve-term-settings.exp
2687 (test_terminal_settings_preserved_after_cli_exit): Use
2690 2015-07-29 Pedro Alves <palves@redhat.com>
2691 Don Breazeal <donb@codesourcery.com>
2693 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2694 output from both inferior_spawn_id and gdb_spawn_id.
2696 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2698 * gdb.threads/attach-into-signal.exp (corefunc): Use
2699 with_test_prefix on nested loops, uniquefying the test messages.
2701 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2703 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2706 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2708 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2710 (test_terminal_settings_preserved_after_sigterm): New test.
2712 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2714 * gdb.base/batch-preserve-term-settings.exp
2715 (test_terminal_settings_preserved_after_cli_exit): New test.
2717 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2719 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2720 manipulation of saved_gdbflags.
2721 (test_terminal_settings_preserved): Remove global declaration of
2722 the unused variable pagination_prompt. Remove manipulation of
2723 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2726 2015-07-29 Pedro Alves <palves@redhat.com>
2728 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2730 2015-07-29 Pedro Alves <palves@redhat.com>
2732 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2735 2015-07-29 Pedro Alves <palves@redhat.com>
2737 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2738 (main): Call gdb_unbuffer_output.
2739 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2740 (main): Call gdb_unbuffer_output.
2741 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2742 (main): Call gdb_unbuffer_output.
2743 * gdb.base/call-strs.exp: Adjust to step over the
2744 gdb_unbuffer_output call.
2745 * gdb.base/catch-gdb-caused-signals.c: Include
2746 "../lib/unbuffer_output.c".
2747 (main): Call gdb_unbuffer_output.
2748 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2749 (main): Call gdb_unbuffer_output.
2750 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2751 (main): Call gdb_unbuffer_output.
2752 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2753 (main): Call gdb_unbuffer_output.
2754 * gdb.base/shlib-call.exp: Adjust to step over the
2755 gdb_unbuffer_output call.
2756 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2757 (main): Call gdb_unbuffer_output.
2758 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2759 (main): Call gdb_unbuffer_output.
2760 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2761 (main): Rename to ...
2763 (main): Reimplement.
2764 * gdb.base/varargs.exp: Run to test instead of to main.
2765 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2766 (main): Call gdb_unbuffer_output.
2768 2015-07-29 Pedro Alves <palves@redhat.com>
2770 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2771 factore out from mi_continue_dprintf. For call-style dprintfs,
2772 expect dprintf output out of $inferior_spawn_id.
2773 (mi_continue_dprintf): Use mi_expect_dprintf.
2774 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2775 (main): Call gdb_unbuffer_output.
2777 2015-07-29 Pedro Alves <palves@redhat.com>
2779 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2780 (default_mi_gdb_start): Set inferior_spawn_id instead of
2781 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2783 (mi_gdb_test): Always expect inferior output from both
2784 $inferior_spawn_id and $gdb_spawn_id.
2786 2015-07-29 Pedro Alves <palves@redhat.com>
2788 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2789 send_inferior and $inferior_spawn_id.
2791 2015-07-29 Pedro Alves <palves@redhat.com>
2793 * gdb.gdb/complaints.exp (test_initial_complaints)
2794 (test_serial_complaints, test_short_complaints): Use
2796 (test_empty_complaint): Handle $inferior_spawn_id !=
2799 2015-07-29 Pedro Alves <palves@redhat.com>
2801 * gdb.base/varargs.exp: Use gdb_test_stdio.
2803 2015-07-29 Pedro Alves <palves@redhat.com>
2805 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2807 2015-07-29 Pedro Alves <palves@redhat.com>
2809 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2811 2015-07-29 Pedro Alves <palves@redhat.com>
2813 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2814 parameter into two new parameters, "inf_result" and "gdb_result".
2815 Expect inferior output and gdb output from $inferior_spawn_id and
2816 $gdb_spawn_id, respectively. Adjust all callers.
2818 2015-07-29 Pedro Alves <palves@redhat.com>
2820 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2821 of gdb_test_sequence.
2823 2015-07-29 Pedro Alves <palves@redhat.com>
2825 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2826 (saw_spurious_output): Expect inferior output from
2827 $inferior_spawn_id. Use gdb_test_stdio.
2829 2015-07-29 Pedro Alves <palves@redhat.com>
2831 * gdb.base/dprintf.exp: Use standard_testfile. Change
2832 prepare_for_testing call.
2833 (srcfile): Don't set.
2834 (restart): New procedure.
2835 (test_dprintf): New procecure, use to continue over dprintfs.
2836 (test_call, test_agent): New procedures, tests moved here.
2837 Restart gdb and recreate dprintfs. Adjust expected output.
2839 2015-07-29 Pedro Alves <palves@redhat.com>
2841 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2843 2015-07-29 Pedro Alves <palves@redhat.com>
2845 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2847 2015-07-29 Pedro Alves <palves@redhat.com>
2849 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2852 2015-07-29 Pedro Alves <palves@redhat.com>
2854 * lib/gdb.exp (gdb_test_stdio): New procedure.
2856 2015-07-29 Pedro Alves <palves@redhat.com>
2858 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2860 2015-07-29 Pedro Alves <palves@redhat.com>
2862 * gdb.base/call-signal-resume.exp: Remove check for
2863 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2864 * gdb.base/unwindonsignal.exp: Likewise.
2865 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2866 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2868 2015-07-29 Pedro Alves <palves@redhat.com>
2870 * gdb.base/siginfo-addr.c (pass): New function.
2871 (handler): Call it iff si_addr is correct.
2872 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2873 Set a breakpoint at "pass" and continue to it.
2875 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2877 * gdb.python/py-objfile.exp: Make some tests have unique names.
2878 * gdb.python/py-pp-registration.exp: Likewise.
2880 2015-07-28 Pedro Alves <palves@redhat.com>
2882 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2884 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2886 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2888 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2890 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2892 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2894 * gdb.base/gdb-sigterm-2.exp: New test.
2896 2015-07-25 Doug Evans <xdje42@gmail.com>
2899 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2900 (workers/%.worker, build-perf): New rule.
2901 (GDB_PERFTEST_MODE): New variable.
2902 (check-perf): Use it.
2903 (clean): Clean up gdb.perf parallel build subdirs.
2904 * lib/build-piece.exp: New file.
2905 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2906 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2908 (standard_temp_file): Ditto.
2909 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2912 2015-07-24 Doug Evans <dje@google.com>
2914 * gdb.perf/lib/perftest/utils.py: New file.
2915 * gdb.perf/gm-hello.cc: New file.
2916 * gdb.perf/gm-pervasive-typedef.cc: New file.
2917 * gdb.perf/gm-pervasive-typedef.h: New file.
2918 * gdb.perf/gm-std.cc: New file.
2919 * gdb.perf/gm-std.h: New file.
2920 * gdb.perf/gm-use-cerr.cc: New file.
2921 * gdb.perf/gm-utils.h: New file.
2922 * gdb.perf/gmonster-null-lookup.py: New file.
2923 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2924 * gdb.perf/gmonster-print-cerr.py: New file.
2925 * gdb.perf/gmonster-ptype-string.py: New file.
2926 * gdb.perf/gmonster-runto-main.py: New file.
2927 * gdb.perf/gmonster-select-file.py: New file.
2928 * gdb.perf/gmonster1-null-lookup.exp: New file.
2929 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2930 * gdb.perf/gmonster1-print-cerr.exp: New file.
2931 * gdb.perf/gmonster1-ptype-string.exp: New file.
2932 * gdb.perf/gmonster1-runto-main.exp: New file.
2933 * gdb.perf/gmonster1-select-file.exp: New file.
2934 * gdb.perf/gmonster1.cc: New file.
2935 * gdb.perf/gmonster1.exp: New file.
2936 * gdb.perf/gmonster2-null-lookup.exp: New file.
2937 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2938 * gdb.perf/gmonster2-print-cerr.exp: New file.
2939 * gdb.perf/gmonster2-ptype-string.exp: New file.
2940 * gdb.perf/gmonster2-runto-main.exp: New file.
2941 * gdb.perf/gmonster2-select-file.exp: New file.
2942 * gdb.perf/gmonster2.cc: New file.
2943 * gdb.perf/gmonster2.exp: New file.
2945 2015-07-24 Doug Evans <dje@google.com>
2947 * gdb.perf/README: New file.
2948 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2949 * lib/gen-perf-test.exp: New file.
2951 2015-07-24 Doug Evans <dje@google.com>
2953 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2954 (PerfTest::startup): New function.
2955 (PerfTest::run): Return result of calling body.
2956 (PerfTest::assemble): Rewrite.
2957 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2958 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2959 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2960 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2961 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2963 2015-07-24 Doug Evans <dje@google.com>
2965 * lib/gdb.exp (clean_restart): Make executable optional.
2967 2015-07-24 Doug Evans <dje@google.com>
2969 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2970 compiler_info references.
2971 * gdb.cp/temargs.exp: Ditto.
2972 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2973 (get_compiler_info): Early exit if already computed. Set compiler_info
2974 to "unknown" if there was a problem.
2975 (test_compiler_info): Add function comment. Call get_compiler_info.
2977 2015-07-24 Doug Evans <dje@google.com>
2979 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2980 (workers/%.worker, build-perf): New rule.
2981 (GDB_PERFTEST_MODE): New variable.
2982 (check-perf): Use it.
2983 (clean): Clean up gdb.perf parallel build subdirs.
2984 * lib/build-piece.exp: New file.
2985 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2986 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2988 (standard_temp_file): Ditto.
2989 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2992 2015-07-24 Doug Evans <dje@google.com>
2994 * lib/future.exp (gdb_default_target_compile): New option
2996 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2999 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
3001 * gdb.base/catch-syscall.exp: Call gdb_exit before
3004 2015-07-24 Pedro Alves <palves@redhat.com>
3006 * gdb.python/py-events.exp: Accept output between the stop event
3008 * gdb.python/py-evsignal.exp: Likewise.
3009 * gdb.python/py-evthreads.exp: Likewise.
3011 2015-07-24 Pedro Alves <palves@redhat.com>
3014 * gdb.threads/non-ldr-exit.c: New file.
3015 * gdb.threads/non-ldr-exit.exp: New file.
3017 2015-07-24 Yao Qi <yao.qi@linaro.org>
3019 * gdb.server/ext-wrapper.exp: Test --wrapper option when
3022 2015-07-24 Yao Qi <yao.qi@linaro.org>
3024 * gdb.server/ext-restart.exp: New file.
3026 2015-07-24 Yao Qi <yao.qi@linaro.org>
3028 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
3030 * gdb.server/ext-wrapper.exp: New file.
3032 2015-07-23 Doug Evans <dje@google.com>
3034 * gdb.dwarf2/dw2-dummy-cu.S: New file.
3035 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
3037 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
3039 * gdb.ada/var_arr_typedef.exp: New testcase.
3040 * gdb.ada/var_arr_typedef/pack.adb: New file.
3041 * gdb.ada/var_arr_typedef/pack.ads: New file.
3042 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
3044 2015-07-20 Joel Brobecker <brobecker@adacore.com>
3046 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
3048 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3050 * gdb.arch/i386-biarch-core.exp: Replace istarget
3051 by "complete set gnutarget". Remove expectation for the "core-file"
3054 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3056 Revert the previous commit:
3057 Tests for validate symbol file using build-id.
3059 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3061 Tests for validate symbol file using build-id.
3062 * gdb.base/solib-mismatch-lib.c: New file.
3063 * gdb.base/solib-mismatch-libmod.c: New file.
3064 * gdb.base/solib-mismatch.c: New file.
3065 * gdb.base/solib-mismatch.exp: New file.
3067 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3069 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3071 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3072 * gdb.base/siginfo.exp: Likewise.
3073 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3075 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3077 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3079 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3081 * gdb.trace/range-stepping.exp: Check that the target supports
3084 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3086 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3088 2015-07-14 Pedro Alves <palves@redhat.com>
3090 * gdb.base/killed-outside.exp: New file.
3091 * gdb.base/killed-outside.c: New file.
3093 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3095 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3097 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3099 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3101 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3102 infcall tests instead of setting up for KFAIL.
3104 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3106 * gdb.btrace/record_goto-step.exp: New.
3108 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3111 * gdb.compile/compile.c (struct struct_type): Add volatile to
3113 * gdb.compile/compile.exp
3114 (compile code struct_object.selffield = &struct_object): Skip further
3115 struct_object tests if this one xfails.
3117 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3120 * gdb.trace/ax.exp: Add test.
3122 2015-07-07 Yao Qi <yao.qi@linaro.org>
3124 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3125 instead of istarget "aarch64*-*-*".
3126 * gdb.arch/aarch64-fp.exp: Likewise.
3127 * gdb.base/float.exp: Likewise.
3128 * gdb.reverse/aarch64.exp: Likewise.
3129 * lib/gdb.exp (is_aarch64_target): New proc.
3131 2015-07-07 Yao Qi <yao.qi@linaro.org>
3133 * lib/gdb.exp (is_aarch32_target): New proc.
3134 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3135 instead of "istarget "arm*-*-*"".
3136 * gdb.arch/arm-disp-step.exp: Likewise.
3137 * gdb.arch/thumb-bx-pc.exp: Likewise.
3138 * gdb.arch/thumb-prologue.exp: Likewise.
3139 * gdb.arch/thumb-singlestep.exp: Likewise.
3140 * gdb.base/disp-step-syscall.exp: Likewise.
3141 * gdb.base/float.exp: Likewise.
3143 2015-07-07 Yao Qi <yao.qi@linaro.org>
3145 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3146 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3148 2015-07-07 Yao Qi <yao.qi@linaro.org>
3150 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3151 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3153 * gdb.multi/multi-arch.exp: Likewise.
3155 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3157 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3160 2015-07-07 Yao Qi <yao.qi@linaro.org>
3162 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3164 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3166 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3167 '[' and ']' characters.
3169 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3171 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3173 2015-06-29 Pedro Alves <palves@redhat.com>
3176 * gdb.threads/hand-call-new-thread.c: New file.
3177 * gdb.threads/hand-call-new-thread.c: New file.
3179 2015-06-26 Keith Seitz <keiths@redhat.com>
3180 Doug Evans <dje@google.com>
3183 * gdb.cp/var-tag-2.cc: New file.
3184 * gdb.cp/var-tag-3.cc: New file.
3185 * gdb.cp/var-tag-4.cc: New file.
3186 * gdb.cp/var-tag.cc: New file.
3187 * gdb.cp/var-tag.exp: New file.
3189 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3191 * gdb.base/history-duplicates.exp: New test.
3193 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3195 * gdb.base/completion.exp: Test the completion of the "focus"
3198 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3200 * gdb.arch/amd64-prologue-skip.S: New file.
3201 * gdb.arch/amd64-prologue-skip.exp: New file.
3203 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3205 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3206 is_address_zero_readable check.
3208 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3210 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3211 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3213 2015-06-24 Yao Qi <yao.qi@linaro.org>
3215 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3218 2015-06-24 Yao Qi <yao.qi@linaro.org>
3220 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3221 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3222 * gdb.base/siginfo-thread.exp: Likewise.
3224 2015-06-22 Yao Qi <yao.qi@linaro.org>
3226 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3228 2015-06-22 Yao Qi <yao.qi@linaro.org>
3230 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3232 (skip_hw_watchpoint_tests): Likewise.
3234 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3236 * gdb.base/gdbinit-history.exp: Test the interaction between
3237 setting GDBHISTSIZE and setting the history size via .gdbinit.
3239 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3242 * gdb.base/gdbhistsize-history.exp: New test.
3244 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3246 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3248 * gdb.base/readline.exp: Likewise.
3250 2015-06-17 Yao Qi <yao.qi@linaro.org>
3252 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3255 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3257 * gdb.base/gdbinit-history.exp: Add test case to check that
3258 an unlimited history file does not get truncated on exit.
3260 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3262 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3263 (VECTOR): New macro. Use it...
3264 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3265 ...for these typedefs.
3266 (int8, char1, int1, double1): New typedefs.
3267 (struct just_int2, struct two_int2): New structures.
3268 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3269 (add_structvecs, add_singlevecs): New functions.
3270 (main): Call add_some_intvecs twice.
3271 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3272 the compile and exit upon failure. Try compiling for the "native"
3273 architecture. Test inferior function calls with vector arguments
3274 and vector return value handling with "finish" and "return".
3276 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3278 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3279 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3281 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3283 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3285 PR breakpoints/16465
3286 * gdb.mi/mi-dprintf-pending.c: New file.
3287 * gdb.mi/mi-dprintf-pending.exp: New test.
3288 * gdb.mi/mi-dprintf-pendshr.c: New file.
3290 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3291 Mircea Gherzan <mircea.gherzan@intel.com>
3293 * gdb.arch/i386-mpx-map.c: New file.
3294 * gdb.arch/i386-mpx-map.exp: New File.
3296 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3298 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3299 * gdb.arch/i386-mpx.exp: Indentation fixed.
3301 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3303 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3304 function and improved indentation.
3305 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3306 gdb_test_multiple. Added additional tests to skip the test.
3308 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3310 * gdb.arch/i386-avx512.c: Change path in include file.
3311 * gdb.arch/i386-avx512.exp: Change include dir path
3313 * gdb.arch/i386-mpx.c: Change path in include file.
3314 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3317 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3319 * gdb.compile/compile-print.exp (compile print *vararray@3)
3320 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3322 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3324 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3325 (do not keep jit in memory): ... this.
3326 (expect 5): Change it to ...
3327 (expect no 5): ... this.
3329 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3332 * gdb.mi/mi-detach.exp: New file.
3334 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3337 * gdb.arch/amd64-tailcall-self.S: New file.
3338 * gdb.arch/amd64-tailcall-self.c: New file.
3339 * gdb.arch/amd64-tailcall-self.exp: New file.
3341 2015-05-28 Don Breazeal <donb@codesourcery.com>
3343 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3344 tests for remote targets by checking is_target_gdbserver.
3346 2015-05-27 Doug Evans <dje@google.com>
3348 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3349 * gdb.dwarf2/opaque-type-lookup.c: New file.
3350 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3352 2015-05-26 Doug Evans <dje@google.com>
3354 * gdb.cp/iostream.cc: New file.
3355 * gdb.cp/iostream.exp: New file.
3357 2015-05-26 Doug Evans <dje@google.com>
3359 * gdb.dwarf2/dw2-op-call.exp: Update.
3360 * gdb.dwarf2/dw4-sig-types.exp: Update.
3361 * gdb.dwarf2/implptr.exp: Update.
3362 * gdb.mi/mi-cmd-param-changed.exp: Update.
3364 2015-05-26 Doug Evans <dje@google.com>
3366 * gdb.python/py-lazy-string.c: New file.
3367 * gdb.python/py-lazy-string.exp: New file.
3368 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3369 (main): Update. Add estring3.
3370 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3371 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3373 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3374 Yao Qi <yao.qi@linaro.org>
3376 * gdb.reverse/aarch64.c: New.
3377 * gdb.reverse/aarch64.exp: New.
3379 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3381 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3382 (supports_reverse): Likewise.
3384 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3386 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3387 Use with_test_prefix.
3389 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3391 * gdb.base/completion.exp: Add test for completion of layout
3394 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3396 * lib/gdb.exp (skip_tui_tests): New proc.
3397 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3399 2015-05-19 Pedro Alves <palves@redhat.com>
3401 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3402 Save the whole env array instead of just HOME. Unset HISTSIZE in
3403 the environment while testing. Restore whole environment
3406 2015-05-16 Doug Evans <xdje42@gmail.com>
3408 * gdb.guile/scm-ports.c: New file.
3409 * gdb.guile/scm-ports.exp: Add memory port tests.
3411 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3413 * gdb.compile/compile-print.c: New file.
3414 * gdb.compile/compile-print.exp: New file.
3416 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3418 * gdb.compile/compile-ops.exp: Cast param to void.
3419 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3420 (compile code struct_object.selffield = &struct_object): Add xfail.
3422 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3424 * gdb.ada/arr_enum_with_gap: New testcase.
3426 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3428 * gdb.ada/byte_packed_arr: New testcase.
3430 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3432 * gdb.ada/pckd_neg: New testcase.
3434 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3437 * gdb.base/gdbinit-history.exp: New test.
3438 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3439 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3441 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3443 * gdb.python/py-xmethods.cc: Enhance test case.
3444 * gdb.python/py-xmethods.exp: New tests.
3445 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3447 (B_indexoper): Likewise.
3448 (global_dm_list) : Add new xmethod worker functions.
3450 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3452 * gdb.base/coredump-filter.exp: Correctly unset
3453 "coredump_var_addr" array.
3455 2015-05-08 Pedro Alves <palves@redhat.com>
3457 * gdb.server/non-existing-program.exp: Unset spawn_id.
3459 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3462 * gdb.python/py-xmethods.exp: Add tests.
3464 2015-05-08 Yao Qi <yao.qi@linaro.org>
3467 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3468 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3469 function set_coredump_filter, and remove remote_exec call.
3470 Remove argument ipid. Callers update.
3471 (top level): Don't get inferior's PID.
3473 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3475 * gdb.base/watch_thread_num.exp: Skip test on targets without
3478 2015-05-06 Pedro Alves <palves@redhat.com>
3481 * gdb.server/non-existing-program.exp: New file.
3483 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3485 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3487 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3489 * gdb.ada/out_of_line_in_inlined: New testcase.
3491 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3493 * gdb.ada/var_rec_arr: New testcase.
3495 2015-04-30 Yao Qi <yao.qi@linaro.org>
3497 * gdb.base/break-idempotent.exp: If
3498 skip_hw_watchpoint_multi_tests returns true, skip the tests
3499 on "rwatch" and "awatch".
3501 2015-04-30 Yao Qi <yao.qi@linaro.org>
3503 * gdb.base/relativedebug.exp: Invoke gdb command
3504 "info sharedlibrary", and if libc.so doesn't have debug info,
3507 2015-04-29 Doug Evans <dje@google.com>
3509 * gdb.python/py-xmethods.exp: Add ptype tests.
3510 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3511 get_result_type method.
3513 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3515 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3516 the target does not support hardware watchpoints.
3518 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3520 * gdb.base/break-always.exp: Abort testing if writing to memory
3523 2015-04-28 Doug Evans <dje@google.com>
3525 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3526 * gdb.python/py-pp-registration.exp: ... here. New file.
3527 * gdb.python/py-pp-registration.c: New file.
3528 * gdb.python/py-pp-registration.py: New file.
3530 2015-04-28 Doug Evans <dje@google.com>
3532 * gdb.python/py-bad-printers.c: New file.
3533 * gdb.python/py-bad-printers.py: New file.
3534 * gdb.python/py-bad-printers.exp: New file.
3536 2015-04-28 Sasha Smundak <asmundak@google.com>
3538 * gdb.python/py-type.exp: New test.
3540 2015-04-28 Andy Wingo <wingo@igalia.com>
3542 * gdb.python/py-parameter.exp:
3543 * gdb.guile/scm-parameter.exp: Escape the path that we are
3544 matching against, as it might contain characters that are special
3545 to regular expressions.
3547 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3549 * gdb.ada/rec_comp: New testcase.
3551 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3553 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3556 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3558 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3559 new tests for verilog output.
3561 2015-04-24 Yao Qi <yao.qi@linaro.org>
3563 * boards/remote-gdbserver-on-localhost.exp: New file.
3565 2015-04-23 Pedro Alves <palves@redhat.com>
3567 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3568 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3569 "end of file", remove $inferior_spawn_id from the indirect list.
3571 2015-04-23 Pedro Alves <palves@redhat.com>
3573 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3575 2015-04-23 Pedro Alves <palves@redhat.com>
3577 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3578 on $any_spawn_id instead of only on $gdb_spawn_id.
3580 2015-04-21 Pierre Muller <muller@sourceware.org>
3583 * lib/pascal.exp (gpc_compile): Add new option "class".
3584 (fpc_compile): Likewise.
3585 * gdb.pascal/case-insensitive-symbols.pas: New file.
3586 * gdb.pascal/case-insensitive-symbols.exp: New file.
3588 2015-04-20 Gary Benson <gbenson@redhat.com>
3590 * gdb.base/attach.exp: Fix three extended remote failures.
3592 2015-04-17 Gary Benson <gbenson@redhat.com>
3594 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3595 the main executable over the remote protocol.
3597 2015-04-16 Pedro Alves <palves@redhat.com>
3599 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3600 a new gdbserver if gdbserver_reconnect_p is set.
3602 2015-04-16 Pedro Alves <palves@redhat.com>
3604 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3605 is set, don't exit gdbserver.
3607 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3609 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3610 appropriate .insn, such that an older assembler can be used.
3611 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3612 the z/Architecture instruction set on 31-bit targets as well.
3614 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3616 * gdb.go/handcall.exp: Remove all logic related to the first
3617 breakpoint and rely on go_runto_main instead.
3618 * gdb.go/strings.exp: Likewise.
3619 * gdb.go/unsafe.exp: Likewise.
3620 * gdb.go/hello.exp: Likewise. Also rename the remaining
3621 breakpoint marker to "breakpoint 1".
3622 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3623 * gdb.go/strings.go: Likewise.
3624 * gdb.go/unsafe.go: Likewise.
3625 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3626 "set breakpoint 2 here" and rename the remaining breakpoint marker
3629 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3631 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3632 if itertools.imap is not present.
3633 * gdb.python/py-objfile.exp: Add parentheses.
3634 * gdb.python/py-type.exp: Same.
3635 * gdb.python/py-unwind-maint.py: Same.
3637 2015-04-15 Yao Qi <yao.qi@linaro.org>
3639 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3640 of ":$ptr_size" and set its form explicitly.
3642 2015-04-15 Pedro Alves <palves@redhat.com>
3643 Yao Qi <yao.qi@linaro.org>
3645 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3646 timeout by factor of 4.
3647 (test_regular_watch): Likewise.
3648 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3649 * gdb.reverse/sigall-reverse.exp: Likewise.
3650 * gdb.reverse/until-precsave.exp: Likewise.
3651 * lib/gdb.exp (with_timeout_factor): New proc.
3652 (gdb_expect): Move some code to ...
3653 (get_largest_timeout): ... here. New procedure.
3655 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3657 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3659 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3661 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3662 to write to the .text section.
3664 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3666 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3667 Handle the case of targets that do not provide PID information.
3669 2015-04-13 Yao Qi <yao.qi@linaro.org>
3671 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3672 and use expect instead of gdb_expect.
3674 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3676 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3677 "coredump_var_addr" to avoid naming conflict with other testcases.
3679 2015-04-10 Pedro Alves <palves@redhat.com>
3681 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3682 gdb_test_sequence and gdb_assert.
3684 2015-04-10 Pedro Alves <palves@redhat.com>
3686 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3687 test messages that don't include the breakpoint address.
3689 2015-04-10 Yao Qi <yao.qi@linaro.org>
3691 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3692 false for some offset and width combinations which aren't
3693 supported by linux kernel.
3695 2015-04-10 Pedro Alves <palves@redhat.com>
3697 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3698 procedure, factored out from ...
3699 (top level): ... here. Add "set displaced-stepping" testing axis.
3700 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3701 parameter "displaced". Use it.
3702 (top level): Use foreach and add "set displaced-stepping" testing
3705 2015-04-10 Pedro Alves <palves@redhat.com>
3707 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3709 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3710 both the address of the instruction that triggers the watchpoint
3711 and the address of the instruction immediately after, and use
3712 those addresses for the test. Fix comment.
3714 2015-04-10 Pedro Alves <palves@redhat.com>
3716 * gdb.base/sigstep.exp (breakpoint_to_handler)
3717 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3718 Test "backtrace" in handler.
3719 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3720 (top level): Add new "displaced" test axis to
3721 breakpoint_to_handler, breakpoint_to_handler_entry and
3722 breakpoint_over_handler.
3724 2015-04-10 Pedro Alves <palves@redhat.com>
3727 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3729 2015-04-10 Yao Qi <yao.qi@linaro.org>
3731 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3732 (test_add_rn_pc): New function.
3733 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3734 (top level): Invoke test_add_rn_pc.
3736 2015-04-10 Pedro Alves <palves@redhat.com>
3739 * gdb.base/step-over-no-symbols.exp: New file.
3741 2015-04-09 Andy Wingo <wingo@igalia.com>
3743 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3744 after the Python tests.
3746 2015-04-08 Keith Seitz <keiths@redhat.com>
3749 * gdb.python/py-completion.exp: New tests for completion.
3750 * gdb.python/py-completion.py (CompleteLimit1): New class.
3751 (CompleteLimit2): Likewise.
3752 (CompleteLimit3): Likewise.
3753 (CompleteLimit4): Likewise.
3754 (CompleteLimit5): Likewise.
3755 (CompleteLimit6): Likewise.
3756 (CompleteLimit7): Likewise.
3758 2015-04-08 Pedro Alves <palves@redhat.com>
3762 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3764 (main): Install it as SIGUSR1 handler.
3765 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3766 parameter. Always use "setup" as prefix. Toggle "set
3767 displaced-stepping" off/on depending on global. Don't switch to
3769 (top level): Add displaced stepping "off/on" test axis. Update
3770 "setup" calls. Wrap each subtest with with_test_prefix. Test
3771 continuing with a queued signal in each thread.
3773 2015-04-08 Pedro Alves <palves@redhat.com>
3775 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3776 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3777 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3778 Return early if running to main fails.
3779 * gdb.trace/while-stepping.exp: Likewise.
3781 2015-04-07 Pedro Alves <palves@redhat.com>
3783 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3784 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3785 interact with inferior program.
3787 2015-04-07 Pedro Alves <palves@redhat.com>
3789 * lib/gdb.exp (inferior_spawn_id): New global.
3790 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3791 spawn id after processing the user code.
3792 (default_gdb_start): Set inferior_spawn_id.
3793 (send_inferior): New procedure.
3794 * lib/gdbserver-support.exp (gdbserver_start): Set
3796 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3798 2015-04-07 Pedro Alves <palves@redhat.com>
3800 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3801 * lib/gdbserver-support.exp (gdbserver_start): Make
3802 $server_spawn_id global.
3803 (gdbserver_start): Don't wait for gdbserver's spawn id with
3805 (close_gdbserver): New procedure.
3806 (gdb_exit): Rename the default version and reimplement.
3808 2015-04-07 Pedro Alves <palves@redhat.com>
3810 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3811 append the substituted item, not the original item.
3813 2015-04-07 Pedro Alves <palves@redhat.com>
3815 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3818 2015-04-07 Pedro Alves <palves@redhat.com>
3820 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3821 output appearing once only.
3823 2015-04-07 Pedro Alves <palves@redhat.com>
3825 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3826 that doesn't expect anything. Return early if running to main
3829 2015-04-07 Yao Qi <yao.qi@linaro.org>
3831 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3832 (child_function): Call alarm.
3833 (main): Move call to alarm into the loop.
3834 * gdb.threads/non-stop-fair-events.exp: Build program with
3837 2015-04-06 Doug Evans <xdje42@gmail.com>
3839 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3840 Fix dest parameter to board_info.
3841 (fpc_compile): Ditto.
3842 (gdb_compile_pascal): Rename dest arg to destfile.
3844 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3846 * gdb.ada/funcall_ref.exp: New file.
3847 * gdb.ada/funcall_ref/foo.adb: New file.
3849 2015-04-02 Yao Qi <yao.qi@linaro.org>
3851 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3854 2015-04-02 Gary Benson <gbenson@redhat.com>
3856 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3858 2015-04-01 Sasha Smundak <asmundak@google.com>
3860 * gdb.python/py-unwind-maint.c: New file.
3861 * gdb.python/py-unwind-maint.exp: New test.
3862 * gdb.python/py-unwind-maint.py: New file.
3863 * gdb.python/py-unwind.c: New file.
3864 * gdb.python/py-unwind.exp: New test.
3865 * gdb.python/py-unwind.py: New test.
3867 2015-04-01 Pedro Alves <palves@redhat.com>
3869 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3870 to fail instead of non-existent $test.
3872 2015-04-01 Pedro Alves <palves@redhat.com>
3874 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3875 GDBFLAGS if not empty.
3877 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3879 * gdb.ada/complete.exp: Remove "multi_line".
3880 * gdb.ada/info_exc.exp: Remove "multi_line".
3881 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3882 * gdb.ada/ptype_field.exp: Remove "multi_line".
3883 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3884 * gdb.ada/tagged.exp: Remove "multi_line".
3885 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3887 * gdb.btrace/delta.exp: Likewise.
3888 * gdb.btrace/exception.exp: Likewise.
3889 * gdb.btrace/function_call_history.exp: Likewise.
3890 * gdb.btrace/instruction_history.exp: Likewise.
3891 * gdb.btrace/nohist.exp: Likewise.
3892 * gdb.btrace/record_goto.exp: Likewise.
3893 * gdb.btrace/segv.exp: Likewise.
3894 * gdb.btrace/stepi.exp: Likewise.
3895 * gdb.btrace/tailcall.exp: Likewise.
3896 * gdb.btrace/unknown_functions.exp: Likewise.
3897 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3898 * lib/gdb.exp: Add the "multi_line" helper.
3900 2015-04-01 Pedro Alves <palves@redhat.com>
3902 * gdb.threads/tid-reuse.c: New file.
3903 * gdb.threads/tid-reuse.exp: New file.
3905 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3908 * gdb.base/coredump-filter.c: New file.
3909 * gdb.base/coredump-filter.exp: Likewise.
3911 2015-03-27 Petr Machata <pmachata@redhat.com>
3913 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3914 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3915 (Dwarf::assemble): Initialize them.
3916 (Dwarf::lines): New function.
3918 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3920 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3921 SYMBOL_PREFIX for x86_64-*-cygwin.
3923 2015-03-26 Andy Wingo <wingo@igalia.com>
3926 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3927 const_value but not a location.
3928 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3929 location defined in non-main CUs are visible.
3931 2015-03-26 Yao Qi <yao.qi@linaro.org>
3934 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3935 Add a line number entry for the same line.
3936 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3937 Add a line number entry for the same line.
3939 2015-03-26 Yao Qi <yao.qi@linaro.org>
3941 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3943 (func): Likewise. Add .Lfunc_1 label.
3945 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3950 2015-03-26 Yao Qi <yao.qi@linaro.org>
3952 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3953 Call gdb_compile instead to compile each .s files without debug
3956 2015-03-26 Yao Qi <yao.qi@linaro.org>
3958 * gdb.base/savedregs.exp (process_saved_regs): Make
3959 "Saved registers:" optional in the pattern.
3961 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3963 * gdb.btrace/next.exp: Merged into step.exp.
3964 * gdb.btrace/finish.exp: Merged into step.exp.
3965 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3966 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3967 "record goto" and checking the exact replay position.
3968 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3969 check for "Recording format" in "info record" output.
3970 * gdb.btrace/record_goto.exp: Choose test file based on target.
3971 * gdb.btrace/x86-record_goto.S: Renamed into ...
3972 * gdb.btrace/x86_64-record_goto.S: ... this.
3973 * gdb.btrace/i686-record_goto.S: New.
3974 * gdb.btrace/x86-tailcall.S: Renamed into ...
3975 * gdb.btrace/x86_64-tailcall.S: ... this.
3976 * gdb.btrace/i686-tailcall.S: New.
3977 * gdb.btrace/x86-tailcall.c: Renamed into ...
3978 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3979 separate statements. Update test.
3980 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3981 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3982 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3983 * gdb.btrace/tailcall.exp: Choose test file based on target.
3984 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3986 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3988 * gdb.btrace/exception.exp: Increase BTS buffer size.
3990 2015-03-24 Pedro Alves <palves@redhat.com>
3992 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3994 2015-03-24 Pedro Alves <palves@redhat.com>
3996 * gdb.threads/schedlock.exp (test_step): No longer expect that
3997 "set scheduler-locking step" with "next" over a function call runs
4000 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4002 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
4004 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
4006 PR breakpoints/16466
4007 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
4008 * gdb.mi/mi-pending.c (thread_func): New function.
4009 (int main): Add threading support required.
4010 * gdb.mi/mi-pending.exp: Add tests for this issue.
4011 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
4012 (pendfunc2): Remove stdio dependency.
4013 * gdb.mi/mi-pendshr2.c: New file.
4015 2015-03-23 Keith Seitz <keiths@redhat.com>
4017 * gdb.linespec/keywords.c: New file.
4018 * gdb.linespec/keywords.exp: New file.
4020 2015-03-23 Keith Seitz <keiths@redhat.com>
4023 * gdb.dwarf2/staticvirtual.exp: New test.
4025 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
4027 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
4028 * README: Remove HP-UX and gdb.hp.
4030 * configure: Regenerate.
4031 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
4032 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
4033 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
4034 gdb.hp/gdb.defects/Makefile.
4035 * gdb.hp/Makefile.in: File deleted.
4036 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
4037 * gdb.hp/gdb.aCC/optimize.c: File deleted.
4038 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
4039 * gdb.hp/gdb.aCC/run.c: File deleted.
4040 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
4041 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
4042 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
4043 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
4044 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
4045 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
4046 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
4047 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
4048 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
4049 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
4050 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
4051 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
4052 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
4053 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
4054 * gdb.hp/gdb.base-hp/reg.s: File deleted.
4055 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4056 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4057 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4058 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4059 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4060 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4061 * gdb.hp/gdb.compat/average.c: File deleted.
4062 * gdb.hp/gdb.compat/sum.c: File deleted.
4063 * gdb.hp/gdb.compat/xdb.c: File deleted.
4064 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4065 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4066 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4067 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4068 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4069 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4070 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4071 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4072 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4073 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4074 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4075 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4076 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4077 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4078 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4079 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4080 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4081 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4082 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4083 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4084 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4085 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4086 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4087 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4088 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4089 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4090 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4091 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4092 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4093 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4094 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4095 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4096 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4097 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4098 * gdb.hp/tools/odump: File deleted.
4100 2015-03-19 Pedro Alves <palves@redhat.com>
4102 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4103 (saw_thread_3): New globals.
4104 (top level): Increment them when an event for the corresponding
4106 (no thread starvation): New test.
4108 2015-03-19 Pedro Alves <palves@redhat.com>
4110 * gdb.threads/continue-pending-status.c: New file.
4111 * gdb.threads/continue-pending-status.exp: New file.
4113 2015-03-18 Pedro Alves <palves@redhat.com>
4115 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4116 Use gdb_is_target_remote instead of is_remote. Use
4117 gdb_test_multiple instead of gdb_expect. Exit early if
4118 gdb_test_multiple hits its internal matches. Tighten stepi tests
4119 expected output. Fail on exit with any signal, instead of just
4122 2015-03-18 Yao Qi <yao.qi@linaro.org>
4125 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4127 * gdb.base/catch-syscall.exp: Don't skip it on
4128 aarch64*-*-linux* target. Remove elements in all_syscalls.
4129 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4131 (setup_all_syscalls): New proc.
4133 2015-03-16 Yao Qi <yao.qi@linaro.org>
4135 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4136 (top level): Skip tests if valid_addr_p returns false for
4139 2015-03-11 Andy Wingo <wingo@igalia.com>
4141 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4143 2015-03-11 Yao Qi <yao.qi@linaro.org>
4145 * gdb.base/catch-syscall.exp: Fix typo in comments.
4147 2015-03-11 Yao Qi <yao.qi@linaro.org>
4149 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4151 2015-03-09 Pedro Alves <palves@redhat.com>
4153 * dg-extract-results.py: Delete.
4155 2015-03-09 Pedro Alves <palves@redhat.com>
4157 Merge dg-extract-results.sh from GCC upstream (r218843).
4159 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4160 * dg-extract-results.sh: Use --text with grep to avoid issues with
4161 binary files. Fall back to cat -v, if that doesn't work.
4163 2015-03-05 Pedro Alves <palves@redhat.com>
4165 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4167 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4169 * lib/mi-support.exp (mi_expect_interrupt): Accept
4170 alternative event for when in all-stop mode.
4172 2015-03-04 Pedro Alves <palves@redhat.com>
4174 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4176 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4178 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4180 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4182 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4183 regexps for GDB's current line display, accept a hex address
4184 preceding the line number.
4186 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4188 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4189 the 'arch1' variable for "s390*-linux*" targets.
4191 2015-03-04 Pedro Alves <palves@redhat.com>
4193 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4194 (main): Pass missing retval argument to pthread_join call.
4196 2015-03-02 Pedro Alves <palves@redhat.com>
4198 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4199 (top level): Call do_test with non-stop as well.
4201 2015-03-02 Pedro Alves <palves@redhat.com>
4203 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4206 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4208 * gdb.arch/s390-vregs.exp: New test.
4209 * gdb.arch/s390-vregs.S: New file.
4211 2015-02-27 Pedro Alves <palves@redhat.com>
4213 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4214 call to catch_command_errors.
4215 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4216 catch_command_errors.
4218 2015-02-27 Pedro Alves <palves@redhat.com>
4220 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4221 "true" for boolean result.
4222 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4225 2015-02-27 Pedro Alves <palves@redhat.com>
4227 * lib/unbuffer_output.c: New file.
4228 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4229 (main): Call gdb_unbuffer_output.
4231 2015-02-27 Yao Qi <yao.qi@linaro.org>
4233 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4236 2015-02-26 Doug Evans <dje@google.com>
4238 * gdb.cp/class2.cc (Dbase, D): New classes.
4239 (main): New local delta.
4240 * gdb.cp/class2.exp: Test printing delta.
4241 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4242 (dynbar): New global.
4243 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4245 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4247 * gdb.compile/compile-ifunc.c: New file.
4248 * gdb.compile/compile-ifunc.exp: New file.
4250 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4252 * gdb.base/structs.exp: Check for correct struct on finish.
4254 2015-02-26 Yao Qi <yao.qi@linaro.org>
4256 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4259 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4261 * gdb.arch/cordic.ko.bz2: New file.
4262 * gdb.arch/cordic.ko.debug.bz2: New file.
4263 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4265 2015-02-25 Yao Qi <yao.qi@linaro.org>
4267 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4268 aarch64*-*-* target.
4270 2015-02-23 Pedro Alves <palves@redhat.com>
4272 * lib/gdb.exp (delete_breakpoints): Rewrite using
4275 2015-02-23 Pedro Alves <palves@redhat.com>
4277 * gdb.base/info-os.c: Include stdlib.h.
4279 2015-02-22 Doug Evans <xdje42@gmail.com>
4282 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4283 is read after symbols have been re-read.
4284 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4285 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4287 2015-02-21 Doug Evans <dje@google.com>
4289 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4291 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4294 * gdb.arch/i386-biarch-core.core.bz2: New file.
4295 * gdb.arch/i386-biarch-core.exp: New file.
4297 2015-02-21 Pedro Alves <palves@redhat.com>
4299 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4302 2015-02-20 Pedro Alves <palves@redhat.com>
4304 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4307 2015-02-20 Pedro Alves <palves@redhat.com>
4309 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4311 2015-02-20 Pedro Alves <palves@redhat.com>
4313 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4314 clean_restart before gdb_target_supports_trace.
4316 2015-02-20 Pedro Alves <palves@redhat.com>
4319 * gdb.threads/clone-thread_db.c: New file.
4320 * gdb.threads/clone-thread_db.exp: New file.
4322 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4324 PR breakpoints/16812
4325 * gdb.base/catch-gdb-caused-signals.c: New file.
4326 * gdb.base/catch-gdb-caused-signals.exp: New file.
4328 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4330 * configure: Regenerated.
4331 * configure.ac: Use GDB_AC_TRANSFORM.
4332 * aclocal.m4: sinclude ../transform.m4.
4334 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4336 * lib/dtrace.exp: New file.
4337 * gdb.base/dtrace-probe.exp: Likewise.
4338 * gdb.base/dtrace-probe.d: Likewise.
4339 * gdb.base/dtrace-probe.c: Likewise.
4340 * lib/pdtrace.in: Likewise.
4341 * configure.ac: Output variables with the transformed names of
4342 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4343 * configure: Regenerated.
4345 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4347 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4348 expected message when trying to access $_probe_* convenience
4349 variables while not on a probe.
4351 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4353 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4355 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4357 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4358 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4360 2015-02-10 Doug Evans <xdje42@gmail.com>
4362 * lib/gdb.exp (gdb_load): Always return a result.
4364 2015-02-10 Pedro Alves <palves@redhat.com>
4366 * gdb.threads/signal-sigtrap.c: New file.
4367 * gdb.threads/signal-sigtrap.exp: New file.
4369 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4371 * gdb.trace/no-attach-trace.c: New file.
4372 * gdb.trace/no-attach-trace.exp: New file.
4374 2015-02-09 Mark Wielaard <mjw@redhat.com>
4376 * gdb.dwarf2/atomic.c: New file.
4377 * gdb.dwarf2/atomic-type.exp: Likewise.
4379 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4381 * gdb.btrace/buffer-size.exp: Update "info record" output.
4382 * gdb.btrace/delta.exp: Update "info record" output.
4383 * gdb.btrace/enable.exp: Update "info record" output.
4384 * gdb.btrace/finish.exp: Update "info record" output.
4385 * gdb.btrace/instruction_history.exp: Update "info record" output.
4386 * gdb.btrace/next.exp: Update "info record" output.
4387 * gdb.btrace/nexti.exp: Update "info record" output.
4388 * gdb.btrace/step.exp: Update "info record" output.
4389 * gdb.btrace/stepi.exp: Update "info record" output.
4390 * gdb.btrace/nohist.exp: Update "info record" output.
4392 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4394 * gdb.btrace/buffer-size: New.
4396 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4398 * gdb.btrace/delta.exp: Update "info record" output.
4399 * gdb.btrace/enable.exp: Update "info record" output.
4400 * gdb.btrace/finish.exp: Update "info record" output.
4401 * gdb.btrace/instruction_history.exp: Update "info record" output.
4402 * gdb.btrace/next.exp: Update "info record" output.
4403 * gdb.btrace/nexti.exp: Update "info record" output.
4404 * gdb.btrace/step.exp: Update "info record" output.
4405 * gdb.btrace/stepi.exp: Update "info record" output.
4406 * gdb.btrace/nohist.exp: Update "info record" output.
4408 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4411 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4413 2015-02-06 Pedro Alves <palves@redhat.com>
4415 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4417 (seconds_left, again): New globals.
4418 (main): Wait seconds_left in a 1-second sleep loop instead of
4419 sleeping 180 seconds. If 'again' is set, reset the seconds
4421 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4422 'again' in the inferior before detaching. Print the seconds left.
4423 (options): New global.
4424 (top level): Build program with -DTIMEOUT=$timeout.
4426 2015-02-06 Pedro Alves <palves@redhat.com>
4428 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4429 determine how many seconds to pass to 'alarm'.
4430 * gdb.base/gdb-sigterm.exp (top level): Build program with
4432 (do_test): Return success/failure indication. Add more verbose
4433 logging. Don't fail if 200 single steps are seen. Instead, fail
4434 when the test times out.
4435 (passes): New global.
4436 (top level): Break the testing loop if testing fails on any
4437 iteration. Use gdb_assert.
4439 2015-02-04 Don Breazeal <donb@codesourcery.com>
4441 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4442 and initialize them.
4443 (ipc_cleanup): New function.
4444 (main): Don't declare shmid, semid, and msqid. Add a call to
4445 atexit so that we call ipc_cleanup on exit.
4447 2015-02-04 Pedro Alves <palves@redhat.com>
4449 * boards/native-extended-gdbserver.exp: Remove any target variant
4450 specifications from the board name before clearing the isremote
4451 flag from board_info.
4453 2015-01-31 Doug Evans <xdje42@gmail.com>
4455 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4457 2015-01-31 Gary Benson <gbenson@redhat.com>
4459 * gdb.base/completion.exp: Disable completion limiting for
4460 existing tests. Add new tests to check completion limiting.
4461 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4463 2015-01-31 Doug Evans <xdje42@gmail.com>
4465 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4467 2015-01-31 Doug Evans <xdje42@gmail.com>
4469 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4470 entries. Duplicate file section script entries.
4471 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4472 inlined entries. Add test for safe-path rejection.
4473 * gdb.python/py-section-script.c: Add duplicate inlined section script
4474 entries. Duplicate file section script entries.
4475 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4476 inlined entries. Add test for safe-path rejection.
4478 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4480 * gdb.ada/disc_arr_bound: New testcase.
4482 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4484 * gdb.ada/mi_var_array: New testcase.
4486 2015-01-27 Doug Evans <dje@google.com>
4488 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4489 Add test for objfile.filename, objfile.username after objfile
4492 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4494 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4495 the second test to print the name attribute of value
4496 returned by the call to gdb.lookup_type, and adjust
4497 the expected output accordingly.
4499 2015-01-25 Mark Wielaard <mjw@redhat.com>
4501 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4502 * gdb.base/disp-step-fork.c: Include unistd.h.
4503 * gdb.base/siginfo-obj.c: Include stdio.h.
4504 * gdb.base/siginfo-thread.c: Likewise.
4505 * gdb.mi/non-stop.c: Include unistd.h.
4506 * gdb.mi/nsthrexec.c: Include stdio.h.
4507 * gdb.mi/pthreads.c: Include unistd.h.
4508 * gdb.modula2/unbounded1.c (main): Declare returns int.
4509 * gdb.reverse/consecutive-reverse.c: Likewise.
4510 * gdb.threads/create-fail.c: Include unistd.h.
4511 * gdb.threads/killed.c: Likewise.
4512 * gdb.threads/linux-dp.c: Likewise.
4513 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4514 * gdb.threads/non-ldr-exc-2.c: Likewise.
4515 * gdb.threads/non-ldr-exc-3.c: Likewise.
4516 * gdb.threads/non-ldr-exc-4.c: Likewise.
4517 * gdb.threads/pthreads.c: Include unistd.h.
4518 (main): Declare returns int.
4519 * gdb.threads/tls-main.c (foo): New declaration.
4520 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4522 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4524 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4525 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4527 2015-01-15 Mark Wielaard <mjw@redhat.com>
4529 * gdb.base/noreturn-return.c: New file.
4530 * gdb.base/noreturn-return.exp: New file.
4531 * gdb.base/noreturn-finish.c: New file.
4532 * gdb.base/noreturn-finish.exp: New file.
4534 2015-01-23 Pedro Alves <palves@redhat.com>
4536 * gdb.threads/continue-pending-after-query.c: New file.
4537 * gdb.threads/continue-pending-after-query.exp: New file.
4539 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4540 Simon Marchi <simon.marchi@ericsson.com>
4542 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4543 * gdb.base/valgrind-db-attach.exp: Same.
4544 * gdb.base/valgrind-infcall.exp: Same.
4545 * lib/mi-support.exp (default_mi_gdb_start): Same.
4546 * lib/prompt.exp (default_prompt_gdb_start): Same.
4547 * lib/gdb.exp (default_gdb_spawn): Same.
4548 (gdb_interact): New.
4551 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4553 * gdb.compile/compile.exp (pointer to jit function): New test.
4555 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4557 * lib/gdb.exp (supports_process_record): Return true for
4559 (supports_reverse): Likewise.
4561 2015-01-15 Don Breazeal <donb@codesourcery.com>
4563 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4564 instead of checking whether the target board is remote and
4565 use spawn_wait_for_attach instead of exec/sleep.
4566 * gdb.base/attach-twice.exp: Likewise.
4568 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4570 * gdb.ada/var_arr_attrs: New testcase.
4572 2015-01-14 Pedro Alves <palves@redhat.com>
4573 Joel Brobecker <brobecker@adacore.com>
4576 * gdb.base/bp-cmds-execution-x-script.c: New file.
4577 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4578 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4580 2015-01-14 Pedro Alves <palves@redhat.com>
4583 * gdb.base/batch-preserve-term-settings.c: New file.
4584 * gdb.base/batch-preserve-term-settings.exp: New file.
4586 2015-01-13 Doug Evans <dje@google.com>
4588 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4591 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4593 * Makefile.in (clean mostlyclean): Do not delete *.py.
4595 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4597 * gdb.python/py-lookup-type.exp: New file.
4599 2015-01-12 Pedro Alves <palves@redhat.com>
4601 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4602 restore GDBFLAGS before returning.
4604 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4606 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4607 is_amd64_regs_target and is_x86_like_target.
4609 2015-01-11 Doug Evans <xdje42@gmail.com>
4611 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4612 is given without an explicit form.
4613 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4615 * gdb.dwarf/corrupt.exp: Ditto.
4616 * gdb.dwarf2/enum-type.exp: Ditto.
4617 * gdb.trace/entry-values.exp: Ditto.
4618 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4620 2015-01-11 Doug Evans <xdje42@gmail.com>
4623 * gdb.base/maint.exp: Remove references to "maint demangle".
4624 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4625 Add tests for explicitly specifying language to demangle.
4626 * gdb.dlang/demangle.exp: Ditto.
4628 2015-01-09 Pedro Alves <palves@redhat.com>
4630 * gdb.threads/non-stop-fair-events.c: New file.
4631 * gdb.threads/non-stop-fair-events.exp: New file.
4633 2015-01-09 Pedro Alves <palves@redhat.com>
4635 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4636 the global scope. Set a breakpoint after all threads are started
4637 rather than stepping over two source lines. Expect the prompt.
4638 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4641 (main): Use threads_started_barrier to wait for all threads to
4642 start. Main thread no longer calls thread_function. Exit after
4644 (loop): New function.
4645 (thread_function): Wait on threads_started_barrier barrier. Call
4646 'loop' at each iteration.
4647 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4648 threads have started, instead of hardcoding number of "next"
4649 steps. Use an access watchpoint instead of a write watchpoint.
4651 2015-01-09 Pedro Alves <palves@redhat.com>
4653 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4654 (thread_func): Wait on barrier.
4655 (main): Wait for all threads to start before stopping GDB.
4656 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4658 (thread1_func, thread2_func): Wait on barrier.
4659 (main): Wait for all threads to start before stopping GDB.
4660 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4662 (thread1_func, thread2_func): Wait on barrier.
4663 (main): Wait for all threads to start before stopping GDB.
4665 2015-01-09 Pedro Alves <palves@redhat.com>
4667 * gdb.threads/attach-many-short-lived-threads.c: New file.
4668 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4670 2014-01-09 Pedro Alves <palves@redhat.com>
4672 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4673 instead of to thread 2.
4674 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4675 Add barrier around each pthread_create call instead of around all
4677 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4678 Set a break on thread_function and have the child threads hit it
4681 2015-01-09 Pedro Alves <palves@redhat.com>
4683 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4684 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4686 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4687 checking whether the target board is remote.
4688 * gdb.multi/multi-attach.exp: Likewise.
4689 * gdb.python/py-sync-interp.exp: Likewise.
4690 * gdb.server/ext-attach.exp: Likewise.
4691 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4692 tests that need to attach, instead of checking whether the target
4693 board is remote at the top of the file.
4695 2015-01-08 Yao Qi <yao@codesourcery.com>
4697 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4699 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4701 Fix testcase compilation.
4702 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4704 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4706 * gdb.python/py-type.exp: Add a couple test about empty
4707 array creation, and negative-length array creation.
4709 2015-01-02 Doug Evans <xdje42@gmail.com>
4711 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4713 2015-01-02 Doug Evans <dje@google.com>
4715 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4717 2014-12-29 Yao Qi <yao@codesourcery.com>
4719 * gdb.trace/entry-values.exp: Update comments. Rename variable
4720 bar_call_foo to returned_from_foo.
4722 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4725 * gdb.linespec/break-asm-file.c: New file.
4726 * gdb.linespec/break-asm-file.exp: New file.
4727 * gdb.linespec/break-asm-file0.s: New file.
4728 * gdb.linespec/break-asm-file1.s: New file.
4730 2014-12-18 Nigel Stephens <nigel@mips.com>
4731 Maciej W. Rozycki <macro@codesourcery.com>
4733 * gdb.base/float.exp: Handle the new output from "info float" on
4736 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4738 Fix MinGW compilation.
4739 * gdb.compile/compile-ops.exp: Update untested message if
4740 !skip_compile_feature_tests.
4741 * gdb.compile/compile-setjmp.exp: Likewise.
4742 * gdb.compile/compile-tls.exp: Likewise.
4743 * gdb.compile/compile.exp: Likewise.
4744 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4745 supported on this host".
4747 2014-12-16 Doug Evans <xdje42@gmail.com>
4749 * boards/stabs.exp: New file.
4751 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4753 * gdb.base/completion.exp: Adjust to format changes of "maint
4754 print user-registers".
4756 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4759 * gdb.arch/aarch64-fp.c: New file.
4760 * gdb.arch/aarch64-fp.exp: New file.
4762 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4764 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4765 r210637, r210913, r211666, r215400, r215817).
4767 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4768 * dg-extract-results.py: New file.
4769 * dg-extract-results.sh: Use it if the environment seems
4772 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4774 * dg-extract-results.py (parse_run): Handle warnings that
4775 are printed before a test harness is run.
4777 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4779 * dg-extract-results.py (Named): Remove __cmp__ method.
4780 (output_variation): Use a key to sort variation.harnesses.
4782 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4784 * dg-extract-results.py: For Python 3, force sys.stdout to
4785 handle surrogate escape sequences.
4786 (safe_open): New function.
4787 (output_segment, main): Use it.
4789 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4791 * dg-extract-results.py (Prog.result_re): Include options
4794 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4796 * dg-extract-results.py (output_variation): Always sort if
4799 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4801 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4802 as long as we get pagination notifications.
4804 2014-12-15 Jason Merrill <jason@redhat.com>
4806 * Makefile.in (check-gdb.%): Restore.
4807 * README: Mention it.
4809 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4811 * gdb.ada/str_uninit: New testcase.
4813 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4816 * gdb.base/vla-stub-define.c: New file.
4817 * gdb.base/vla-stub.c: New file.
4818 * gdb.base/vla-stub.exp: New file.
4820 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4821 Jan Kratochvil <jan.kratochvil@redhat.com>
4822 Tom Tromey <tromey@redhat.com>
4824 * configure.ac: Add gdb.compile/.
4825 * configure: Regenerate.
4826 * gdb.compile/Makefile.in: New file.
4827 * gdb.compile/compile-ops.exp: New file.
4828 * gdb.compile/compile-ops.c: New file.
4829 * gdb.compile/compile-tls.c: New file.
4830 * gdb.compile/compile-tls.exp: New file.
4831 * gdb.compile/compile-constvar.S: New file.
4832 * gdb.compile/compile-constvar.c: New file.
4833 * gdb.compile/compile-mod.c: New file.
4834 * gdb.compile/compile-nodebug.c: New file.
4835 * gdb.compile/compile-setjmp-mod.c: New file.
4836 * gdb.compile/compile-setjmp.c: New file.
4837 * gdb.compile/compile-setjmp.exp: New file.
4838 * gdb.compile/compile-shlib.c: New file.
4839 * gdb.compile/compile.c: New file.
4840 * gdb.compile/compile.exp: New file.
4841 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4843 2014-12-12 Tom Tromey <tromey@redhat.com>
4845 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4846 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4848 2014-12-12 Doug Evans <dje@google.com>
4850 * lib/gdb-python.exp (get_python_valueof): New function.
4851 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4853 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4855 * gdb.base/completion.exp: Add test for completion of "info
4858 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4860 * gdb.base/func-ptrs.c: New file.
4861 * gdb.base/func-ptrs.exp: New file.
4863 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4865 PR breakpoints/17012
4866 * gdb.base/dprintf-detach.c: New file.
4867 * gdb.base/dprintf-detach.exp: New file.
4869 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4871 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4872 * lib/gdb.exp (target_is_gdbserver): New procedure.
4874 2014-12-08 Doug Evans <dje@google.com>
4876 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4878 2014-12-05 Yao Qi <yao@codesourcery.com>
4880 * gdb.guile/scm-error.exp: Remove the third argument to
4881 gdb_remote_download.
4882 * gdb.guile/scm-frame-args.exp: Likewise.
4883 * gdb.guile/scm-section-script.exp: Likewise.
4885 2014-12-05 Yao Qi <yao@codesourcery.com>
4887 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4889 2014-12-04 Doug Evans <dje@google.com>
4891 * gdb.python/py-objfile.exp: Add tests for
4892 objfile.add_separate_debug_file.
4894 2014-12-04 Doug Evans <dje@google.com>
4896 * lib/gdb.exp (get_build_id): New function.
4897 (build_id_debug_filename_get): Rewrite to use it.
4898 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4900 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4902 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4903 `method(long)', not just 0x0.
4904 * gdb.cp/nsalias.exp: Align code labels to 4.
4905 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4906 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4907 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4908 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4909 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4910 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4912 2014-12-02 Doug Evans <dje@google.com>
4915 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4916 * gdb.cp/anon-ns2.cc: ... here. New file.
4917 * gdb.cp/anon-ns.exp: Update.
4919 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4921 * gdb.python/py-events.py (inferior_call_handler): New.
4922 (register_changed_handler, memory_changed_handler): New.
4923 (test_events.invoke): Register new handlers.
4924 * gdb.python/py-events.exp: Add tests for inferior call,
4925 memory_changed and register_changed events.
4927 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4929 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4930 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4931 if the linker doesn't understand this.
4933 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4935 * gdb.python/python.exp: Change expected reply to help().
4937 2014-12-01 Yao Qi <yao@codesourcery.com>
4939 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4940 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4941 * configure: Re-generated.
4943 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4945 * gdb.cp/chained-calls.cc: New file.
4946 * gdb.cp/chained-calls.exp: New file.
4947 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4949 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4951 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4952 * gdb.dwarf2/symtab-producer.exp: Same.
4953 * gdb.gdb/python-interrupts.exp: Same.
4954 * gdb.gdb/python-selftest.exp: Same.
4955 * gdb.python/py-linetable.exp: Same.
4956 * gdb.python/py-type.exp: Same.
4957 * gdb.python/py-value-cc.exp: Same.
4958 * gdb.python/py-value.exp: Same.
4960 2014-11-28 Yao Qi <yao@codesourcery.com>
4962 * gdb.base/break-probes.exp: Match library name prefixed with
4965 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4967 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4968 test expected output. Add parentheses for the call to print.
4969 Remove L suffix from integers.
4971 2014-11-26 Doug Evans <dje@google.com>
4973 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4975 2014-11-22 Yao Qi <yao@codesourcery.com>
4977 * gdb.trace/entry-values.c: Remove asms.
4978 (foo): Add foo_label.
4979 (bar): Add bar_label.
4980 * gdb.trace/entry-values.exp: Remove code computing foo's
4981 length and bar's length.
4982 (Dwarf::assemble): Invoke function_range for bar and use
4983 MACRO_AT_func for foo.
4985 2014-11-22 Yao Qi <yao@codesourcery.com>
4987 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4988 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4989 Use .Lgcc43_procstart instead of gcc43.
4991 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4993 * gdb.ada/n_arr_bound: New testcase.
4995 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4997 PR breakpoints/10737
4998 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4999 test_catch_syscall_multi_arch.
5000 (test_catch_syscall_multi_arch): New function.
5002 2014-11-20 Doug Evans <xdje42@gmail.com>
5004 * gdb.base/maint.exp: Update expected output.
5006 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
5008 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
5009 4-byte instruction on S390.
5011 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5013 * gdb.ada/arr_arr: New testcase.
5015 2014-11-19 Joel Brobecker <brobecker@adacore.com>
5017 * gdb.ada/pkd_arr_elem: New Testcase.
5019 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
5021 * gdb.reverse/break-precsave: Expect completion message for
5023 * gdb.reverse/consecutive-precsave.exp: Likewise.
5024 * gdb.reverse/finish-precsave.exp: Likewise.
5025 * gdb.reverse/i386-precsave.exp: Likewise.
5026 * gdb.reverse/machinestate-precsave.exp: Likewise.
5027 * gdb.reverse/sigall-precsave.exp: Likewise.
5028 * gdb.reverse/solib-precsave.exp: Likewise.
5029 * gdb.reverse/step-precsave.exp: Likewise.
5030 * gdb.reverse/until-precsave.exp: Likewise.
5031 * gdb.reverse/watch-precsave.exp: Likewise.
5033 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5035 * gdb.base/bp-permanent.c: Include unistd.h.
5036 * gdb.python/py-framefilter-mi.c (main): Add return type.
5037 * gdb.python/py-framefilter.c (main): Likewise.
5038 * gdb.trace/actions-changed.c (main): Likewise.
5040 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5042 * gdb.mi/until.c: Add eye-catchers.
5043 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
5046 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
5048 * gdb.base/condbreak.exp: Drop references to removed non-prototype
5049 function header variants in break1.c.
5050 * gdb.base/ena-dis-br.exp: Likewise.
5051 * gdb.base/hbreak2.exp: Likewise.
5052 * gdb.reverse/until-precsave.exp: Drop references to removed
5053 non-prototype function header variants in ur1.c.
5054 * gdb.reverse/until-reverse.exp: Likewise.
5056 2014-11-17 Petr Machata <pmachata@redhat.com>
5058 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5059 ${_cu_offset_size} bytes abbrev offset.
5061 2014-11-15 Doug Evans <xdje42@gmail.com>
5064 * gdb.base/line-symtabs.exp: New file.
5065 * gdb.base/line-symtabs.c: New file.
5066 * gdb.base/line-symtabs.h: New file.
5068 2014-11-14 Yao Qi <yao@codesourcery.com>
5070 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5071 (func): Add label func_label.
5072 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5073 Replace low_pc and high_pc with MACRO_AT_range.
5074 Replace name, low_pc and high_pc with MACRO_AT_func.
5076 2014-11-14 Yao Qi <yao@codesourcery.com>
5078 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5079 Replace name, low_pc and high_pc with MACRO_AT_func.
5081 2014-11-14 Yao Qi <yao@codesourcery.com>
5083 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5084 produce debug information.
5085 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5087 2014-11-14 Yao Qi <yao@codesourcery.com>
5089 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5090 object and get function length.
5091 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5093 (top-level): Replace gdb_compile and clean_restart with
5094 prepare_for_testing.
5095 * gdb.dwarf2/main.c (main): Add label main_label.
5097 2014-11-14 Yao Qi <yao@codesourcery.com>
5099 * lib/dwarf.exp (function_range): New procedure.
5100 (Dwarf::_handle_macro_at_func): New procedure.
5101 (Dwarf::_handle_macro_at_range): New procedure.
5102 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5104 2014-11-14 Yao Qi <yao@codesourcery.com>
5106 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5107 (_handle_attribute): New procedure.
5109 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5111 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5112 * gdb.base/call-sc.c (zed): Likewise.
5113 * gdb.base/checkpoint.c (main): Likewise.
5114 * gdb.base/dump.c (main): Likewise.
5115 * gdb.base/gcore.c (main): Likewise.
5116 * gdb.base/huge.c (main): Likewise.
5117 * gdb.base/multi-forks.c (main): Likewise.
5118 * gdb.base/pr10179-a.c (main): Likewise.
5119 * gdb.base/savedregs.c (main): Likewise.
5120 * gdb.base/sigaltstack.c (main): Likewise.
5121 * gdb.base/siginfo.c (main): Likewise.
5122 * gdb.base/structs.c (zed): Likewise.
5123 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5124 * gdb.mi/mi-syn-frame.c (main): Likewise.
5125 * gdb.mi/until.c (foo, main): Likewise.
5126 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5127 * gdb.base/solib-weak.c (foo): Declare.
5128 * gdb.base/attach-twice.c: Include stdio.h.
5129 * gdb.base/weaklib1.c: Likewise.
5130 * gdb.base/weaklib2.c: Likewise.
5131 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5132 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5134 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5135 * gdb.mi/mi-exit-code.c: Likewise.
5136 * gdb.base/break-interp-lib.c: Include string.h.
5137 * gdb.base/coremaker.c: Likewise.
5138 * gdb.base/testenv.c: Likewise.
5139 * gdb.python/py-finish-breakpoint.c: Likewise.
5140 * gdb.base/inferior-died.c: Include sys/wait.h.
5141 * gdb.base/fileio.c: Include time.h.
5142 * gdb.base/async-shell.c: Include unistd.h.
5143 * gdb.base/dprintf-non-stop.c: Likewise.
5144 * gdb.base/info-os.c: Likewise.
5145 * gdb.mi/mi-console.c: Likewise.
5146 * gdb.mi/watch-nonstop.c: Likewise.
5147 * gdb.python/py-events.c: Likewise.
5148 * gdb.base/async.c (baz): Move up before its invocation.
5149 * gdb.base/code_elim2.c (my_global_func): Likewise.
5150 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5151 * gdb.base/advance.c (func2): Likewise.
5153 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5155 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5157 * gdb.base/annota3.c: Likewise.
5158 * gdb.base/async.c: Likewise.
5159 * gdb.base/average.c: Likewise.
5160 * gdb.base/call-ar-st.c: Likewise.
5161 * gdb.base/call-rt-st.c: Likewise.
5162 * gdb.base/call-sc.c: Likewise.
5163 * gdb.base/call-strs.c: Likewise.
5164 * gdb.base/ending-run.c: Likewise.
5165 * gdb.base/execd-prog.c: Likewise.
5166 * gdb.base/exprs.c: Likewise.
5167 * gdb.base/foll-exec.c: Likewise.
5168 * gdb.base/foll-fork.c: Likewise.
5169 * gdb.base/foll-vfork.c: Likewise.
5170 * gdb.base/funcargs.c: Likewise.
5171 * gdb.base/gcore.c: Likewise.
5172 * gdb.base/jump.c: Likewise.
5173 * gdb.base/langs0.c: Likewise.
5174 * gdb.base/langs1.c: Likewise.
5175 * gdb.base/langs2.c: Likewise.
5176 * gdb.base/mips_pro.c: Likewise.
5177 * gdb.base/nodebug.c: Likewise.
5178 * gdb.base/opaque0.c: Likewise.
5179 * gdb.base/opaque1.c: Likewise.
5180 * gdb.base/recurse.c: Likewise.
5181 * gdb.base/run.c: Likewise.
5182 * gdb.base/scope0.c: Likewise.
5183 * gdb.base/scope1.c: Likewise.
5184 * gdb.base/setshow.c: Likewise.
5185 * gdb.base/setvar.c: Likewise.
5186 * gdb.base/shmain.c: Likewise.
5187 * gdb.base/shr1.c: Likewise.
5188 * gdb.base/shr2.c: Likewise.
5189 * gdb.base/sigall.c: Likewise.
5190 * gdb.base/signals.c: Likewise.
5191 * gdb.base/so-indr-cl.c: Likewise.
5192 * gdb.base/solib2.c: Likewise.
5193 * gdb.base/structs.c: Likewise.
5194 * gdb.base/sum.c: Likewise.
5195 * gdb.base/vforked-prog.c: Likewise.
5196 * gdb.base/watchpoint.c: Likewise.
5197 * gdb.reverse/shr2.c: Likewise.
5198 * gdb.reverse/until-reverse.c: Likewise.
5199 * gdb.reverse/ur1.c: Likewise.
5200 * gdb.reverse/watch-reverse.c: Likewise.
5202 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5204 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5206 * gdb.base/sepdebug.exp: Drop references to removed code.
5208 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5210 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5211 variant. Preserve original line numbering.
5212 * gdb.base/list1.c: Likewise.
5214 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5216 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5218 * gdb.base/break1.c: Likewise.
5219 * gdb.base/break.exp: Drop references to removed code.
5221 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5223 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5226 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5228 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5230 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5232 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5233 logic into perform_all_tests() and invoke it with and without
5234 function header prototypes.
5235 (do_function_calls): Remove conditional XFAIL for PR 5318.
5236 (rerun_and_prepare): Remove duplicate code.
5237 (perform_all_tests): New. Main logic moved here.
5239 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5241 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5242 code guarded by #ifdef NO_PROTOTYPES.
5243 (t_double_many_args): Likewise.
5244 (DEF_FUNC_MANY_ARGS_1): Likewise.
5245 (DEF_FUNC_VALUES_1): Likewise.
5246 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5247 guarded by #ifdef PROTOTYPES.
5249 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5251 * gdb.mi/mi-console.c: Add eye-catcher.
5252 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5253 instead of literal line number.
5255 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5257 * gdb.base/shr2.c: Add eye-catcher.
5258 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5261 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5263 * gdb.base/jump.c: Add eye-catchers.
5264 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5267 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5269 * gdb.base/execd-prog.c: Add eye-catchers.
5270 * gdb.base/foll-exec.c: Likewise.
5271 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5274 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5276 * gdb.base/ending-run.c: Add eye-catchers.
5277 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5278 literal line numbers.
5280 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5282 * gdb.base/call-rt-st.c: Add eye-catchers.
5283 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5284 literal line numbers.
5286 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5288 * gdb.base/call-ar-st.c: Add eye-catchers.
5289 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5290 literal line numbers.
5292 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5294 * gdb.base/average.c: Add eye-catchers.
5295 * gdb.base/sum.c: Likewise.
5296 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5297 regexps dynamically.
5299 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5301 * gdb.base/solib1.c: Add eye-catchers.
5302 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5303 literal line numbers.
5305 2014-11-12 Pedro Alves <palves@redhat.com>
5307 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5310 2014-11-12 Pedro Alves <palves@redhat.com>
5312 * gdb.arch/i386-bp_permanent.c: New file.
5313 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5314 (srcfile): Set to i386-bp_permanent.c.
5315 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5316 that stepi does not execute the 'leave' instruction, instead of
5317 testing it does execute.
5318 * gdb.base/bp-permanent.c: New file.
5319 * gdb.base/bp-permanent.exp: New file.
5321 2014-11-10 Doug Evans <xdje42@gmail.com>
5324 * gdb.base/symtab-search-order.exp: New file.
5325 * gdb.base/symtab-search-order.c: New file.
5326 * gdb.base/symtab-search-order-1.c: New file.
5327 * gdb.base/symtab-search-order-shlib-1.c: New file.
5329 2014-11-07 Pedro Alves <palves@redhat.com>
5332 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5335 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5338 * gdb.cp/pr17494.cc: New file.
5339 * gdb.cp/pr17494.exp: New file.
5341 2014-11-02 Yao Qi <yao@codesourcery.com>
5343 * gdb.python/python.exp: Get working directory and match the
5344 output of "set extended-prompt \\w " with it.
5346 2014-10-30 Doug Evans <dje@google.com>
5348 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5350 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5353 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5355 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5356 * gdb.base/realname-expand.exp: Likewise.
5357 * gdb.linespec/macro-relative.exp: Likewise.
5359 2014-10-29 Pedro Alves <palves@redhat.com>
5362 * gdb.threads/schedlock.c (some_function): New function.
5363 (call_function): New global.
5364 (MAYBE_CALL_SOME_FUNCTION): New macro.
5365 (thread_function): Call it.
5366 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5367 and use it instead of a global counter. Adjust all callers.
5368 (get_current_thread): Use "find current thread" for test message
5369 here rather than having all callers pass down the same string.
5370 (goto_loop): New procedure, factored out from ...
5371 (my_continue): ... this.
5372 (step_ten_loops): Change parameter from test message to command to
5374 (list_count): Delete global.
5375 (check_result): New procedure, factored out from duplicate top
5377 (continue tests): Wrap in with_test_prefix.
5378 (test_step): New procedure, factored out from duplicate top level
5380 (top level): Test "step" in combination with all scheduler-locking
5381 modes. Test "next" in combination with all scheduler-locking
5382 modes, and in combination with stepping over a function call or
5384 * gdb.threads/next-bp-other-thread.c: New file.
5385 * gdb.threads/next-bp-other-thread.exp: New file.
5387 2014-10-29 Pedro Alves <palves@redhat.com>
5390 * gdb.python/python.exp: Test a multi-line command that spawns
5392 * gdb.base/multi-line-starts-subshell.exp: New file.
5394 2014-10-29 Yao Qi <yao@codesourcery.com>
5396 * gdb.base/fileio.exp: Make directories on host.
5398 2014-10-29 Yao Qi <yao@codesourcery.com>
5400 * gdb.base/fileio.c (test_write): Close the file.
5402 2014-10-28 Pedro Alves <palves@redhat.com>
5405 * gdb.base/sigstep.c (no_handler): New global.
5406 (main): If 'no_handler is true, set the signal handlers to
5408 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5409 with_sw_watch and no_handler parameters. Handle them.
5410 (top level) <stepping over handler when stopped at a breakpoint
5411 test>: Add a test axis for testing with a software watchpoint, and
5412 another for testing with the signal handler set to SIG_IGN.
5413 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5414 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5416 2014-10-28 Pedro Alves <palves@redhat.com>
5419 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5420 * gdb.base/sigstep.exp (other_handler_location): New global.
5421 (advance): Support stepping into the signal handler, and running
5422 commands while in the handler.
5423 (in_handler_map): New global.
5424 (top level): In the advance test, add combinations for getting
5425 into the handler with stepping commands, and for running commands
5426 in the handler. Add comment descripting the advancei tests.
5428 2014-10-28 Pedro Alves <palves@redhat.com>
5430 * gdb.base/sigstep.exp: Use build_executable instead of
5431 prepare_for_testing.
5432 (top level): Move code that starts GDB, runs to main and creates a
5434 (restart): ... this new procedure.
5435 (top level): Move backtrace from signal handler test to ...
5436 (validate_backtrace): ... this new procedure.
5437 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5438 with_test_prefix. Always restart GDB.
5439 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5440 with_test_prefix. Always restart GDB. No need to delete
5441 breakpoints after the test.
5442 (test_skip_handler): Remove prefix parameter.
5443 (skip_over_handler, breakpoint_to_handler)
5444 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5445 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5446 restart GDB. No need to delete breakpoints after the test.
5447 (top level): Use foreach to call the test procedures with
5450 2014-10-28 Pedro Alves <palves@redhat.com>
5452 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5453 instead of GNATS numbers.
5454 * gdb.base/sigbpt.exp: Likewise.
5455 * gdb.base/siginfo.exp: Likewise.
5456 * gdb.base/sigstep.exp: Likewise.
5458 2014-10-27 Pedro Alves <palves@redhat.com>
5460 * gdb.base/sigstep.c (dummy): New global.
5461 (main): Issue a couple writes to the new global.
5462 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5464 (skip_over_handler): Use test_skip_handler.
5465 (top level): Call skip_over_handler for stepi and nexti too.
5466 (breakpoint_over_handler): Use test_skip_handler.
5467 (top level): Call breakpoint_over_handler for stepi and nexti too.
5469 2014-10-27 Yao Qi <yao@codesourcery.com>
5471 * gdb.trace/tfile.c (adjust_function_address)
5472 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5473 function descriptor.
5475 2014-10-24 Don Breazeal <donb@codesourcery.com>
5477 * gdb.base/foll-fork.exp (test_follow_fork,
5478 catch_fork_child_follow): Check for updated fork messages emitted
5480 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5481 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5482 vfork_and_exec_child_follow_through_step): Check for updated vfork
5483 messages emitted from infrun.c.
5485 2014-10-24 Pedro Alves <palves@redhat.com>
5487 * gdb.base/corefile.exp: Remove references to ultrix.
5488 * gdb.base/interrupt.exp: Likewise.
5489 * gdb.base/whatis.exp: Likewise.
5490 * gdb.gdb/selftest.exp: Likewise.
5491 * gdb.threads/manythreads.exp: Likewise.
5492 * gdb.threads/print-threads.exp: Likewise.
5493 * gdb.threads/pthreads.exp:: Likewise.
5494 * gdb.threads/schedlock.exp: Likewise.
5496 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5498 * gdb.cp/non-trivial-retval.cc: Add a test case.
5499 * gdb.cp/non-trivial-retval.exp: Add a test.
5501 2014-10-20 Yao Qi <yao@codesourcery.com>
5503 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5504 * gdb.python/py-objfile-script-gdb.py: New file.
5505 * gdb.python/py-objfile-script.exp: Update reference to
5506 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5507 of remote_download. Remove the dest file.
5509 2014-10-20 Yao Qi <yao@codesourcery.com>
5511 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5512 * gdb.base/step-line.exp: Likewise.
5513 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5514 * gdb.dwarf2/dw2-basic.exp: Likewise.
5515 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5516 * gdb.dwarf2/dw2-filename.exp: Likewise.
5517 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5518 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5519 * gdb.dwarf2/dw2-producer.exp: Likewise.
5520 * gdb.dwarf2/mac-fileno.exp: Likewise.
5521 * gdb.python/py-frame-args.exp: Likewise.
5522 * gdb.python/py-framefilter.exp: Likewise.
5523 * gdb.python/py-mi.exp: Likewise.
5524 * gdb.python/py-objfile-script.exp: Likewise
5525 * gdb.python/py-pp-integral.exp: Likewise.
5526 * gdb.python/py-pp-re-notag.exp: Likewise.
5527 * gdb.python/py-prettyprint.exp: Likewise.
5528 * gdb.python/py-section-script.exp: Likewise.
5529 * gdb.python/py-typeprint.exp: Likewise.
5530 * gdb.python/py-xmethods.exp: Likewise.
5531 * gdb.stabs/weird.exp: Likewise.
5532 * gdb.xml/tdesc-regs.exp: Likewise.
5534 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5536 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5537 (out_cu): Use addr_len for the size of addresses.
5538 (out_line): Likewise. Size DW_LNE_set_address instruction
5539 according to addr_len.
5540 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5541 (FUNC): Add START_INSNS to definition.
5543 2014-10-18 Yao Qi <yao@codesourcery.com>
5545 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5546 gdb_has_argv0 return true.
5547 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5548 check [target_info exists noargs], check [gdb_has_argv0]
5550 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5551 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5554 2014-10-17 Doug Evans <dje@google.com>
5556 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5558 * gdb.python/py-events.py: Add clear_objfiles event.
5560 2014-10-17 Doug Evans <dje@google.com>
5562 * gdb.python/py-objfile.exp: Test progspace attribute.
5564 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5566 * gdb.guile/scm-breakpoint.exp: Do not assume any
5567 directory separators when matching source file paths.
5568 * gdb.python/py-breakpoint.exp: Likewise.
5569 * gdb.reverse/break-precsave.exp: Likewise.
5570 * gdb.reverse/break-reverse.exp: Likewise.
5571 * gdb.reverse/consecutive-precsave.exp: Likewise.
5572 * gdb.reverse/finish-precsave.exp: Likewise.
5573 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5574 * gdb.reverse/finish-reverse.exp: Likewise.
5575 * gdb.reverse/i386-precsave.exp: Likewise.
5576 * gdb.reverse/i387-env-reverse.exp: Likewise.
5577 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5578 * gdb.reverse/machinestate-precsave.exp: Likewise.
5579 * gdb.reverse/machinestate.exp: Likewise.
5580 * gdb.reverse/sigall-precsave.exp: Likewise.
5581 * gdb.reverse/solib-precsave.exp: Likewise.
5582 * gdb.reverse/step-precsave.exp: Likewise.
5583 * gdb.reverse/until-precsave.exp: Likewise.
5584 * gdb.reverse/watch-precsave.exp: Likewise.
5585 * gdb.reverse/watch-reverse.exp: Likewise.
5587 2014-10-17 Yao Qi <yao@codesourcery.com>
5589 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5590 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5592 2014-10-17 Pedro Alves <palves@redhat.com>
5595 * gdb.base/bg-execution-repeat.c: New file.
5596 * gdb.base/bg-execution-repeat.exp: New file.
5598 2014-10-17 Pedro Alves <palves@redhat.com>
5601 * gdb.base/continue-all-already-running.c: New file.
5602 * gdb.base/continue-all-already-running.exp: New file.
5604 2014-10-17 Pedro Alves <palves@redhat.com>
5607 * gdb.base/annota-input-while-running.c: New file.
5608 * gdb.base/annota-input-while-running.exp: New file.
5610 2014-10-17 Pedro Alves <palves@redhat.com>
5612 * gdb.base/callfuncs.exp: emove references to osf.
5613 * gdb.base/sigall.exp: Likewise.
5614 * gdb.gdb/selftest.exp: Likewise.
5615 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5616 * gdb.mi/non-stop.c: Likewise.
5617 * gdb.mi/pthreads.c: Likewise.
5618 * gdb.reverse/sigall-precsave.exp: Likewise.
5619 * gdb.reverse/sigall-reverse.exp: Likewise.
5620 * gdb.threads/pthreads.c: Likewise.
5621 * gdb.threads/pthreads.exp: Likewise.
5623 2014-10-17 Yao Qi <yao@codesourcery.com>
5625 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5626 check 'target_info exists noargs'.
5627 (test_command_prompt_position): Likewise.
5628 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5630 (progvar_simple_while_test): Likewise.
5631 (progvar_complex_if_while_test): Likewise.
5632 (if_while_breakpoint_command_test): Likewise.
5633 (infrun_breakpoint_command_test): Likewise.
5634 (breakpoint_command_test): Likewise.
5635 (watchpoint_command_test): Likewise.
5636 (bp_deleted_in_command_test): Likewise.
5637 (temporary_breakpoint_commands): Likewise.
5639 2014-10-16 Yao Qi <yao@codesourcery.com>
5641 * gdb.base/remotetimeout.exp: Remove noargs checking.
5643 2014-10-15 Pedro Alves <palves@redhat.com>
5646 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5647 * gdb.base/breakpoint-in-ro-region.exp
5648 (probe_target_hardware_step): New procedure.
5649 (top level): Probe hardware stepping and hardware breakpoint
5650 support. Test stepping through a read-only region, with both
5651 "breakpoint auto-hw" on and off and both "always-inserted" on and
5654 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5656 * gdb.dlang/demangle.exp: Update for demangling changes.
5658 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5660 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5661 * gdb.cp/non-trivial-retval.exp: Add new tests.
5663 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5667 * gdb.cp/non-trivial-retval.cc: New file.
5668 * gdb.cp/non-trivial-retval.exp: New file.
5670 2014-10-15 Yao Qi <yao@codesourcery.com>
5672 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5675 2014-10-15 Yao Qi <yao@codesourcery.com>
5677 * gdb.python/py-symbol.exp: Match file base name if host is
5678 remote, otherwise match file name with dir name.
5679 * gdb.python/py-symtab.exp: Likewise.
5680 * gdb.python/python.exp: Likewise.
5682 2014-10-15 Yao Qi <yao@codesourcery.com>
5684 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5686 * gdb.python/py-symtab.exp: Likewise.
5687 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5690 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5692 * gdb.ada/addr_arith: New testcase.
5694 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5696 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5697 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5698 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5699 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5701 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5703 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5704 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5705 * gdb.arch/stap-eval-lang-ada.exp: New file.
5707 2014-10-14 Yao Qi <yao@codesourcery.com>
5709 * gdb.mi/mi-var-child.c (nothing1): New function.
5710 (nothing2): New function.
5711 (do_children_tests): Set function pointers by nothing1 and
5713 * gdb.mi/mi-var-child.exp: Step over new added statements.
5714 Update test to match the new output.
5715 * gdb.mi/var-cmd.c (nothing1): New function.
5716 (nothing2): New function.
5717 (do_children_tests): Set function pointers by nothing1 and
5719 * gdb.mi/mi-var-display.exp: Update test to match output.
5720 Step to the line specified by $line_dct_nothing.
5721 Increase the number of lines to step.
5723 2014-10-14 Yao Qi <yao@codesourcery.com>
5725 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5727 * gdb.mi/mi2-var-child.exp: Likewise.
5729 2014-10-13 Doug Evans <dje@google.com>
5731 * gdb.python/py-objfile.exp: Change name of file name test.
5733 2014-10-13 Doug Evans <dje@google.com>
5735 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5736 from the start of the CU.
5738 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5739 Yao Qi <yao@codesourcery.com>
5741 Fix "save breakpoints" for "catch" command.
5742 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5743 Remove -nonewline. Match also the added "main" line.
5745 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5747 Fix "save breakpoints" for "disable $bpnum" command.
5748 * gdb.base/save-bp.c (main): Add label.
5749 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5751 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5753 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5755 2014-10-11 Yao Qi <yao@codesourcery.com>
5757 * gdb.server/server-kill.exp: Execute command
5758 "set remote trace-status-packet on" before "tstatus".
5760 2014-10-11 Yao Qi <yao@codesourcery.com>
5762 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5763 (main): Call getppid.
5764 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5765 and continue to it. Read variable "server_pid".
5767 2014-10-11 Yao Qi <yao@codesourcery.com>
5769 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5771 2014-10-11 Yao Qi <yao@codesourcery.com>
5773 * gdb.threads/thread-find.exp: Don't execute command
5775 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5776 * gdb.threads/linux-dp.exp: Don't check the condition
5777 $threads_created equals to zero.
5779 2014-10-10 Pedro Alves <palves@redhat.com>
5781 * gdb.base/bigcore.exp: Remove references to IRIX.
5782 * gdb.base/funcargs.exp: Likewise.
5783 * gdb.base/interrupt.exp: Likewise.
5784 * gdb.base/mips_pro.exp: Likewise.
5785 * gdb.base/nodebug.exp: Likewise.
5786 * gdb.base/setvar.exp: Likewise.
5787 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5789 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5790 Pedro Alves <palves@redhat.com>
5793 * gdb.base/vdso-warning.c: New file.
5794 * gdb.base/vdso-warning.exp: New file.
5796 2014-10-02 Doug Evans <dje@google.com>
5798 * gdb.base/structs.c (main): Don't run forever.
5800 2014-10-02 Pedro Alves <palves@redhat.com>
5802 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5803 (top level) <stop threads 1, stop threads 2>: Use it.
5805 2014-10-02 Pedro Alves <palves@redhat.com>
5807 * gdb.threads/break-while-running.exp (test): Add new
5808 'update_thread_list' argument. Skip "info threads" if false.
5809 (top level): Add new 'update_thread_list' axis.
5811 2014-10-02 Pedro Alves <palves@redhat.com>
5813 PR breakpoints/17431
5814 * gdb.base/execl-update-breakpoints.c: New file.
5815 * gdb.base/execl-update-breakpoints.exp: New file.
5817 2014-10-01 Pedro Alves <palves@redhat.com>
5819 * gdb.base/breakpoint-in-ro-region.c: New file.
5820 * gdb.base/breakpoint-in-ro-region.exp: New file.
5822 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5824 * gdb.mi/mi-exit-code.exp: New file.
5825 * gdb.mi/mi-exit-code.c: New file.
5827 2014-09-30 Yao Qi <yao@codesourcery.com>
5829 * lib/prelink-support.exp (build_executable_own_libs): Error if
5830 the target isn't native.
5832 2014-09-30 Yao Qi <yao@codesourcery.com>
5834 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5837 2014-09-22 Pedro Alves <palves@redhat.com>
5839 * gdb.threads/break-while-running.exp: New file.
5840 * gdb.threads/break-while-running.c: New file.
5842 2014-09-19 Yao Qi <yao@codesourcery.com>
5844 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5845 Invoke test. Restart GDB with --readnow and invoke test again.
5847 2014-09-19 Yao Qi <yao@codesourcery.com>
5849 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5850 proc set_breakpoint_on_gcd_function. Invoke
5851 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5852 invoke set_breakpoint_on_gcd_function again.
5854 2014-09-18 Doug Evans <dje@google.com>
5856 * gdb.dwarf2/symtab-producer.exp: New file.
5858 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5860 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5861 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5862 * gdb.base/global-var-nested-by-dso.c: Likewise.
5863 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5865 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5866 Pedro Alves <palves@redhat.com>
5868 * gdb.base/watch-bitfields.exp: Pass string other than test file
5869 name to prepare_for_testing.
5870 (watch): New procedure.
5871 (expect_watchpoint): Use with_test_prefix.
5872 (top level): Factor out tests to ...
5873 (test_watch_location, test_regular_watch): ... these new
5874 procedures, and use with_test_prefix and gdb_continue_to_end.
5876 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5878 PR breakpoints/12526
5879 * gdb.base/watch-bitfields.exp: New file.
5880 * gdb.base/watch-bitfields.c: New file.
5882 2014-09-16 Pedro Alves <palves@redhat.com>
5884 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5885 software and hardware addresses, not software address against
5888 2014-09-16 Pedro Alves <palves@redhat.com>
5890 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5891 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5893 2014-09-16 Pedro Alves <palves@redhat.com>
5895 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5897 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5898 "*-*-vxworks*" throughout.
5899 * gdb.base/break.exp: Likewise.
5900 * gdb.base/default.exp: Likewise.
5901 * gdb.base/scope.exp: Likewise.
5902 * gdb.base/sepdebug.exp: Likewise.
5903 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5905 * gdb.base/run.c: Likewise.
5906 * gdb.base/sepdebug.c: Likewise.
5907 * gdb.hp/gdb.aCC/run.c: Likewise.
5908 * gdb.reverse/until-reverse.c: Likewise.
5909 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5911 2014-09-16 Yao Qi <yao@codesourcery.com>
5913 * boards/local-remote-host-native.exp: New file.
5915 2014-09-14 Doug Evans <xdje42@gmail.com>
5917 * gdb.threads/queue-signal.c (thread_count): New variable.
5918 (thread_count_mutex, thread_count_condvar): New variables.
5919 (incr_thread_count, wait_all_threads_running): New functions.
5920 (main): Wait for all threads to be in their thread functions.
5922 2014-09-13 Doug Evans <xdje42@gmail.com>
5924 * gdb.threads/queue-signal.c: New file.
5925 * gdb.threads/queue-signal.exp: New file.
5927 2014-09-13 Doug Evans <xdje42@gmail.com>
5929 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5930 be consistent with what default_gdb_init uses.
5931 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5932 the plain text of the prompt. Add some logging printfs.
5933 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5935 2014-09-12 Pedro Alves <palves@redhat.com>
5937 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5938 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5939 * gdb.arch/i386-size-overlap.exp: Likewise.
5940 * gdb.arch/i386-size.exp: Likewise.
5941 * gdb.arch/i386-unwind.exp: Likewise.
5942 * gdb.base/a2-run.exp: Likewise.
5943 * gdb.base/break.exp: Likewise.
5944 * gdb.base/charset.exp: Likewise.
5945 * gdb.base/chng-syms.exp: Likewise.
5946 * gdb.base/commands.exp: Likewise.
5947 * gdb.base/dbx.exp: Likewise.
5948 * gdb.base/find.exp: Likewise.
5949 * gdb.base/funcargs.exp: Likewise.
5950 * gdb.base/jit-simple.exp: Likewise.
5951 * gdb.base/reread.exp: Likewise.
5952 * gdb.base/sepdebug.exp: Likewise.
5953 * gdb.base/step-bt.exp: Likewise.
5954 * gdb.cp/mb-inline.exp: Likewise.
5955 * gdb.cp/mb-templates.exp: Likewise.
5956 * gdb.objc/basicclass.exp: Likewise.
5957 * gdb.threads/killed.exp: Likewise.
5959 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5962 * gdb.arch/powerpc-stackless.S: New file.
5963 * gdb.arch/powerpc-stackless.exp: New file.
5965 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5967 * gdb.base/attach.c: Include unistd.h.
5968 (main): Call alarm. Add label postloop.
5969 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5970 gdb_breakpoint, gdb_continue_to_breakpoint.
5971 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5973 2014-09-11 Pedro Alves <palves@redhat.com>
5976 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5977 * gdb.base/attach.exp (test_command_line_attach_run): New
5979 (top level): Call it.
5981 2014-09-11 Pedro Alves <palves@redhat.com>
5983 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5984 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5985 (do_command_attach_tests): Use spawn_wait_for_attach.
5986 * gdb.base/solib-overlap.exp: Likewise.
5987 * gdb.multi/multi-attach.exp: Likewise.
5988 * gdb.python/py-prompt.exp: Likewise.
5989 * gdb.python/py-sync-interp.exp: Likewise.
5990 * gdb.server/ext-attach.exp: Likewise.
5992 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5994 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5995 command in testcase. Simplify testcase.
5997 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5999 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
6001 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6003 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
6005 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6007 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
6009 2014-09-10 Joel Brobecker <brobecker@adacore.com>
6011 * gdb.dwarf2/dynarr-ptr.c: New file.
6012 * gdb.dwarf2/dynarr-ptr.exp: New file.
6014 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6016 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
6017 of 30 rather than hardcoding 120 for a slow test case. Take the
6018 `gdb,timeout' target setting into account for this calculation.
6019 Don't extend the timeout for the test cases that don't need it.
6021 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6023 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
6024 a factor of 2 for a slow test case. Take the `gdb,timeout'
6025 target setting into account for this calculation.
6026 * gdb.reverse/until-precsave.exp: Increase the timeout by
6027 a factor of 15 and 3 respectively rather than adding 120
6028 for a pair of slow test cases. Take the `gdb,timeout'
6029 target setting into account for this calculation.
6031 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6033 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
6034 timeout, don't pass one down to gdb_expect.
6035 (gdb_expect): Rework timeout selection.
6037 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6039 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
6040 exception on timeout.
6041 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
6042 (gdbserver_start_extended): Catch any `gdbserver_start' error
6044 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
6045 * lib/mi-support.exp (mi_gdb_target_load): Catch any
6046 `gdbserver_gdb_load' error exceptions.
6048 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
6050 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
6051 120 on waiting for the TCP socket to open.
6053 2014-09-09 Doug Evans <xdje42@gmail.com>
6055 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6056 _caller_matches, _any_caller_is, _any_caller_matches.
6058 2014-09-09 Doug Evans <xdje42@gmail.com>
6060 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6062 2014-09-09 Yao Qi <yao@codesourcery.com>
6064 * gdb.mi/mi-var-display.exp: Set print symbol off.
6066 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6069 * gdb.base/commands.exp: Add tests to verify user-defined
6070 commands with empty bodies.
6071 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6072 python commands in `show user command`.
6073 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6074 scheme commands in `show user command`.
6076 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6079 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6080 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6081 * gdb.python/py-framefilter-invalidarg.exp: New file.
6082 * gdb.python/py-framefilter-invalidarg.py: New file.
6084 2014-09-06 Doug Evans <xdje42@gmail.com>
6087 * gdb.python/py-caller-is.c: New file.
6088 * gdb.python/py-caller-is.exp: New file.
6090 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6093 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6094 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6096 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6099 * gdb.fortran/print-formatted.exp: New file.
6100 * gdb.fortran/print-formatted.f90: Likewise.
6102 2014-09-03 Sasha Smundak <asmundak@google.com>
6104 * gdb.python/py-frame.exp: Test Frame.read_register.
6106 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6109 * gdb.python/py-completion.exp: New file.
6110 * gdb.python/py-completion.py: Likewise.
6112 2014-08-28 Doug Evans <dje@google.com>
6114 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6115 eax,etc. are live with values set by gdb and thus the compiler can't
6117 * gdb.arch/i386-pseudo.c (main): Ditto.
6119 2014-08-27 Doug Evans <dje@google.com>
6121 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6123 2014-08-25 Doug Evans <dje@google.com>
6125 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6128 2014-08-25 Doug Evans <dje@google.com>
6130 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6132 2014-08-24 Yao Qi <yao@codesourcery.com>
6134 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6136 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6138 2014-08-22 Doug Evans <dje@google.com>
6141 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6142 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6143 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6145 2014-08-22 Yao Qi <yao@codesourcery.com>
6147 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6148 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6149 * gdb.python/python.exp: Likewise. Use .py file on the host
6150 instead of the build.
6152 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6154 * gdb.threads/gcore-stale-thread.c: New file.
6155 * gdb.threads/gcore-stale-thread.exp: New file.
6157 2014-08-21 Pedro Alves <palves@redhat.com>
6159 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6160 * gdb.base/gcore-relro-pie.exp: Likewise.
6161 * gdb.base/gcore-relro.exp: Likewise.
6162 * gdb.base/gcore.exp: Likewise.
6163 * gdb.base/print-symbol-loading.exp: Likewise.
6164 * gdb.threads/gcore-thread.exp: Likewise.
6165 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6167 2014-08-20 Pedro Alves <palves@redhat.com>
6168 Jan Kratochvil <jan.kratochvil@redhat.com>
6170 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6172 (EXPECT): Handle READ1 being set.
6173 (all): Depend on EXTRA_RULES.
6174 (check-read1, expect-read1, read1.so, read1): New rules.
6175 * README (Testsuite Parameters): Document the READ1 make variable.
6176 (Race detection): New section.
6177 * configure: Regenerate.
6178 * configure.ac: If build==host==target, and running under a
6179 GNU/glibc system, add read1 to the extra Makefile rules.
6180 (EXTRA_RULES): AC_SUBST it.
6181 * lib/read1.c: New file.
6183 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6185 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6186 the handling of variables declared as a typedef to an array
6187 which a DW_AT_data_location attribute.
6189 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6190 Pedro Alves <palves@redhat.com>
6194 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6197 2014-08-19 Pedro Alves <palves@redhat.com>
6199 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6201 2014-08-19 Yao Qi <yao@codesourcery.com>
6203 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6206 2014-08-18 David Blaikie <dblaikie@gmail.com>
6208 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6210 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6212 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6213 attribute in array range.
6215 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6217 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6219 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6222 * gdb.cp/pr17132.cc: New file.
6223 * gdb.cp/pr17132.exp: New file.
6225 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6227 * gdb.python/py-xmethods.py (A_getarrayind)
6228 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6229 Use 'print' with function call syntax.
6230 (E_method_matcher.match): Fix tab vs space indentation mixup.
6232 2014-08-15 Yao Qi <yao@codesourcery.com>
6234 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6237 2014-08-15 Yao Qi <yao@codesourcery.com>
6239 * gdb.cp/casts.exp: Set print symbol off.
6240 * gdb.cp/class2.exp: Likewise.
6241 * gdb.cp/overload.exp: Likewise.
6242 * gdb.cp/templates.exp: Likewise.
6244 2014-08-11 Doug Evans <dje@google.com>
6246 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6247 (test_load_shlib): Update.
6249 2014-08-09 Yao Qi <yao@codesourcery.com>
6251 * gdb.base/display.exp: Invoke is_address_zero_readable.
6252 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6253 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6254 * gdb.base/hbreak-unmapped.exp: Return if
6255 is_address_zero_readable returns true.
6256 * gdb.base/signest.exp: Likewise.
6257 * gdb.base/signull.exp: Likewise.
6258 * gdb.base/sigbpt.exp: Likewise.
6259 * gdb.guile/scm-disasm.exp: Do the test if
6260 is_address_zero_readable returns false.
6261 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6262 * gdb.python/py-arch.exp: Likewise.
6263 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6264 * lib/gdb.exp (is_address_zero_readable): New proc.
6266 2014-08-09 Yao Qi <yao@codesourcery.com>
6269 * gdb.mi/mi-var-display.exp: Make test messages unique.
6271 2014-08-04 Tom Tromey <tromey@redhat.com>
6273 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6276 2014-08-04 Tom Tromey <tromey@redhat.com>
6278 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6281 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6283 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6284 inner_vla_struct_object_size.
6285 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6288 2014-07-30 Pedro Alves <palves@redhat.com>
6290 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6293 2014-07-29 Yao Qi <yao@codesourcery.com>
6296 * gdb.base/until-nodebug.exp: New.
6298 2014-07-28 Doug Evans <xdje42@gmail.com>
6301 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6302 previously existing parameter, and previously ambiguously spelled
6305 2014-07-28 Will Newton <will.newton@linaro.org>
6307 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6309 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6310 Doug Evans <xdje42@gmail.com>
6313 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6315 2014-07-25 Pedro Alves <palves@redhat.com>
6317 * gdb.threads/signal-command-handle-nopass.c: New file.
6318 * gdb.threads/signal-command-handle-nopass.exp: New file.
6319 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6320 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6321 * gdb.threads/signal-delivered-right-thread.c: New file.
6322 * gdb.threads/signal-delivered-right-thread.exp: New file.
6324 2014-07-25 Pedro Alves <palves@redhat.com>
6326 * gdb.base/double-prompt-target-event-error.exp
6327 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6329 (cancel_pagination_in_target_event): Rework double prompt
6331 * gdb.base/paginate-after-ctrl-c-running.exp
6332 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6334 * gdb.base/paginate-bg-execution.exp
6335 (test_bg_execution_pagination_return)
6336 (test_bg_execution_pagination_cancel): Remove '-notransfer
6338 * gdb.base/paginate-execution-startup.exp
6339 (test_fg_execution_pagination_return)
6340 (test_fg_execution_pagination_cancel): Remove '-notransfer
6342 * gdb.base/paginate-inferior-exit.exp
6343 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6345 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6346 * lib/gdb.exp (pagination_prompt): Run text through
6348 (gdb_test_multiple): Match $pagination_prompt instead of
6350 (string_to_regexp): Move to lib/gdb-utils.exp.
6352 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6354 * gdb.arch/amd64-entry-value-paramref.S: New file.
6355 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6356 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6357 * gdb.arch/amd64-optimout-repeat.S: New file.
6358 * gdb.arch/amd64-optimout-repeat.c: New file.
6359 * gdb.arch/amd64-optimout-repeat.exp: New file.
6361 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6364 * gdb.base/statistics.exp: New file.
6366 2014-07-17 Doug Evans <dje@google.com>
6369 * gdb.base/maint.exp: Update testing of per-command stats.
6371 2014-07-16 Pedro Alves <palves@redhat.com>
6373 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6374 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6375 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6376 (tfile_write_buf): New functions.
6377 (add_memory_block): Rewrite using the above.
6378 (adjust_function_address): New function.
6379 (FUNCTION_ADDRESS): New macro.
6380 (write_basic_trace_file): Remove short_x local, and use
6381 tfile_write_16. Change type of func_addr local to unsigned long
6382 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6383 here. Cast argument of add_memory_block to char pointer.
6384 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6385 (main): Remove parameters.
6386 * gdb.trace/tfile.exp: Remove nowarnings.
6388 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6390 * gdb.base/debug-expr.exp: Test string evaluation with
6391 "debug expression" on.
6393 2014-07-15 Pedro Alves <palves@redhat.com>
6395 * gdb.base/reread.exp: Use clean_restart.
6397 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6399 * gdb.arch/avr-flash-qualifer.c: New.
6400 * gdb.arch/avr-flash-qualifer.exp: New.
6402 2014-07-14 Pedro Alves <palves@redhat.com>
6404 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6405 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6407 2014-07-14 Pedro Alves <palves@redhat.com>
6409 * gdb.base/double-prompt-target-event-error.c: New file.
6410 * gdb.base/double-prompt-target-event-error.exp: New file.
6412 2014-07-14 Pedro Alves <palves@redhat.com>
6415 * gdb.base/paginate-inferior-exit.c: New file.
6416 * gdb.base/paginate-inferior-exit.exp: New file.
6418 2014-07-14 Pedro Alves <palves@redhat.com>
6421 * gdb.base/paginate-bg-execution.c: New file.
6422 * gdb.base/paginate-bg-execution.exp: New file.
6424 2014-07-14 Pedro Alves <palves@redhat.com>
6427 * gdb.base/paginate-execution-startup.c: New file.
6428 * gdb.base/paginate-execution-startup.exp: New file.
6429 * lib/gdb.exp (pagination_prompt): New global.
6430 (default_gdb_spawn): New procedure, factored out from
6432 (default_gdb_start): Adjust to call default_gdb_spawn.
6433 (gdb_spawn): New procedure.
6435 2014-07-14 Pedro Alves <palves@redhat.com>
6437 * lib/gdb.exp (gdb_assert): New procedure.
6438 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6440 2014-07-14 Pedro Alves <palves@redhat.com>
6442 * gdb.base/execution-termios.c: New file.
6443 * gdb.base/execution-termios.exp: New file.
6445 2014-07-14 Tom Tromey <tromey@redhat.com>
6447 * gdb.cp/vla-cxx.cc: New file.
6448 * gdb.cp/vla-cxx.exp: New file.
6450 2014-07-14 Tom Tromey <tromey@redhat.com>
6452 * gdb.reverse/rerun-prec.c: New file.
6453 * gdb.reverse/rerun-prec.exp: New file.
6455 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6456 Maciej W. Rozycki <macro@codesourcery.com>
6458 * lib/gdb-utils.exp: New file.
6459 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6460 inline `gdb_init_command' processing.
6461 (gdb_start_cmd): Likewise.
6462 * lib/mi-support.exp (mi_run_cmd): Likewise.
6463 * README: Document `gdb_init_command' and `gdb_init_commands'.
6465 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6467 Fix false FAIL running under a very long directory name.
6468 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6469 and "set print elements 10000". Twice.
6471 2014-07-11 Yao Qi <yao@codesourcery.com>
6473 * gdb.base/exprs.exp: "set print symbol off".
6475 2014-07-11 Pedro Alves <palves@redhat.com>
6477 * gdb.threads/kill.c: New file.
6478 * gdb.threads/kill.exp: New file.
6480 2014-07-10 Yao Qi <yao@codesourcery.com>
6482 * gdb.trace/tfile.c (write_basic_trace_file)
6483 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6484 address written to trace file.
6486 2014-07-09 Pedro Alves <palves@redhat.com>
6488 * gdb.base/attach-wait-input.exp: New file.
6489 * gdb.base/attach-wait-input.c: New file.
6491 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6493 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6494 setting up test structures.
6495 (main): Call new test function.
6496 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6497 test function, continue into test function and walk test
6500 2014-07-02 Yao Qi <yao@codesourcery.com>
6502 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6503 'bar_start' at the beginning of functions 'foo' and 'bar'
6505 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6506 instead of 'foo' and 'bar'.
6508 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6510 * gdb.btrace/segv.exp: New.
6511 * gdb.btrace/segv.c: New.
6513 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6515 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6518 2014-06-30 Mark Wielaard <mjw@redhat.com>
6520 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6521 vulture, vilify, villar): New volatile array constants.
6522 (vindictive, vegetation): New const volatile array constants.
6523 * gdb.base/volatile.exp: Test volatile and const volatile array
6526 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6528 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6529 target lacks support for awatch, rwatch, or hbreak.
6531 2014-06-27 Yao Qi <yao@codesourcery.com>
6533 * gdb.multi/dummy-frame-restore.exp: New.
6534 * gdb.multi/dummy-frame-restore.c: New.
6536 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6538 * gdb.btrace/gcore.exp: New.
6540 2014-06-23 Pedro Alves <palves@redhat.com>
6542 * gdb.base/watchpoint-reuse-slot.c: New file.
6543 * gdb.base/watchpoint-reuse-slot.exp: New file.
6545 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6547 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6548 progspace's filename in 'info', 'enable' and 'disable' command
6551 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6553 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6554 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6555 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6557 2014-06-20 Gary Benson <gbenson@redhat.com>
6559 * gdb.arch/i386-avx.exp: Fix include file location.
6560 * gdb.arch/i386-sse.exp: Likewise.
6562 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6564 * gdb.dlang/expression.exp: New file.
6566 2014-06-19 Pedro Alves <palves@redhat.com>
6568 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6570 (top level): ... here. Iterate running tests under different
6571 scheduler-locking settings.
6573 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6575 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6576 to DW_FORM_addr and use non-zero addresses.
6578 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6581 * gdb.python/py-xmethods.cc: Add global function call counters and
6582 increment them in their respective functions. Remove "cout"
6584 * gdb.python/py-xmethods.exp: Make tests check the global function
6585 call counters instead of depending on inferior IO.
6587 2014-06-18 Don Breazeal <donb@codesourcery.com>
6589 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6591 (explicit_fork_parent_follow): Deleted procedure.
6592 (explicit_fork_child_follow): Deleted procedure.
6593 (test_follow_fork): New procedure.
6594 (do_fork_tests): Replace calls to deleted procedures with
6595 calls to test_follow_fork and reset GDB for subsequent
6598 2014-06-17 Yao Qi <yao@codesourcery.com>
6600 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6603 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6605 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6606 Initialize ptr and S explicitly.
6607 (skip_type_update_when_not_use_rtti_test): Likewise.
6609 2014-06-16 Keith Seitz <keiths@redhat.com>
6612 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6613 the inferior is started.
6615 2014-06-16 Pedro Alves <palves@redhat.com>
6617 * gdb.base/break-main-file-remove-fail.c: New file.
6618 * gdb.base/break-main-file-remove-fail.exp: New file.
6619 * gdb.base/break-unload-file.exp: Use build_executable instead of
6620 prepare_for_testing.
6621 (test_break): New parameter "initial_load". Handle it.
6622 (top level): Add initial_load cmdline/file axis.
6624 2014-06-12 Tom Tromey <tromey@redhat.com>
6626 * gdb.base/completion.exp: Don't use directory name in test.
6628 2014-06-09 Gary Benson <gbenson@redhat.com>
6630 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6631 separate the always-available ANSI-standard signals from the
6632 signals that require checking.
6634 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6638 2014-06-07 Keith Seitz <keiths@redhat.com>
6642 * gdb.cp/var-tag.cc: New file.
6643 * gdb.cp/var-tag.exp: New file.
6644 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6645 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6646 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6647 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6649 2014-06-06 Doug Evans <xdje42@gmail.com>
6651 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6653 2014-06-06 Pedro Alves <palves@redhat.com>
6655 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6656 in target debug output instead of looking at RSP packets,
6657 disabling the test on any target that uses hardware stepping.
6660 2014-06-06 Pedro Alves <palves@redhat.com>
6662 * gdb.base/break-unload-file.exp: Fix typo.
6664 2014-06-06 Yao Qi <yao@codesourcery.com>
6666 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6667 from "jit_function" to "^jit_function".
6669 2014-06-06 Yao Qi <yao@codesourcery.com>
6671 * gdb.base/async.c (foo): Add one statement.
6672 * gdb.base/async.exp: Get the next instruction address and
6673 match the output of "nexti" by instruction address. Match
6674 the hex address in the output of "finish".
6676 2014-06-06 Gary Benson <gbenson@redhat.com>
6678 * gdb.base/call-signals.c: Remove preprocessor conditionals
6679 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6680 SIGSEGV and SIGTERM.
6681 * gdb.base/sigall.c: Likewise.
6682 * gdb.base/unwindonsignal.c: Likewise.
6683 * gdb.reverse/sigall-reverse.c: Likewise.
6685 2014-06-06 Yao Qi <yao@codesourcery.com>
6687 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6688 readable, skip the test.
6690 2014-06-06 Yao Qi <yao@codesourcery.com>
6692 * gdb.threads/staticthreads.c (thread_function): Move the line
6693 setting breakpoint on forward.
6694 * gdb.threads/staticthreads.exp: Update comments.
6696 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6698 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6699 "history-append! type error".
6701 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6703 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6704 erroneous dprintf expected input.
6706 2014-06-04 Doug Evans <xdje42@gmail.com>
6708 * gdb.guile/scm-generics.exp: Delete.
6710 2014-06-04 Doug Evans <xdje42@gmail.com>
6712 * gdb.guile/scm-breakpoint.exp: Update.
6713 Add tests for breakpoint registration.
6715 2014-06-04 Tom Tromey <tromey@redhat.com>
6717 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6719 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6720 inner_vla_struct, vla_union types. Initialize objects of those
6721 types and compute their sizes.
6723 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6724 Hui Zhu <hui@codesourcery.com>
6726 * gdb.base/fileio.exp: Add test for shell not available as well as
6728 * gdb.base/fileio.c (test_system): Check for shell twice.
6730 2014-06-04 Yao Qi <yao@codesourcery.com>
6732 * gdb.base/auto-connect-native-target.exp: Remove redundant
6733 space from the regexp pattern.
6735 2014-06-04 Yao Qi <yao@codesourcery.com>
6737 * gdb.base/default.exp: Replace "child" with "native" in
6740 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6742 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6743 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6744 * gdb.python/py-xmethods.py: Python script supporting the
6745 new testcase and tests.
6747 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6748 Pedro Alves <palves@redhat.com>
6750 PR breakpoints/17000
6751 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6752 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6754 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6756 * gdb.base/subst.exp: Add tests to verify partial path matching
6759 2014-06-03 Pedro Alves <palves@redhat.com>
6761 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6762 target that doesn't use software single-stepping.
6764 2014-06-03 Pedro Alves <palves@redhat.com>
6766 PR breakpoints/17000
6767 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6768 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6770 2014-06-02 Doug Evans <xdje42@gmail.com>
6772 * gdb.guile/scm-parameter.exp: New file.
6774 2014-06-02 Doug Evans <xdje42@gmail.com>
6776 * gdb.guile/scm-cmd.c: New file.
6777 * gdb.guile/scm-cmd.exp: New file.
6779 2014-06-02 Doug Evans <xdje42@gmail.com>
6781 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6782 pretty-printer lookup.
6783 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6784 (make-pp_s-printer): Call it.
6785 (make-pretty-printer-from-dict): New function.
6786 (lookup-pretty-printer-maker-from-dict): New function.
6787 (*pretty-printer*): Simplify.
6788 (make-objfile-pp_s-printer): New function.
6789 (install-objfile-pretty-printers!): New function.
6790 (make-progspace-pp_s-printer): New function.
6791 (install-progspace-pretty-printers!): New function.
6792 * gdb.guile/scm-progspace.c: New file.
6793 * gdb.guile/scm-progspace.exp: New file.
6795 2014-06-02 Pedro Alves <palves@redhat.com>
6797 * gdb.base/dprintf-bp-same-addr.c: New file.
6798 * gdb.base/dprintf-bp-same-addr.exp: New file.
6800 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6802 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6803 * gdb.arch/powerpc-power.s: Likewise.
6805 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6807 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6809 2014-06-01 Yao Qi <yao@codesourcery.com>
6811 * gdb.base/watchpoint.exp (test_watch_location): Check null
6812 pointer can be dereferenced. If not, do the test, otherwise
6815 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6817 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6819 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6821 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6823 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6824 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6825 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6826 * gdb.arch/amd64-invalid-stack-top.c: New file.
6827 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6829 2014-05-30 Pedro Alves <palves@redhat.com>
6831 PR breakpoints/17000
6832 * gdb.base/sss-bp-on-user-bp.c: New file.
6833 * gdb.base/sss-bp-on-user-bp.exp: New file.
6835 2014-05-30 David Blaikie <dblaikie@gmail.com>
6837 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6838 gnu_inline semantics via attribute.
6839 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6840 source explicitly specifies the required semantics.
6842 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6844 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6846 2014-05-29 Pedro Alves <palves@redhat.com>
6847 Tom Tromey <tromey@redhat.com>
6849 * gdb.base/async-shell.exp: Don't enable target-async.
6850 * gdb.base/async.exp
6851 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6853 (top level): Don't test with "target-async".
6854 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6855 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6856 * gdb.base/inferior-died.exp: Don't enable target-async.
6857 * gdb.base/interrupt-noterm.exp: Likewise.
6858 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6859 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6860 * gdb.mi/mi-nonstop.exp: Likewise.
6861 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6862 * gdb.mi/mi-nsintrall.exp: Likewise.
6863 * gdb.mi/mi-nsmoribund.exp: Likewise.
6864 * gdb.mi/mi-nsthrexec.exp: Likewise.
6865 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6866 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6867 * gdb.python/py-evsignal.exp: Don't enable target-async.
6868 * gdb.python/py-evthreads.exp: Likewise.
6869 * gdb.python/py-prompt.exp: Likewise.
6870 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6871 * gdb.server/solib-list.exp: Don't enable target-async.
6872 * gdb.threads/thread-specific-bp.exp: Likewise.
6873 * lib/mi-support.exp: Adjust to use mi-async.
6875 2014-05-29 Pedro Alves <palves@redhat.com>
6878 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6879 reason, even in sync mode.
6881 2014-05-29 Pedro Alves <palves@redhat.com>
6882 Hui Zhu <hui@codesourcery.com>
6885 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6886 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6887 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6888 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6890 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6892 * config/monitor.exp (gdb_target_monitor): Replace use of
6893 "set remotebaud" by "set serial baud".
6895 2014-05-26 Andy Wingo <wingo@igalia.com>
6897 * gdb.guile/scm-breakpoint.exp:
6898 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6899 properties instead of gdb-object-properties.
6901 2014-05-26 Yao Qi <yao@codesourcery.com>
6903 * gdb.server/no-thread-db.exp: Specify source file name
6904 explicitly when setting a breakpoint.
6906 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6908 * gdb.btrace/vdso.c: New.
6909 * gdb.btrace/vdso.exp: New.
6911 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6913 * gdb.base/gcore.exp (capture_command_output): Move ...
6914 * lib/gdb.exp (capture_command_output): ... here.
6916 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6918 * gdb.btrace/data.exp: Test memory access during btrace replay.
6920 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6922 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6924 2014-05-21 Pedro Alves <palves@redhat.com>
6927 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6928 (top level): Test that output related to execution commands is
6929 sent to the console with CLI commands, but not with MI commands.
6930 Test that breakpoint events are always mirrored to the console.
6931 Also expect the new source line to be output after a "next" in
6932 async mode too. Make it a pass/fail test.
6933 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6935 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6937 2014-05-21 Pedro Alves <palves@redhat.com>
6939 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6940 Use them to test variations of "list" after reaching a breakpoint.
6941 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6942 Test "list" with listsize 10 after reaching a breakpoint.
6943 * gdb.python/python.exp (decode_line current location line
6944 number): Adjust expected line number.
6946 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6948 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6949 behavior for $args, pass it directly to "run".
6951 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6953 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6956 2014-05-21 Pedro Alves <palves@redhat.com>
6958 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6959 auto-connect-native-target off".
6960 * gdb.base/auto-connect-native-target.c: New file.
6961 * gdb.base/auto-connect-native-target.exp: New file.
6963 2014-05-21 Pedro Alves <palves@redhat.com>
6965 * gdb.base/default.exp: Test "target native" instead of "target
6968 2014-05-21 Mark Wielaard <mjw@redhat.com>
6970 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6972 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6974 Fix TLS access for -static -pthread.
6975 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6976 <HAVE_TLS> (thread_function, main): Initialize it.
6977 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6979 <$have_tls != "">: Check TLSVAR.
6981 2014-05-21 Pedro Alves <palves@redhat.com>
6983 * gdb.base/dcache-line-read-error.c: New.
6984 * gdb.base/dcache-line-read-error.exp: New.
6986 2014-05-20 Pedro Alves <palves@redhat.com>
6988 * gdb.base/compare-sections.c: New file.
6989 * gdb.base/compare-sections.exp: New file.
6991 2014-05-20 Pedro Alves <palves@redhat.com>
6993 * gdb.base/break-idempotent.c: New file.
6994 * gdb.base/break-idempotent.exp: New file.
6996 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6998 * gdb.btrace/nohist.exp: New.
7000 2014-05-20 Yao Qi <yao@codesourcery.com>
7002 * lib/gdb.exp (gdb_init): Set timeout if test file is under
7003 gdb.reverse directory and gdb_reverse_timeout exists in board
7005 * README: Document gdb_reverse_timeout.
7007 2014-05-20 Yao Qi <yao@codesourcery.com>
7009 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
7010 'test_file_name'. Treat args as a string instead of a list.
7011 (gdb_init): Rename argument 'args' by 'test_file_name'.
7013 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
7015 * gdb.arch/powerpc-power.exp: New file.
7016 * gdb.arch/powerpc-power.s: New file.
7018 2014-05-16 Doug Evans <dje@google.com>
7020 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
7021 * gdb.base/completion.exp: Check that all expected files exist
7022 before doing file completion.
7024 2014-05-16 Doug Evans <dje@google.com>
7026 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
7028 (do_syscall_tests_without_xml): Update.
7030 2014-05-16 Pedro Alves <palves@redhat.com>
7032 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
7033 instead of "unknown output after running".
7035 2014-05-16 Yao Qi <yao@codesourcery.com>
7037 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
7038 file1.txt from host at the end.
7039 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
7041 2014-05-15 Doug Evans <dje@google.com>
7043 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
7044 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
7045 loading file. Add test for TU lookup.
7047 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7049 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
7050 calling "-exec-arguments" or "set args" before running the
7053 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
7055 * lib/mi-support.exp (mi_expect_stop): Expect message for
7056 inferiors that exit with non-zero exit code.
7058 2014-05-14 Yao Qi <yao@codesourcery.com>
7060 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7061 match absolute path on remote host.
7062 (test_file_list_exec_source_files): Remove "/" from the
7065 2014-05-14 Yao Qi <yao@codesourcery.com>
7067 * boards/local-remote-host-notty.exp (${board}_file): New
7070 2014-05-07 Kyle McMartin <kyle@redhat.com>
7072 Pushed by Joel Brobecker <brobecker@adacore.com>.
7073 * gdb.arch/aarch64-atomic-inst.c: New file.
7074 * gdb.arch/aarch64-atomic-inst.exp: New file.
7076 2014-05-07 Yao Qi <yao@codesourcery.com>
7078 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7079 in current context" too.
7081 2014-05-05 Keith Seitz <keiths@redhat.com>
7083 * gdb.linespec/ls-dollar.exp: Add test for linespec
7084 file:convenience_variable.
7086 2014-05-05 Yao Qi <yao@codesourcery.com>
7088 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7089 traceframes into tfile and ctf trace files. Read data from
7090 trace file and test collected data.
7091 (gdb_collect_locals_test): Likewise.
7092 (gdb_unavailable_registers_test): Likewise.
7093 (gdb_unavailable_floats): Likewise.
7094 (gdb_collect_globals_test): Likewise.
7095 (top-level): Append "ctf" to trace_file_targets if GDB
7098 2014-05-05 Yao Qi <yao@codesourcery.com>
7100 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7102 (gdb_collect_args_test_1): ... it. New proc.
7103 (gdb_collect_locals_test): Move some code to ...
7104 (gdb_collect_locals_test_1): ... it. New proc.
7105 (gdb_unavailable_registers_test): Move some code to ...
7106 (gdb_unavailable_registers_test_1): ... it. New proc.
7107 (gdb_unavailable_floats): Move some code to ...
7108 (gdb_unavailable_floats_1): ... it. New proc.
7110 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7112 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7113 probes to test for bitness recognition.
7114 * gdb.arch/amd64-stap-optional-prefix.exp
7115 (test_probe_value_without_reg): New procedure.
7116 Add code to test for different kinds of bitness.
7118 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7120 PR breakpoints/16889
7121 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7122 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7124 2014-05-01 Pedro Alves <palves@redhat.com>
7126 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7127 gdb_file_cmd if no file is specified.
7128 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7129 last_loaded_file to set the remote exec-file.
7131 2014-05-01 Pedro Alves <palves@redhat.com>
7133 * boards/local-remote-host.exp: New file.
7135 2014-05-01 Pedro Alves <palves@redhat.com>
7137 * boards/local-remote-host.exp: Rename to ...
7138 * boards/local-remote-host-notty.exp: ... this.
7140 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7142 * gdb.ada/dyn_arrayidx: New testcase.
7144 2014-04-26 Yao Qi <yao@codesourcery.com>
7146 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7147 and compute the length of function main. Save it in
7149 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7150 (top-level): Use gdb_compile to compile objects into
7151 executable and restart GDB. Remove invocation to
7152 prepare_for_testing.
7154 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7155 Pedro Alves <palves@redhat.com>
7158 * gdb.multi/multi-attach.c: New file.
7159 * gdb.multi/multi-attach.exp: New file.
7161 2014-04-25 Pedro Alves <palves@redhat.com>
7163 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7165 (top level): Test that "set remote conditional-breakpoints-packet
7166 off" works as intended.
7167 * gdb.base/dprintf.exp: Test that "set remote
7168 breakpoint-commands-packet off" works as intended.
7169 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7171 (top level): Call it.
7172 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7173 remote fast-tracepoints-packet off" works as intended.
7174 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7175 * lib/gdb.exp (gdb_is_target_remote): ... here.
7177 2014-04-24 David Blaikie <dblaikie@gmail.com>
7179 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7180 ensure clang would not discard them.
7181 * gdb.base/gdbvars.c: Ditto.
7182 * gdb.base/memattr.c: Ditto.
7183 * gdb.base/whatis.c: Ditto.
7184 * gdb.python/py-prettyprint.c: Ditto.
7185 * gdb.trace/actions.c: Ditto.
7186 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7187 ensure clang would not discard it.
7189 2014-04-24 David Blaikie <dblaikie@gmail.com>
7191 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7192 clang to emit the full definition of type required by the test
7193 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7195 2014-04-24 David Blaikie <dblaikie@gmail.com>
7197 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7198 coax Clang into emitting the definition of the type.
7199 * gdb.cp/pr10728-x.h (y): Ditto.
7200 * gdb.cp/pr10728-y.cc (y): Ditto.
7202 2014-04-24 David Blaikie <dblaikie@gmail.com>
7204 * gdb.base/label.exp: XFAIL label related tests under Clang.
7205 * gdb.cp/cplabel.exp: Ditto.
7206 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7207 under Clang those using labels.
7209 2014-04-25 Yao Qi <yao@codesourcery.com>
7211 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7213 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7214 partial_label and double_label.
7216 2014-04-24 David Blaikie <dblaikie@gmail.com>
7218 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7220 2014-04-24 David Blaikie <dblaikie@gmail.com>
7222 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7223 of the function to work across GCC and Clang.
7224 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7225 pointer types (const void ** const V void **).
7227 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7228 Walfred Tedeschi <walfred.tedeschi@intel.com>
7230 * Makefile.in (EXECUTABLES): Added i386-avx512.
7231 * gdb.arch/i386-avx512.c: New file.
7232 * gdb.arch/i386-avx512.exp: Likewise.
7234 2014-04-23 Keith Seitz <keiths@redhat.com>
7236 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7237 (mi_make_breakpoint_table): New procedure.
7238 (mi_create_breakpoint): Use mi_make_breakpoint
7239 and return the result.
7240 (mi_make_breakpoint): New procedure.
7241 (mi_build_kv_pairs): New procedure.
7243 * gdb.mi/mi-break.exp: Remove unused globals,
7244 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7245 All callers updated.
7246 * gdb.mi/mi-dprintf.exp: Use variable to track command
7248 Update all callers of mi_create_breakpoint and use
7249 mi_make_breakpoint_table.
7250 Remove any unused global variables.
7251 * gdb.mi/mi-nonstop.exp: Likewise.
7252 * gdb.mi/mi-nsintrall.exp: Likewise.
7253 * gdb.mi/mi-nsmoribund.exp: Likewise.
7254 * gdb.mi/mi-nsthrexec.exp: Likewise.
7255 * gdb.mi/mi-reverse.exp: Likewise.
7256 * gdb.mi/mi-simplerun.exp: Likewise.
7257 * gdb.mi/mi-stepn.exp: Likewise.
7258 * gdb.mi/mi-syn-frame.exp: Likewise.
7259 * gdb.mi/mi-until.exp: Likewise.
7260 * gdb.mi/mi-var-cp.exp: Likewise.
7261 * gdb.mi/mi-var-display.exp: Likewise.
7262 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7263 * gdb.mi/mi2-var-child.exp: Likewise.
7264 * gdb.mi/mi-vla-c99.exp: Likewise.
7265 * lib/mi-support.exp: Likewise.
7267 From Ian Lance Taylor <iant@cygnus.com>:
7268 * lib/gdb.exp (parse_args): New procedure.
7270 2014-04-23 Pedro Alves <palves@redhat.com>
7272 * gdb.base/break-unload-file.c: New file.
7273 * gdb.base/break-unload-file.exp: New file.
7274 * gdb.base/sym-file-lib.c (baz): New function.
7275 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7277 (load): Store the segment's mapped size.
7278 (unload): New function.
7279 (unload_shlib): New function.
7280 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7281 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7282 set a breakpoint at baz, and call it.
7283 * gdb.base/sym-file.exp: New tests for stale breakpoint
7286 2014-04-23 Pedro Alves <palves@redhat.com>
7288 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7289 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7290 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7291 * gdb.base/hbreak-unmapped.c: New file.
7292 * gdb.base/hbreak-unmapped.exp: New file.
7293 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7294 * lib/gdb.exp (gdb_is_target_remote): ... here.
7296 2014-04-22 Pedro Alves <palves@redhat.com>
7298 * gdb.base/consecutive-step-over.c: New file.
7299 * gdb.base/consecutive-step-over.exp: New file.
7301 2014-04-22 Pedro Alves <palves@redhat.com>
7303 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7304 instead of send_gdb/gdb_expect.
7306 2014-04-22 Yao Qi <yao@codesourcery.com>
7308 * lib/trace-support.exp (generate_tracefile): New procedure.
7309 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7311 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7312 if generate_tracefile returns 1.
7314 2014-04-18 Tom Tromey <palves@redhat.com>
7315 Pedro alves <tromey@redhat.com>
7318 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7319 with a backtrace limit.
7320 * gdb.python/py-frame-inline.exp: Test running to an inline
7321 function with a backtrace limit, and printing the newest frame.
7322 * gdb.python/py-frame-inline.c (main): Call f.
7324 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7326 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7328 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7330 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7331 Drop prefix from unsupported source file path.
7333 2014-04-17 Yao Qi <yao@codesourcery.com>
7335 * lib/gdb.exp (with_target_charset): New proc.
7336 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7337 with_target_charset.
7338 (test_print_strings): Likewise.
7339 (test_repeat_bytes): Likewise.
7340 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7343 2014-04-16 Keith Seitz <keiths@redhat.com>
7346 * gdb.dwarf2/corrupt.c: New file.
7347 * gdb.dwarf2/corrupt.exp: New file.
7349 2014-04-16 Keith Seitz <keiths@redhat.com>
7352 * gdb.cp/namelessclass.cc: New file.
7353 * gdb.cp/namelessclass.exp: New file.
7354 * gdb.cp/namelessclass.S: New file.
7356 2014-04-16 Doug Evans <dje@google.com>
7358 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7360 (gdbserver_default_get_comm_port): New function.
7361 (gdbserver_start): Check if board file provided
7362 "gdbserver,get_comm_port" and use it if so.
7363 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7364 (gdb,socketport): Set to "stdio".
7365 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7366 (stdio_gdbserver_template): Delete.
7367 (${board}_get_remote_address): Update.
7368 (${board}_build_remote_cmd): Delete.
7369 (${board}_get_comm_port): New function.
7370 (${board}_spawn): Update.
7371 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7373 (${board}_get_remote_address): Update.
7374 (${board}_get_comm_port): New function.
7376 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7378 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7379 appearing in any order.
7381 2014-04-15 Doug Evans <dje@google.com>
7383 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7384 uninitialized value of "description".
7386 2014-04-15 Keith Seitz <keiths@redhat.com>
7388 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7389 Remove unused globals.
7390 (test_running_the_program): Likewise.
7391 (test_controlled_execution): Likewise.
7392 (test_controlling_breakpoints): Likewise.
7393 (test_program_termination): Likewise.
7395 2014-04-15 Keith Seitz <keiths@redhat.com>
7397 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7399 (test_rbreak_creation_and_listing): Likewise.
7400 (test_ignore_count): Likewise.
7401 (test_error): Likewise.
7403 2014-04-15 Pedro Alves <palves@redhat.com>
7405 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7406 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7408 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7409 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7410 to sym-file-loader.c.
7411 (struct library): Forward declare.
7412 (load_shlib, lookup_function): Change prototypes.
7413 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7414 (translate_offset): Remove declarations.
7415 (get_text_addr): New declaration.
7416 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7417 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7419 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7420 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7421 here from sym-file-loader.h.
7422 (struct library): New structure.
7423 (load_shlib, lookup_function): Change prototypes and adjust to
7424 work with a struct library.
7425 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7426 (translate_offset): Make static.
7427 (get_text_addr): New function.
7428 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7430 2014-04-15 Pedro Alves <palves@redhat.com>
7432 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7434 2014-04-15 Pedro Alves <palves@redhat.com>
7436 * gdb.base/sym-file-loader.c: Include <limits.h>.
7437 (SELF_LINK): New define.
7438 (get_origin): New function.
7439 (load_shlib): Use it.
7440 * gdb.base/sym-file.exp: Don't early return if the target is
7441 remote. Use runto_main, and issue fail is that fails. Use
7443 (shlib_name): Delete.
7444 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7446 2014-04-15 Pedro Alves <palves@redhat.com>
7448 * gdb.base/sym-file.exp: Remove regex characters from test
7449 message. Don't refer to breakpoint numbers in test messages.
7451 2014-04-14 Keith Seitz <keiths@redhat.com>
7454 * gdb.cp/var-tag.cc: New file.
7455 * gdb.cp/var-tag.exp: New file.
7456 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7457 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7458 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7459 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7461 2014-04-14 Tom Tromey <tromey@redhat.com>
7463 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7464 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7466 * gdb.cp/enum-class.exp: New file.
7467 * gdb.cp/enum-class.cc: New file.
7469 2014-04-14 Tom Tromey <tromey@redhat.com>
7471 * gdb.dwarf2/enum-type.exp: New file.
7473 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7475 * gdb.mi/mi-vla-c99.exp: New file.
7476 * gdb.mi/vla.c: New file.
7478 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7480 * gdb.base/vla-datatypes.c: New file.
7481 * gdb.base/vla-datatypes.exp: New file.
7483 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7485 * gdb.base/vla-ptr.c: New file.
7486 * gdb.base/vla-ptr.exp: New file.
7488 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7490 * gdb.dwarf2/count.exp: New file.
7492 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7494 * gdb.base/vla-sideeffect.c: New file.
7495 * gdb.base/vla-sideeffect.exp: New file.
7497 2014-04-14 David Blaikie <dblaikie@gmail.com>
7499 * gdb.mi/non-stop.c: Add return value for non-void function return
7501 * gdb.threads/staticthreads.c: Ditto.
7503 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7504 Doug Evans <xdje42@gmail.com>
7506 * gdb.guile/scm-value.c: Improve test case.
7507 * gdb.guile/scm-value.exp: Add new test.
7509 2014-04-11 David Blaikie <dblaikie@gmail.com>
7511 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7512 override Clang's default.
7514 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7516 Revert the following changes (regressions):
7518 * gdb.base/vla-sideeffect.c: New file.
7519 * gdb.base/vla-sideeffect.exp: New file.
7521 * gdb.dwarf2/count.exp: New file.
7523 * gdb.base/vla-multi.c: New file.
7524 * gdb.base/vla-multi.exp: New file.
7526 * gdb.base/vla-ptr.c: New file.
7527 * gdb.base/vla-ptr.exp: New file.
7529 * gdb.base/vla-datatypes.c: New file.
7530 * gdb.base/vla-datatypes.exp: New file.
7532 * gdb.mi/mi-vla-c99.exp: New file.
7533 * gdb.mi/vla.c: New file.
7535 2014-04-11 Keith Seitz <keiths@redhat.com>
7538 * gdb.cp/cpsizeof.exp: New file.
7539 * gdb.cp/cpsizeof.cc: New file.
7541 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7543 * gdb.mi/mi-vla-c99.exp: New file.
7544 * gdb.mi/vla.c: New file.
7546 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7548 * gdb.base/vla-datatypes.c: New file.
7549 * gdb.base/vla-datatypes.exp: New file.
7551 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7553 * gdb.base/vla-ptr.c: New file.
7554 * gdb.base/vla-ptr.exp: New file.
7556 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7558 * gdb.base/vla-multi.c: New file.
7559 * gdb.base/vla-multi.exp: New file.
7561 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7563 * gdb.dwarf2/count.exp: New file.
7565 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7567 * gdb.base/vla-sideeffect.c: New file.
7568 * gdb.base/vla-sideeffect.exp: New file.
7570 2014-04-11 Yao Qi <yao@codesourcery.com>
7572 * gdb.base/completion.exp: Check file exists before running tests
7575 2014-04-10 Pedro Alves <palves@redhat.com>
7577 * gdb.base/cond-eval-mode.c: New file.
7578 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7579 prepare_for_testing to build the new file. Check result of
7581 (test_break, test_watch): New procedures.
7582 (top level): Use them.
7584 2014-04-08 Pierre Muller <muller@sourceware.org>
7586 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7587 Ctrl-V use for mingw hosts.
7589 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7591 * gdb.python/py-value.c: Improve test case.
7592 * gdb.python/py-value.exp: Add new test.
7594 2014-04-07 David Blaikie <dblaikie@gmail.com>
7596 * lib/compiler.c: Identify the clang compiler.
7597 * lib/compiler.cc: Ditto.
7599 2014-04-03 Yao Qi <yao@codesourcery.com>
7601 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7603 2014-04-01 Anton Blanchard <anton@samba.org>
7605 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7608 2014-04-01 Anton Blanchard <anton@samba.org>
7610 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7611 prepare_for_testing.
7613 2014-04-01 Anton Blanchard <anton@samba.org>
7615 * gdb.arch/ppc64-atomic-inst.c: Remove.
7616 * gdb.arch/ppc64-atomic-inst.S: New file.
7617 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7619 2014-03-31 Doug Evans <dje@google.com>
7621 * gdb.base/print-symbol-loading-lib.c: New file.
7622 * gdb.base/print-symbol-loading-main.c: New file.
7623 * gdb.base/print-symbol-loading.exp: New file.
7625 2014-03-31 Yao Qi <yao@codesourcery.com>
7627 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7629 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7631 * gdb.ada/mi_dyn_arr: New testcase.
7633 2014-03-27 Doug Evans <dje@google.com>
7635 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7637 2014-03-27 Yao Qi <yao@codesourcery.com>
7639 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7640 if target is nios2-*-*.
7642 2014-03-26 Yao Qi <yao@codesourcery.com>
7644 * lib/gdb.exp (readline_is_used): New proc.
7645 * gdb.base/completion.exp: Move tests on command complete up.
7646 Skip the rest of tests if readline is not used.
7647 * gdb.ada/complete.exp: Skp the test if readline is not
7649 * gdb.base/filesym.exp: Likewise.
7650 * gdb.base/macscp.exp: Likewise.
7651 * gdb.base/readline-ask.exp: Likewise.
7652 * gdb.base/readline.exp: Likewise.
7653 * gdb.python/py-cmd.exp: Likewise.
7654 * gdb.trace/tfile.exp: Likewise.
7656 2014-03-26 Yao Qi <yao@codesourcery.com>
7658 * gdb.base/macscp.exp: Fix code format issues.
7660 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7662 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7663 * gdb.asm/powerpc64le.inc: New file.
7665 2014-03-25 Pedro Alves <palves@redhat.com>
7666 Doug Evans <dje@google.com>
7668 * gdb.base/source-execution.c: New file.
7669 * gdb.base/source-execution.exp: New file.
7670 * gdb.base/source-execution.gdb: New file.
7672 2014-03-24 Doug Evans <dje@google.com>
7674 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7677 2014-03-24 Hui Zhu <hui@codesourcery.com>
7678 Pedro Alves <palves@redhat.com>
7680 PR breakpoints/16101
7681 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7682 test pass/fail messages. Detect missing support for dprintf when
7683 breakpoints are actually inserted.
7684 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7685 breakpoints are actually inserted.
7686 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7689 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7691 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7693 2014-03-22 Doug Evans <xdje42@gmail.com>
7695 * gdb.python/python.exp (python not supported): Verify multi-line
7696 python command issues an error.
7697 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7698 guile command issues an error.
7700 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7702 * gdb.threads/thread-specific.exp: Handle the lack of usable
7703 $this_breakpoint and $this_thread.
7705 2014-03-21 Hui Zhu <hui@codesourcery.com>
7707 * gdb.base/attach.exp (do_command_attach_tests): New.
7709 2014-03-20 Tom Tromey <tromey@redhat.com>
7710 Pedro Alves <palves@redhat.com>
7713 * gdb.base/condbreak-call-false.c: New file.
7714 * gdb.base/condbreak-call-false.exp: New file.
7716 2014-03-20 Pedro Alves <palves@redhat.com>
7718 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7720 (block_signals, unblock_signals): Delete.
7721 (child_function_2, main): Remove references to deleted variable
7724 2014-03-20 Pedro Alves <palves@redhat.com>
7726 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7727 Use pthread_kill to signal thread 2.
7728 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7729 Adjust to make the test send itself a signal rather than using the
7730 host's "kill" command.
7732 2014-03-20 Pedro Alves <palves@redhat.com>
7734 * gdb.threads/multiple-step-overs.c: New file.
7735 * gdb.threads/multiple-step-overs.exp: New file.
7736 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7737 Adjust expected infrun debug output.
7739 2014-03-20 Pedro Alves <palves@redhat.com>
7741 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7742 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7744 2014-03-20 Pedro Alves <palves@redhat.com>
7747 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7748 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7749 of gdb_test_multiple.
7750 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7751 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7753 2014-03-20 Pedro Alves <palves@redhat.com>
7755 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7756 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7758 2014-03-19 Pedro Alves <palves@redhat.com>
7760 * gdb.base/async.exp: Remove early return.
7762 2014-03-19 Pedro Alves <palves@redhat.com>
7764 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7766 2014-03-19 Pedro Alves <palves@redhat.com>
7768 * gdb.base/async.exp (test_background): Expect \r\n after
7769 "completed." in the fail pattern.
7771 2014-03-19 Pedro Alves <palves@redhat.com>
7773 * gdb.base/async.exp (test_background): New procedure.
7774 Use it for all background execution command tests.
7776 2014-03-19 Pedro Alves <palves@redhat.com>
7778 * gdb.base/async.exp: Use prepare_for_testing.
7780 2014-03-19 Pedro Alves <palves@redhat.com>
7782 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7785 2014-03-19 Pedro Alves <palves@redhat.com>
7787 * gdb.base/async.c (main): Add "jump here" and "until here" line
7789 * gdb.base/async.exp (jump_here): New global.
7790 (jump& test): Use it.
7791 (until_here): New global.
7792 (until& test): Use it.
7794 2014-03-19 Pedro Alves <palves@redhat.com>
7796 * gdb.base/async.exp: Don't frob gdb_protocol.
7798 2014-03-18 Doug Evans <xdje42@gmail.com>
7800 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7801 Fix spelling of exec-done-display.
7803 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7806 * gdb.base/gdb-sigterm.c: New file.
7807 * gdb.base/gdb-sigterm.exp: New file.
7809 2014-03-18 Pedro Alves <palves@redhat.com>
7812 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7813 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7816 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7818 * gdb.ada/pckd_arr_ren: New testcase.
7820 2014-03-13 Doug Evans <xdje42@gmail.com>
7823 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7824 collect after discarding symbols.
7826 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7827 Doug Evans <xdje42@gmail.com>
7829 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7830 to history survives a gc.
7832 2014-03-13 Pedro Alves <palves@redhat.com>
7834 * gdb.base/default.exp: Don't test "target procfs".
7836 2014-03-13 Pedro Alves <palves@redhat.com>
7838 * gdb.base/default.exp: Update "target child" and "target procfs"
7839 tests to not expect "Unix".
7841 2014-03-12 Tom Tromey <tromey@redhat.com>
7843 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7844 New procs. Add target-async tests.
7845 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7846 Add target-async tests.
7848 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7850 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7851 'func_start' and 'func_end' for the beginning and end of the
7852 function code, respectively.
7853 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7854 'func_end' instead of 'func' and 'main'.
7856 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7858 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7859 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7860 generate the debug info assembler source.
7862 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7864 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7865 * gdb.dwarf2/arr-subrange.exp: Likewise.
7866 * gdb.dwarf2/dwz.exp: Likewise.
7867 * gdb.dwarf2/method-ptr.exp: Likewise.
7868 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7869 * gdb.dwarf2/subrange.exp: Likewise.
7870 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7871 * gdb.dwarf2/implptrpiece.exp: Likewise.
7872 * gdb.dwarf2/nostaticblock.exp: Likewise.
7874 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7876 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7877 directory to absolute path name arguments.
7879 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7881 * gdb.ada/tagged_access: New testcase.
7883 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7885 * gdb.btrace/data.exp: Update expected output.
7887 2014-03-06 Yao Qi <yao@codesourcery.com>
7889 * gdb.trace/pr16508.exp: New file.
7891 2014-03-05 Pedro Alves <palves@redhat.com>
7894 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7896 (top level): Adjust to use it. Add tests that exercise breakpoint
7897 interaction with the code-cache.
7899 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7901 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7902 test for 'history-append!'.
7904 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7906 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7907 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7908 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7909 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7910 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7911 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7913 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7915 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7916 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7917 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7919 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7921 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7923 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7925 * gdb.dwarf2/arr-stride.c: New file.
7926 * gdb.dwarf2/arr-stride.exp: New file.
7928 2014-02-26 Pedro Alves <palves@redhat.com>
7930 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7931 that won't ever trigger. Make sure that GDB reports the correct
7932 breakpoint that caused the stop.
7934 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7937 * gdb.base/auto-load-script: New file.
7938 * gdb.base/auto-load.c: New file.
7939 * gdb.base/auto-load.exp: New file.
7942 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7944 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7946 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7947 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7949 2014-02-24 Doug Evans <dje@google.com>
7951 * lib/gdb.exp (run_on_host): Log error output if program fails.
7953 2014-02-21 Pedro Alves <palves@redhat.com>
7955 * gdb.threads/step-after-sr-lock.c: Rename to ...
7956 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7957 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7958 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7961 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7964 * gdb.arch/amd64-stap-special-operands.exp: New file.
7965 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7966 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7967 * gdb.arch/amd64-stap-triplet.S: Likewise.
7968 * gdb.arch/amd64-stap-triplet.c: Likewise.
7970 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7972 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7973 in .section pseudo-op.
7975 2014-02-20 lin zuojian <manjian2006@gmail.com>
7976 Joel Brobecker <brobecker@adacore.com>
7977 Doug Evans <xdje42@gmail.com>
7980 * gdb.dwarf2/dw2-icycle.S: New file.
7981 * gdb.dwarf2/dw2-icycle.c: New file.
7982 * gdb.dwarf2/dw2-icycle.exp: New file.
7984 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7986 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7987 operations on gdb.Value objects.
7988 * gdb.python/py-value-cc.exp: Add new test to test operations on
7991 2014-02-18 Doug Evans <dje@google.com>
7993 * Makefile.in (TESTS): New variable.
7994 (expanded_tests, expanded_tests_or_none): New variables
7995 (check-single): Pass $(expanded_tests_or_none) to runtest.
7996 (check-parallel): Only run tests in $(TESTS) if non-empty.
7997 (check/no-matching-tests-found): New rule.
7998 * README: Document TESTS makefile variable.
8000 2014-02-18 Doug Evans <dje@google.com>
8002 * Makefile.in (check-parallel): rm -rf outputs temp.
8004 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
8006 Fix "ERROR: no fileid for" in the testsuite.
8007 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
8009 2014-02-12 Doug Evans <dje@google.com>
8011 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
8012 (MISCELLANEOUS): New variable.
8013 (clean): rm -rf $(MISCELLANEOUS).
8014 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
8015 dwp live in the same directory as symlinks, with each symlink pointed
8016 to a differently named file in a different directory.
8018 2014-02-11 Doug Evans <dje@google.com>
8020 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
8021 of Tcl file commands.
8023 2014-02-10 Mark Kettenis <kettenis@gnu.org>
8025 * gdb.threads/step-after-sr-lock.exp: Avoid executing
8028 2014-02-10 Joel Brobecker <brobecker@adacore.com>
8030 * gdb.ada/tick_length_array_enum_idx: New testcase.
8032 2014-02-10 Doug Evans <xdje42@gmail.com>
8034 * configure.ac (AC_OUTPUT): Add gdb.guile.
8035 * configure: Regenerate.
8036 * lib/gdb-guile.exp: New file.
8037 * lib/gdb.exp (get_target_charset): New function.
8038 * gdb.base/help.exp: Update expected output from "apropos apropos".
8039 * gdb.guile/Makefile.in: New file.
8040 * gdb.guile/guile.exp: New file.
8041 * gdb.guile/scm-arch.c: New file.
8042 * gdb.guile/scm-arch.exp: New file.
8043 * gdb.guile/scm-block.c: New file.
8044 * gdb.guile/scm-block.exp: New file.
8045 * gdb.guile/scm-breakpoint.c: New file.
8046 * gdb.guile/scm-breakpoint.exp: New file.
8047 * gdb.guile/scm-disasm.c: New file.
8048 * gdb.guile/scm-disasm.exp: New file.
8049 * gdb.guile/scm-equal.c: New file.
8050 * gdb.guile/scm-equal.exp: New file.
8051 * gdb.guile/scm-error.exp: New file.
8052 * gdb.guile/scm-error.scm: New file.
8053 * gdb.guile/scm-frame-args.c: New file.
8054 * gdb.guile/scm-frame-args.exp: New file.
8055 * gdb.guile/scm-frame-args.scm: New file.
8056 * gdb.guile/scm-frame-inline.c: New file.
8057 * gdb.guile/scm-frame-inline.exp: New file.
8058 * gdb.guile/scm-frame.c: New file.
8059 * gdb.guile/scm-frame.exp: New file.
8060 * gdb.guile/scm-generics.exp: New file.
8061 * gdb.guile/scm-gsmob.exp: New file.
8062 * gdb.guile/scm-iterator.c: New file.
8063 * gdb.guile/scm-iterator.exp: New file.
8064 * gdb.guile/scm-math.c: New file.
8065 * gdb.guile/scm-math.exp: New file.
8066 * gdb.guile/scm-objfile-script-gdb.in: New file.
8067 * gdb.guile/scm-objfile-script.c: New file.
8068 * gdb.guile/scm-objfile-script.exp: New file.
8069 * gdb.guile/scm-objfile.c: New file.
8070 * gdb.guile/scm-objfile.exp: New file.
8071 * gdb.guile/scm-ports.exp: New file.
8072 * gdb.guile/scm-pretty-print.c: New file.
8073 * gdb.guile/scm-pretty-print.exp: New file.
8074 * gdb.guile/scm-pretty-print.scm: New file.
8075 * gdb.guile/scm-section-script.c: New file.
8076 * gdb.guile/scm-section-script.exp: New file.
8077 * gdb.guile/scm-section-script.scm: New file.
8078 * gdb.guile/scm-symbol.c: New file.
8079 * gdb.guile/scm-symbol.exp: New file.
8080 * gdb.guile/scm-symtab-2.c: New file.
8081 * gdb.guile/scm-symtab.c: New file.
8082 * gdb.guile/scm-symtab.exp: New file.
8083 * gdb.guile/scm-type.c: New file.
8084 * gdb.guile/scm-type.exp: New file.
8085 * gdb.guile/scm-value-cc.cc: New file.
8086 * gdb.guile/scm-value-cc.exp: New file.
8087 * gdb.guile/scm-value.c: New file.
8088 * gdb.guile/scm-value.exp: New file.
8089 * gdb.guile/source2.scm: New file.
8090 * gdb.guile/types-module.cc: New file.
8091 * gdb.guile/types-module.exp: New file.
8093 2014-02-10 Yao Qi <yao@codesourcery.com>
8096 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8097 * configure: Regenerated.
8098 * Makefile.in: New file.
8100 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8102 * gdb.python/py-framefilter.exp: Fix typo.
8104 2014-02-08 Yao Qi <yao@codesourcery.com>
8106 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8107 that no =breakpoint-modified is emitted when breakpoints are
8108 modified through MI commands.
8110 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8111 Pedro Alves <palves@redhat.com>
8113 * gdb.threads/step-after-sr-lock.c: New file.
8114 * gdb.threads/step-after-sr-lock.exp: New file.
8116 2014-02-07 Pedro Alves <palves@redhat.com>
8118 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8120 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8122 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8123 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8125 2014-02-06 Doug Evans <xdje42@gmail.com>
8127 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8130 * gdb.gdb/python-interrupts.exp: New file.
8132 2014-02-05 Yao Qi <yao@codesourcery.com>
8134 * gdb.trace/report.exp (use_collected_data): Test the output
8135 of "info threads" and "info inferiors".
8137 2014-02-05 Yao Qi <yao@codesourcery.com>
8141 2013-05-24 Yao Qi <yao@codesourcery.com>
8143 * gdb.trace/tfile.exp: Test inferior and thread.
8145 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8147 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8149 * gdb.base/step-bt.c: Call hello via function pointer to make
8150 sure its first instruction is executed on powerpc64le-linux.
8152 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8154 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8156 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8158 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8159 of the test patterns for use on little-endian systems.
8161 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8163 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8164 (decimal_vector): Fix for little-endian.
8166 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8168 * gdb.arch/sparc-sysstep.exp: New file.
8169 * gdb.arch/sparc-sysstep.c: Likewise.
8171 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8173 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8175 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8177 2014-01-23 Tom Tromey <tromey@redhat.com>
8179 * gdb.ada/array_char_idx: New testcase.
8181 2014-01-23 Tom Tromey <tromey@redhat.com>
8184 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8185 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8188 2014-01-23 Tom Tromey <tromey@redhat.com>
8191 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8192 string from an inferior frame.
8193 * gdb.python/py-framefilter-mi.exp: Update.
8195 2014-01-22 Doug Evans <dje@google.com>
8197 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8199 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8201 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8203 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8205 * gdb.trace/entry-values.exp: Remove excess space character from
8206 regex patterns. Handle s390 call instruction.
8208 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8210 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8211 define "*_start" label. Make "name" static.
8212 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8213 ${name} by references to ${name}_start.
8215 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8217 * gdb.base/info-macros.exp: Remove "debug" from the compile
8220 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8222 * gdb.dlang/demangle.exp: New file.
8224 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8226 * gdb.dlang/primitive-types.exp: New file.
8228 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8230 * configure.ac: Create gdb.dlang/Makefile.
8231 * configure: Regenerate.
8232 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8233 * gdb.dlang/Makefile.in: New file.
8234 * lib/d-support.exp: New file.
8235 * lib/gdb.exp (skip_d_tests): New proc.
8237 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8239 * gdb.btrace/delta.exp: Check reverse stepi.
8240 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8241 * gdb.btrace/finish.exp: New.
8242 * gdb.btrace/next.exp: New.
8243 * gdb.btrace/nexti.exp: New.
8244 * gdb.btrace/record_goto.c: Add comments.
8245 * gdb.btrace/step.exp: New.
8246 * gdb.btrace/stepi.exp: New.
8247 * gdb.btrace/multi-thread-step.c: New.
8248 * gdb.btrace/multi-thread-step.exp: New.
8249 * gdb.btrace/rn-dl-bind.c: New.
8250 * gdb.btrace/rn-dl-bind.exp: New.
8251 * gdb.btrace/data.c: New.
8252 * gdb.btrace/data.exp: New.
8253 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8255 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8257 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8258 * gdb.btrace/exception.exp: Update.
8259 * gdb.btrace/instruction_history.exp: Update.
8260 * gdb.btrace/record_goto.exp: Update.
8261 * gdb.btrace/tailcall.exp: Update.
8262 * gdb.btrace/unknown_functions.exp: Update.
8263 * gdb.btrace/delta.exp: New.
8265 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8267 * gdb.btrace/record_goto.exp: Add backtrace test.
8268 * gdb.btrace/tailcall.exp: Add backtrace test.
8270 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8272 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8273 * gdb.btrace/record_goto.c: New.
8274 * gdb.btrace/record_goto.exp: New.
8275 * gdb.btrace/x86-record_goto.S: New.
8277 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8279 * gdb.btrace/function_call_history.exp: Update tests.
8280 * gdb.btrace/instruction_history.exp: Update tests.
8282 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8284 * gdb.btrace/function_call_history.exp: Fix expected field
8285 order for "record function-call-history".
8286 Add new tests for "record function-call-history /c".
8287 * gdb.btrace/exception.cc: New.
8288 * gdb.btrace/exception.exp: New.
8289 * gdb.btrace/tailcall.exp: New.
8290 * gdb.btrace/x86-tailcall.S: New.
8291 * gdb.btrace/x86-tailcall.c: New.
8292 * gdb.btrace/unknown_functions.c: New.
8293 * gdb.btrace/unknown_functions.exp: New.
8294 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8296 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8298 * gdb.btrace/instruction_history.exp: Update.
8299 * gdb.btrace/function_call_history.exp: Update.
8301 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8303 * gdb.btrace/function_call_history.exp: Fix expected function
8305 * gdb.btrace/instruction_history.exp: Initialize traced.
8306 Remove traced_functions.
8308 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8310 * gdb.btrace/function_call_history.exp: Update
8311 * gdb.btrace/instruction_history.exp: Update.
8313 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8315 * gdb.btrace/enable.exp: Update expected text.
8317 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8319 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8322 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8324 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8326 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8328 * lib/gdb.exp (supports_process_record): Return true for
8329 arm*-linux*. (supports_reverse): Likewise.
8331 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8335 * gdb.python/py-type.c: Enhance test case.
8336 * gdb.python/py-value-cc.cc: Likewise
8337 * gdb.python/py-type.exp: Add new tests.
8338 * gdb.python/py-value-cc.exp: Likewise
8340 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8341 Pedro Alves <palves@redhat.com>
8343 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8345 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8346 references to ${name}_start by references to ${name}.
8348 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8350 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8352 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8354 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8356 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8357 Pedro Alves <palves@redhat.com>
8359 * gdb.mi/mi-info-os.exp: Connect to the target with
8362 2014-01-08 Pedro Alves <palves@redhat.com>
8364 * gdb.threads/reconnect-signal.c: New file.
8365 * gdb.threads/reconnect-signal.exp: New file.
8367 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8369 * gdb.base/source-dir.exp: New file.
8371 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8373 * gdb.ada/mi_interface: New testcase.
8375 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8377 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8378 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8379 gdb.ada/pp-rec-component/pck.ads: New files.
8381 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8383 * gdb.python/py-pp-integral.c: New file.
8384 * gdb.python/py-pp-integral.py: New file.
8385 * gdb.python/py-pp-integral.exp: New file.
8387 For older changes see ChangeLog-1993-2013.
8393 ;; version-control: never
8396 Copyright 2014-2016 Free Software Foundation, Inc.
8397 Copying and distribution of this file, with or without modification,
8398 are permitted provided the copyright notice and this notice are preserved.