1 2016-05-23 Tom Tromey <tom@tromey.com>
4 * gdb.python/py-breakpoint.exp (test_bkpt_basic): Add test for
7 2016-05-24 Pedro Alves <palves@redhat.com>
10 * gdb.threads/clone-attach-detach.c: New file.
11 * gdb.threads/clone-attach-detach.exp: New file.
13 2016-05-24 Francis Ricci <francisjricci@gmail.com> (tiny patch)
15 * gdb.base/annota-input-while-running.exp: Fix syntax error.
17 2016-05-23 Tom Tromey <tom@tromey.com>
19 PR python/19438, PR python/18393:
20 * gdb.python/py-progspace.exp: Add "dir" test.
21 * gdb.python/py-objfile.exp: Add "dir" test.
23 2016-05-23 Yao Qi <yao.qi@linaro.org>
25 * gdb.arch/thumb-prologue.exp: Use standard_testfile.
26 * gdb.arch/thumb2-it.exp: Likewise.
28 2016-05-18 Simon Marchi <simon.marchi@ericsson.com>
30 * gdb.mi/mi-threads-interrupt.c: New file.
31 * gdb.mi/mi-threads-interrupt.exp: New file.
33 2016-05-17 Simon Marchi <simon.marchi@ericsson.com>
36 * gdb.mi/mi-async-run.exp: New file.
37 * gdb.mi/mi-async-run.c: New file.
39 2016-05-17 Tom Tromey <tom@tromey.com>
40 Manish Goregaokar <manishsmail@gmail.com>
42 * lib/rust-support.exp: New file.
43 * lib/gdb.exp (skip_rust_tests): New proc.
44 (build_executable_from_specs): Handle rust.
45 * lib/future.exp (gdb_find_rustc): New proc.
46 (gdb_default_target_compile): Handle rust.
47 * gdb.rust/expr.exp: New file.
48 * gdb.rust/generics.exp: New file.
49 * gdb.rust/generics.rs: New file.
50 * gdb.rust/methods.exp: New file.
51 * gdb.rust/methods.rs: New file.
52 * gdb.rust/modules.exp: New file.
53 * gdb.rust/modules.rs: New file.
54 * gdb.rust/simple.exp: New file.
55 * gdb.rust/simple.rs: New file.
57 2016-05-17 Tom Tromey <tom@tromey.com>
59 * gdb.base/default.exp (set language): Add rust.
61 2016-05-17 Tom Tromey <tom@tromey.com>
63 * gdb.gdb/unittest.exp: New file.
65 2016-05-16 Yao Qi <yao.qi@linaro.org>
67 * gdb.base/batch-preserve-term-settings.exp: Remove variable
68 shell_prompt. Update shell_prompt_re.
70 2016-05-12 Doug Evans <dje@google.com>
73 * lib/dwarf.exp (build_executable_from_fission_assembler): Pass
74 $options when building executable.
75 * gdb.dwarf2/fission-loclists-pie.S: New file.
76 * gdb.dwarf2/fission-loclists-pie.exp: New file.
78 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
80 * gdb.base/solib-display.exp: Check for [use_gdb_stub] instead
81 of [is_remote target],
83 2016-05-04 Simon Marchi <simon.marchi@ericsson.com>
85 * lib/gdb.exp (use_gdb_stub): New procedure.
87 2016-05-03 Yunlian Jiang <yunlian@google.com>
88 Doug Evans <dje@google.com>
91 * gdb.dwarf2/dwp-sepdebug.c: New file.
92 * gdb.dwarf2/dwp-sepdebug.exp: New file.
94 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
96 * gdb.base/detach.exp: Remove is_remote check.
98 2016-05-02 Simon Marchi <simon.marchi@ericsson.com>
100 * gdb.base/annota-input-while-running.exp: Don't check for
101 [is_remote target]. Enable annotations after running to main.
102 Remove unused "set test..." line.
104 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
106 * gdb.trace/trace-enable-disable.exp: New file.
107 * gdb.trace/trace-enable-disable.c: New file.
109 2016-04-28 Simon Marchi <simon.marchi@ericsson.com>
111 * gdb.arch/ftrace-insn-reloc.exp: Save gdb_load_shlib result,
112 use it in info sharedlibrary test.
113 * gdb.trace/ftrace-lock.exp: Likewise.
114 * gdb.trace/ftrace.exp: Likewise.
115 * gdb.trace/range-stepping.exp: Likewise.
116 * gdb.trace/trace-break.exp: Likewise.
117 * gdb.trace/trace-condition.exp: Likewise.
118 * gdb.trace/trace-mt.exp: Likewise.
120 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
122 * lib/gdb.exp (gdb_load_shlibs): Rename to...
123 (gdb_load_shlib): ... this.
124 * gdb.arch/ftrace-insn-reloc.exp: Adjust gdb_load_shlibs ->
126 * gdb.base/catch-load.exp (one_catch_load_test): Likewise.
127 * gdb.base/ctxobj.exp: Likewise.
128 * gdb.base/dprintf-pending.exp: Likewise.
129 * gdb.base/dso2dso.exp: Likewise.
130 * gdb.base/fixsection.exp: Likewise.
131 * gdb.base/gcore-relro.exp: Likewise.
132 * gdb.base/gdb1555.exp: Likewise.
133 * gdb.base/global-var-nested-by-dso.exp: Likewise.
134 * gdb.base/gnu-ifunc.exp: Likewise.
135 * gdb.base/hbreak-in-shr-unsupported.exp: Likewise.
136 * gdb.base/jit-so.exp (one_jit_test): Likewise.
137 * gdb.base/pending.exp: Likewise.
138 * gdb.base/print-file-var.exp: Likewise.
139 * gdb.base/print-symbol-loading.exp: Likewise.
140 * gdb.base/shlib-call.exp: Likewise.
141 * gdb.base/shreloc.exp: Likewise.
142 * gdb.base/so-impl-ld.exp: Likewise.
143 * gdb.base/solib-disc.exp: Likewise.
144 * gdb.base/solib-nodir.exp: Likewise.
145 * gdb.base/solib-overlap.exp: Likewise.
146 * gdb.base/solib-symbol.exp: Likewise.
147 * gdb.base/solib-weak.exp (do_test): Likewise.
148 * gdb.base/sym-file.exp: Likewise.
149 * gdb.base/symtab-search-order.exp: Likewise.
150 * gdb.base/type-opaque.exp: Likewise.
151 * gdb.base/unload.exp: Likewise.
152 * gdb.base/watchpoint-solib.exp: Likewise.
153 * gdb.compile/compile.exp: Likewise.
154 * gdb.cp/gdb2384.exp: Likewise.
155 * gdb.cp/infcall-dlopen.exp: Likewise.
156 * gdb.cp/re-set-overloaded.exp: Likewise.
157 * gdb.fortran/library-module.exp: Likewise.
158 * gdb.opt/solib-intra-step.exp: Likewise.
159 * gdb.python/py-finish-breakpoint.exp: Likewise.
160 * gdb.python/py-shared.exp: Likewise.
161 * gdb.reverse/solib-precsave.exp: Likewise.
162 * gdb.reverse/solib-reverse.exp: Likewise.
163 * gdb.server/solib-list.exp: Likewise.
164 * gdb.threads/dlopen-libpthread.exp: Likewise.
165 * gdb.threads/tls-shared.exp: Likewise.
166 * gdb.threads/tls-so_extern.exp: Likewise.
167 * gdb.trace/change-loc.exp: Likewise.
168 * gdb.trace/ftrace-lock.exp: Likewise.
169 * gdb.trace/ftrace.exp: Likewise.
170 * gdb.trace/mi-tracepoint-changed.exp (test_reconnect): Likewise.
171 * gdb.trace/pending.exp: Likewise.
172 * gdb.trace/range-stepping.exp: Likewise.
173 * gdb.trace/strace.exp (strace_remove_socket): Likewise.
174 (strace_info_marker): Likewise.
175 (strace_probe_marker): Likewise.
176 (strace_trace_on_same_addr): Likewise.
177 (strace_trace_on_diff_addr): Likewise.
178 * gdb.trace/trace-break.exp: Likewise.
179 * gdb.trace/trace-condition.exp: Likewise.
180 * gdb.trace/trace-mt.exp: Likewise.
182 2016-04-27 Simon Marchi <simon.marchi@ericsson.com>
184 * lib/gdb.exp (gdb_load_shlibs): Accept a single argument. Return
185 result of gdb_remote_download.
186 * gdb.base/ctxobj.exp: Split gdb_load_shlibs call.
187 * gdb.base/dso2dso.exp: Likewise.
188 * gdb.base/global-var-nested-by-dso.exp: Likewise.
189 * gdb.base/print-file-var.exp: Likewise.
190 * gdb.base/shlib-call.exp: Likewise.
191 * gdb.base/shreloc.exp: Likewise.
192 * gdb.base/solib-overlap.exp: Likewise.
193 * gdb.base/solib-weak.exp (do_test): Likewise.
194 * gdb.base/unload.exp: Likewise.
196 2016-04-27 Yao Qi <yao.qi@linaro.org>
198 * gdb.base/branch-to-self.exp: Skip it if gdb,nosignals
201 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
203 * vla-type.exp: Print structure from toplevel.
205 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
207 * gdb.fortran/vla-type.f90: Add test for static and dynamic arrays
209 * gdb.fortran/vla-type.exp: Add test for static and dynamic arrays
212 2016-04-26 Bernhard Heckel <bernhard.heckel@intel.com>
214 * gdb.fortran/vla-type.f90: New file.
215 * gdb.fortran/vla-type.exp: New file.
217 2016-04-25 Yao Qi <yao.qi@linaro.org>
219 * gdb.base/branch-to-self.c: New file.
220 * gdb.base/branch-to-self.exp: New file.
222 2016-04-22 Yao Qi <yao.qi@linaro.org>
224 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
227 2016-04-22 Yao Qi <yao.qi@linaro.org>
229 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
230 * gdb.base/annota3.exp: Likewise.
232 2016-04-22 Yao Qi <yao.qi@linaro.org>
234 * gdb.reverse/step-precsave.exp: Do one step and test program
235 stops in "callee" and do multiple steps until program goes out
237 * gdb.reverse/step-reverse.exp: Likewise.
239 2016-04-22 Yao Qi <yao.qi@linaro.org>
241 * gdb.trace/signal.exp: Also pass if
242 $tracepoint_hits($i) > $iterations.
244 2016-04-22 Yao Qi <yao.qi@linaro.org>
246 * gdb.trace/signal.c: New file.
247 * gdb.trace/signal.exp: New file.
249 2016-04-19 Doug Evans <xdje42@gmail.com>
251 * gdb.base/bad-file.exp: New file.
253 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
255 * gdb.dwarf2/implref.exp: New file.
257 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
259 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
260 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
261 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
262 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
263 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
264 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
265 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
266 * lib/fortran.exp (fortran_int4): New procedure.
267 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
268 (fortran_logical4): Likewise.
270 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
272 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
274 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
276 * lib/compiler.c: Add Intel specific preprocessor macros.
277 * lib/compiler.cc: Likewise.
279 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
281 * gdb.server/connect-with-no-symbol-file.c: New file.
282 * gdb.server/connect-with-no-symbol-file.exp: New file.
284 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
286 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
288 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
290 * boards/gdbserver-base.exp (${board}_download): Copy source file to
291 standard output directory.
293 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
295 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
297 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
299 * gdb.btrace/instruction_history.c (loop): Add declaration.
301 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
303 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
305 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
307 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
308 parentheses to print.
309 (continue_handler): Likewise.
311 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
313 * gdb.server/solib-list.exp: Remove is_remote check.
314 Pass shlib= to gdb_compile. Don't link shared library with
315 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
316 Run binary filename through "readlink -f" on the target.
318 2016-04-08 Pedro Alves <palves@redhat.com>
320 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
321 interpreter filename as argument to gdbserver_spawn.
322 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
323 Return empty if $last_loaded_file does not exist.
325 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
327 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
328 * gdb.base/jit-main.c: Use exit after usage.
330 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
332 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
333 GDBHISTSIZE prior to the tests.
334 * gdb.base/gdbinit-history.exp: Likewise.
336 2016-04-07 Pedro Alves <palves@redhat.com>
338 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
339 instead of build_executable. Use gdb_load_shlibs.
341 2016-04-07 Yao Qi <yao.qi@linaro.org>
343 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
344 Execute "si" command.
346 2016-04-07 Yao Qi <yao.qi@linaro.org>
348 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
349 number instead of the comments on some line.
351 2016-04-06 Don Breazeal <donb@codesourcery.com>
353 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
354 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
356 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
358 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
359 standard_output_file. Remove unused binfile variable.
361 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
363 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
364 * gdb.python/py-mi-objfile.exp: Match "list main" output
367 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
369 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
372 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
374 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
376 * gdb.trace/ftrace.exp: Likewise.
377 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
379 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
380 (gdb_load_shlibs): Copy libraries to test directory when testing
381 natively. Only set solib-search-path if testing remotely.
382 * lib/mi-support.exp (mi_load_shlibs): Likewise.
384 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
386 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
387 gdb_download. Use it even if the target is not remote.
388 * gdb.base/jit.exp (compile_jit_test): Likewise.
389 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
390 output directory if the destination board is local, otherwise use
391 the standard remote_download from DejaGnu.
392 (gdb_download): Remove.
393 (gdb_load_shlibs): Use gdb_remote_download instead of
395 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
396 Use gdb_remote_download instead of gdb_download. Use it even if
397 the target is not remote.
398 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
399 instead of gdb_download.
401 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
403 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
404 (test_insert_delete_modify): Call mi_load_shlibs before trying to
407 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
410 * gdb.base/printcmds.exp: Add artificial arrays tests.
412 2016-03-31 Pedro Alves <palves@redhat.com>
415 * gdb.base/jit-main.c: Include unistd.h.
416 (ATTACH): Define to 0 if not already defined.
417 (wait_for_gdb, mypid): New globals.
418 (WAIT_FOR_GDB): New macro.
419 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
420 some breakpoint locations.
421 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
423 (one_jit_test): Add REATTACH parameter, and handle it. Use
424 continue_to_test_location.
425 (top level): Test attach, and adjusts calls to one_jit_test.
427 2016-03-31 Pedro Alves <palves@redhat.com>
430 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
431 BINSUFFIX parameter, and handle it.
432 (top level): Adjust calls compile_jit_test.
434 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
437 * gdb.python/py-mi-events-gdb.py: New file.
438 * gdb.python/py-mi-events.c: New file.
439 * gdb.python/py-mi-events.exp: New file.
441 2016-03-30 Yao Qi <yao.qi@linaro.org>
443 * gdb.reverse/until-precsave.exp: Match function name only.
444 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
445 Move malloc to a condition block.
446 * gdb.reverse/until-reverse.exp: Match function name only.
448 2016-03-29 Marcin Kościelnicki <koriakin@0x04.net>
450 * gdb.trace/ftrace.exp: Set arg0exp for s390.
451 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
452 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
453 variable for GPR 0 instead of assuming it is register 0.
454 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
455 * lib/trace-support.exp: Add s390 registers.
457 2016-03-29 Yao Qi <yao.qi@linaro.org>
459 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
461 2016-03-24 Yao Qi <yao.qi@linaro.org>
463 * gdb.reverse/break-reverse.exp: Add quotation mark in the
466 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
468 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
469 maintaining separate logic for constructing the output path.
471 2016-03-16 Don Breazeal <donb@codesourcery.com>
473 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
474 Retry fork and waitpid on interrupted system call errors.
475 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
476 Use with_timeout_factor to increase timeout by factor of 10.
478 2016-03-15 Don Breazeal <donb@codesourcery.com>
480 * gdb.cp/scope-err.cc: New test program.
481 * gdb.cp/scope-err.exp: New test script.
482 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
483 lines and "set breakpoint here" comment.
484 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
485 Fixed some whitespace and format issues.
486 * gdb.mi/mi-linespec-err-cp.cc: New test program.
487 * gdb.mi/mi-linespec-err-cp.exp: New test script.
489 2016-03-15 Doug Evans <dje@google.com>
491 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
492 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
493 All callers updated. Add tests for enums, mixed flags register.
495 2016-03-15 Doug Evans <dje@google.com>
497 * gdb.base/skip.c (main): Call test_skip_file_and_function.
498 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
500 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
502 * gdb.base/default.exp: Add $_as_string to the list of expected
503 convenience functions.
505 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
507 * gdb.base/maint.exp: New tests for 'maint info line-table'.
509 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
511 * gdb.python/py-as-string.exp: New file.
512 * gdb.python/py-as-string.c: New file.
514 2016-03-09 Pedro Alves <palves@redhat.com>
516 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
517 signal" -> "Thread NN received signal" output change.
518 * gdb.threads/ia64-sigill.exp: Likewise.
519 * gdb.threads/linux-dp.exp: Likewise.
520 * gdb.threads/manythreads.exp: Likewise.
521 * gdb.threads/pending-step.exp: Likewise.
522 * gdb.threads/print-threads.exp: Likewise.
523 * gdb.threads/sigstep-threads.exp: Likewise.
524 * gdb.threads/staticthreads.exp: Likewise.
525 * gdb.threads/tls.exp: Likewise.
527 2016-03-09 Pedro Alves <palves@redhat.com>
529 * gdb.base/command-line-input.exp: New file.
531 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
533 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
534 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
535 * gdb.trace/pending.exp: Accept leading dot before function name.
536 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
537 * lib/trace-support.exp: Set registers for ppc.
539 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
541 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
542 use it for disassembly; accept .main in addition to main in backtrace.
544 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
545 Marcin Kościelnicki <koriakin@0x04.net>
547 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
548 (gdb_recursion_test_ptr): New global variable.
549 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
553 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
555 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
558 2016-03-09 Marcin Kościelnicki <koriakin@0x04.net>
560 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
561 (bar): Add bar_start_lbl label.
562 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
563 of foo/bar for emitting DWARF and tracing.
565 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
567 * analyze-racy-logs.py: Set executable bit.
569 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
571 * Makefile.in (DEFAULT_RACY_ITER): New variable.
572 (CHECK_TARGET_TMP): Likewise.
573 (check-single-racy): New rule.
574 (check-parallel-racy): Likewise.
575 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
576 (do-check-parallel-racy): New rule.
577 (check-racy/%.exp): Likewise.
578 * README (Racy testcases): New section.
579 * analyze-racy-logs.py: New file.
581 2016-03-03 Doug Evans <dje@google.com>
583 * gdb.base/skip.exp: Use with_test_prefix.
585 2016-03-03 Yao Qi <yao.qi@linaro.org>
587 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
588 Invoke step_over_syscall "clone" and break_cond_on_syscall
590 * gdb.base/step-over-clone.c: New file.
592 2016-03-03 Yao Qi <yao.qi@linaro.org>
594 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
597 2016-03-03 Yao Qi <yao.qi@linaro.org>
599 * gdb.base/disp-step-fork.c: Rename to ...
600 * gdb.base/step-over-fork.c: ... it. New file.
601 * gdb.base/disp-step-vfork.c: Rename to ...
602 * gdb.base/step-over-vfork.c: ... it. New file.
603 * gdb.base/disp-step-syscall.exp: Rename to ...
604 * gdb.base/step-over-syscall.exp: ... it. New file.
605 (disp_step_cross_syscall): Rename to ...
606 (step_over_syscall): ... it.
608 2016-03-03 Yao Qi <yao.qi@linaro.org>
610 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
611 If target supports condition evaluation on target, invoke
612 break_cond_on_syscall for fork and vfork.
614 2016-03-03 Yao Qi <yao.qi@linaro.org>
616 * gdb.base/disp-step-syscall.exp: Don't invoke
617 support_displaced_stepping.
618 (disp_step_cross_syscall): Test with displaced stepping off and
621 2016-03-03 Yao Qi <yao.qi@linaro.org>
623 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
626 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
629 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
631 * gdb.fortran/vla-history.exp: Remove breakpoint.
633 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
635 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
637 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
639 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
641 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
643 * gdb.mi/vla.f90: Nullify pointer after declaration.
645 2016-03-01 Pedro Alves <palves@redhat.com>
647 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
649 2016-03-01 Pedro Alves <palves@redhat.com>
651 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
652 before anything else.
653 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
655 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
656 before anything else.
657 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
659 2016-03-01 Pedro Alves <palves@redhat.com>
661 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
663 2016-03-01 Yao Qi <yao.qi@linaro.org>
665 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
668 2016-03-01 Yao Qi <yao.qi@linaro.org>
670 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
672 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
674 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
675 manually constructing the output path.
677 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
679 * gdb.arch/s390-stackless.S: New.
680 * gdb.arch/s390-stackless.exp: New.
682 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
684 * gdb.dlang/circular.c: New file.
685 * gdb.dlang/circular.exp: New file.
687 2016-02-26 Yao Qi <yao.qi@linaro.org>
689 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
690 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
693 2016-02-26 Yao Qi <yao.qi@linaro.org>
695 * gdb.reverse/aarch64.c: Rename to ...
696 * gdb.reverse/insn-reverse.c: ... it.
697 * gdb.reverse/aarch64.exp: Rename to ...
698 * gdb.reverse/insn-reverse.exp: ... it.
700 2016-02-26 Yao Qi <yao.qi@linaro.org>
702 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
703 (testcase_ftype): New.
704 (testcases): New array.
706 (main): Call each element in testcases.
707 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
708 (read_testcase): New.
709 Do the tests in a loop.
711 2016-02-25 Yao Qi <yao.qi@linaro.org>
713 * gdb.base/branches.c: Remove.
715 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
718 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
720 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
722 * gdb.trace/ftrace.exp: Remove unnecessary target check.
724 2016-02-25 Marcin Kościelnicki <koriakin@0x04.net>
726 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
727 change x86_64 call_insn to 'callq'.
729 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
731 * gdb.trace/tfile-avx.c: Move to...
732 * gdb.trace/tracefile-pseudo-reg.c: Here.
733 * gdb.trace/tfile-avx.exp: Move to...
734 * gdb.trace/tracefile-pseudo-reg.exp: Here.
736 2016-02-24 Gary Benson <gbenson@redhat.com>
738 * gdb.base/attach-pie-noexec.exp: Do not expect an error
741 2016-02-23 Doug Evans <dje@google.com>
743 * gdb.base/skip.c (test_skip): New function.
744 (end_test_skip_file_and_function): New function.
745 (test_skip_file_and_function): New function.
746 * gdb.base/skip1.c (test_skip): New function.
747 (skip1_test_skip_file_and_function): New function.
748 * gdb.base/skip.exp: Add tests for new skip options.
749 * gdb.base/skip-solib.exp: Update expected output.
750 * gdb.perf/skip-command.cc: New file.
751 * gdb.perf/skip-command.exp: New file.
752 * gdb.perf/skip-command.py: New file.
754 2016-02-22 Marcin Kościelnicki <koriakin@0x04.net>
756 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
757 info registers pattern.
759 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
761 * lib/future.exp: Add D support.
762 (gdb_find_gdc): New proc.
763 (gdb_default_target_compile): Add D support.
765 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
767 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
769 (trace_speed_test): Determine the iteration count for a time
770 between 15..30 seconds.
772 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
774 * gdb.arch/i386-mpx-sigsegv.c: New file.
775 * gdb.arch/i386-mpx-sigsegv.exp: New file.
776 * gdb.arch/i386-mpx-simple_segv.c: New file.
777 * gdb.arch/i386-mpx-simple_segv.exp: New file.
779 2016-02-18 Yao Qi <yao.qi@linaro.org>
781 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
782 Don't call setup_kfail.
784 2016-02-18 Yao Qi <yao.qi@linaro.org>
786 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
787 Set "set breakpoint condition-evaluation" per $cond_bp_target.
789 2016-02-16 Doug Evans <dje@google.com>
791 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
792 * gdb.base/skip1.c: Ditto.
793 * gdb.base/skip.exp: Whitespace cleanup.
795 2016-02-16 Don Breazeal <donb@codesourcery.com>
798 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
799 Remove kfail for PR remote/19496.
801 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
803 * lib/gdb.exp (standard_temp_file): Return a path specific to
804 the runtest invocation.
806 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
808 * gdb.trace/save-trace.exp: Change relative path to be in the
809 standard output directory.
811 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
813 * gdb.arch/i386-prologue.c: Add missing prototypes.
815 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
817 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
818 * gdb.arch/i386-prologue.exp: Likewise.
819 * gdb.arch/i386-size.exp: Likewise.
821 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
823 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
824 define object file path.
825 * gdb.btrace/gcore.exp: Use standard_output_file to define core
827 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
828 standard_output_file to define binfile.
830 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
832 Fix compatibility with recent gfortran-5.3.1.
833 * gdb.fortran/vla-history.exp (print vla1 allocated)
834 (print vla2 allocated, print $2, print $3): Remove
835 (print $4): Rename to ...
836 (print $2): ... here.
837 (print $9): Rename to ...
838 (print $5): ... here.
839 (print $10): Rename to ...
840 (print $6): ... here.
841 * gdb.fortran/vla.f90: Add pvla initialization.
843 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
845 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
847 * gdb.fortran/vla-value-sub.exp: Likewise.
849 2016-02-12 Marcin Kościelnicki <koriakin@0x04.net>
851 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
853 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
855 * i386-biarch-core.exp: Define corefile using
856 standard_output_file.
858 2016-02-12 Yao Qi <yao.qi@linaro.org>
860 * gdb.arch/arm-single-step-kernel-helper.c: New.
861 * gdb.arch/arm-single-step-kernel-helper.exp: New.
863 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
865 * gdb.btrace/tailcall-only.exp: New.
866 * gdb.btrace/tailcall-only.c: New.
867 * gdb.btrace/x86_64-tailcall-only.S: New.
868 * gdb.btrace/i686-tailcall-only.S: New.
870 2016-02-11 Pedro Alves <palves@redhat.com>
872 * README (Parallel testing): Add missing double quotes.
874 2016-02-11 Pedro Alves <palves@redhat.com>
876 * README (Parallel testing): New section.
877 (GDB_PARALLEL): Rewrite.
878 (FORCE_PARALLEL): Document.
880 2016-02-11 Marcin Kościelnicki <koriakin@0x04.net>
882 * gdb.trace/tfile-avx.c: New test.
883 * gdb.trace/tfile-avx.exp: New test.
885 2016-02-09 Keith Seitz <keiths@redhat.com>
888 * gdb.base/infcall-exec.c: New file.
889 * gdb.base/infcall-exec2.c: New file.
890 * gdb.base/infcall-exec.exp: New file.
892 2016-02-09 Keith Seitz <keiths@redhat.com>
894 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
895 (toplevel): Call test_bkpt_address.
897 2016-02-09 Keith Seitz <keiths@redhat.com>
900 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
901 (toplevel): Call test_bkpt_address.
903 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
905 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
907 * configure: Regenerate.
909 2016-02-09 Pedro Alves <palves@redhat.com>
912 * gdb.base/execl-update-breakpoints.c (some_function): New
915 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
916 Tighten expected GDB output.
918 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
920 * Makefile.in (ALL_SUBDIRS): Remove.
921 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
922 (distclean maintainer-clean realclean): Likewise.
923 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
924 * configure: Regenerate.
925 * gdb.ada/Makefile.in: Delete.
926 * gdb.arch/Makefile.in: Likewise.
927 * gdb.asm/Makefile.in: Likewise.
928 * gdb.base/Makefile.in: Likewise.
929 * gdb.btrace/Makefile.in: Likewise.
930 * gdb.cell/Makefile.in: Likewise.
931 * gdb.compile/Makefile.in: Likewise.
932 * gdb.cp/Makefile.in: Likewise.
933 * gdb.disasm/Makefile.in: Likewise.
934 * gdb.dlang/Makefile.in: Likewise.
935 * gdb.dwarf2/Makefile.in: Likewise.
936 * gdb.fortran/Makefile.in: Likewise.
937 * gdb.gdb/Makefile.in: Likewise.
938 * gdb.go/Makefile.in: Likewise.
939 * gdb.guile/Makefile.in: Likewise.
940 * gdb.java/Makefile.in: Likewise.
941 * gdb.linespec/Makefile.in: Likewise.
942 * gdb.mi/Makefile.in: Likewise.
943 * gdb.modula2/Makefile.in: Likewise.
944 * gdb.multi/Makefile.in: Likewise.
945 * gdb.objc/Makefile.in: Likewise.
946 * gdb.opencl/Makefile.in: Likewise.
947 * gdb.opt/Makefile.in: Likewise.
948 * gdb.pascal/Makefile.in: Likewise.
949 * gdb.perf/Makefile.in: Likewise.
950 * gdb.python/Makefile.in: Likewise.
951 * gdb.reverse/Makefile.in: Likewise.
952 * gdb.server/Makefile.in: Likewise.
953 * gdb.stabs/Makefile.in: Likewise.
954 * gdb.threads/Makefile.in: Likewise.
955 * gdb.trace/Makefile.in: Likewise.
956 * gdb.xml/Makefile.in: Likewise.
957 * lib/gdb.exp (make_gdb_parallel_path): Add check for
959 (standard_output_file): Remove check for GDB_PARALLEL, always
960 return path in outputs/$subdir/$testname.
962 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
964 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
965 (site.exp): Assign abs_srcdir to tcl's srcdir.
967 2016-02-04 Yao Qi <yao.qi@linaro.org>
969 * gdb.base/foll-exec-mode.c: Include limits.h.
970 (main): Add parameters argc and argv. Get directory from
972 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
974 * gdb.base/foll-exec.c: Include limits.h.
975 (main): Add parameters argc and argv.
976 Get directory from argv[0].
977 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
978 Adjust tests on the number of lines as source code changed.
979 * gdb.base/foll-vfork-exit.c: Include limits.h.
980 (main): Add one line of statement before vfork.
981 * gdb.base/foll-vfork.c: Include limits.h and string.h.
982 (main): Add parameters argc and argv. Get directory from
984 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
985 (setup_gdb): Set tbreak to skip some source lines.
986 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
987 (main): Add parameters argc and argv. Get directory from
989 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
991 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
992 (main): Add parameters argc and argv. Get directory from
994 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
997 2016-02-01 Doug Evans <dje@google.com>
999 * gdb.base/skip.exp: Clean up multiple references to same test name.
1001 2016-02-01 Pedro Alves <palves@redhat.com>
1004 * gdb.threads/forking-threads-plus-breakpoint.exp
1005 (displaced_stepping_supported): New global.
1006 (probe_displaced_stepping_support): New procedure.
1007 (do_test): Add 'displaced' parameter, and use it.
1008 (top level): Check for displaced stepping support. Add displaced
1009 stepping on/off testing axis.
1011 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1013 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
1014 pointer. Don't perform further tests on the unassociated pointer
1015 if the first test fails.
1017 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
1019 * gdb.base/max-value-size.c: New file.
1020 * gdb.base/max-value-size.exp: New file.
1021 * gdb.base/huge.exp: Disable max-value-size for this test.
1023 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
1025 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
1027 2016-01-28 Yao Qi <yao.qi@linaro.org>
1029 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
1031 2016-01-25 Pedro Alves <palves@redhat.com>
1034 * gdb.base/fork-running-state.c: New file.
1035 * gdb.base/fork-running-state.exp: New file.
1037 2016-01-25 Pedro Alves <palves@redhat.com>
1040 * gdb.base/catch-fork-kill.c: New file.
1041 * gdb.base/catch-fork-kill.exp: New file.
1043 2016-01-25 Pedro Alves <palves@redhat.com>
1045 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
1046 Delete, moved to lib/gdb.exp.
1047 * gdb.threads/forking-threads-plus-breakpoint.exp
1048 (foreach_with_prefix): Likewise.
1049 * gdb.threads/process-dies-while-handling-bp.exp
1050 (foreach_with_prefix): Likewise.
1051 * lib/gdb.exp (foreach_with_prefix): New procedure.
1053 2016-01-25 Marcin Kościelnicki <koriakin@0x04.net>
1055 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
1056 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
1058 2016-01-23 Marcin Kościelnicki <koriakin@0x04.net>
1060 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
1063 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1064 Pedro Alves <palves@redhat.com>
1066 Fix testsuite compatibility with Guile.
1067 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
1070 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
1072 Fix testsuite compatibility with Guile.
1073 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
1074 (thread 1): New test for backtrace through signal handler.
1076 2016-01-22 Yao Qi <yao.qi@linaro.org>
1079 * gdb.base/multi-forks.c: Include
1080 ../lib/unbuffer_output.c
1081 (main): Call gdb_unbuffer_output.
1083 2016-01-21 Doug Evans <dje@google.com>
1085 * lib/ada.exp (gdb_compile_ada): Fix typo.
1087 2016-01-21 Joel Brobecker <brobecker@adacore.com>
1089 * gdb.base/break-fun-addr.exp: New file.
1090 * gdb.base/break-fun-addr1.c: New file.
1091 * gdb.base/break-fun-addr2.c: New file.
1093 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
1095 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
1096 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
1099 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
1101 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
1102 when GDB can not set the vector return value. Add more comments
1105 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
1107 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
1110 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1112 * Makefile.in (DO_RUNTEST): Add --status and update usages.
1114 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1116 * Makefile.in (check-single): Pass --status to runtest.
1117 (check/%.exp): Likewise.
1119 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
1121 * Makefile.in (check-parallel): Propagate return code from make
1124 2016-01-19 Marcin Kościelnicki <koriakin@0x04.net>
1126 * gdb.trace/ftrace.exp: Fix expected message on continue.
1127 * gdb.trace/pending.exp: Fix expected message on continue.
1128 * gdb.trace/trace-break.exp: Fix expected message on continue.
1130 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
1132 * lib/gdb.exp (gdb_test): Remove unused global references.
1134 2016-01-18 Pedro Alves <palves@redhat.com>
1136 * gdb.base/async-shell.exp: Adjust expected output.
1137 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
1138 * gdb.base/siginfo-thread.exp: Adjust expected output.
1139 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
1140 * gdb.java/jnpe.exp: Adjust expected output.
1141 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
1142 * gdb.threads/continue-pending-status.exp: Adjust expected output.
1143 * gdb.threads/leader-exit.exp: Adjust expected output.
1144 * gdb.threads/manythreads.exp: Adjust expected output.
1145 * gdb.threads/pthreads.exp: Adjust expected output.
1146 * gdb.threads/schedlock.exp: Adjust expected output.
1147 * gdb.threads/siginfo-threads.exp: Adjust expected output.
1148 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
1150 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
1152 * gdb.threads/sigthread.exp: Adjust expected output.
1153 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
1155 2016-01-18 Yao Qi <yao.qi@linaro.org>
1157 * gdb.guile/scm-section-script.c: Replace @progbits with
1159 * gdb.python/py-section-script.c: Likewise.
1161 2016-01-15 Pedro Alves <palves@redhat.com>
1163 * gdb.multi/tids.exp: Test star wildcard ranges.
1165 2016-01-15 Pedro Alves <palves@redhat.com>
1167 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
1168 command from "thread apply" invocation.
1169 (thr_apply_info_thr_invalid): Default the expected output to the
1171 (top level): Add tests that use convenience variables. Add tests
1172 for "thread apply" with a valid TID list, but missing the command.
1174 2016-01-13 Pedro Alves <palves@redhat.com>
1176 * gdb.base/default.exp: Expect $_gthread as well.
1177 * gdb.multi/tids.exp: Test $_gthread.
1178 * gdb.threads/thread-specific.exp: Test $_gthread.
1180 2016-01-13 Pedro Alves <palves@redhat.com>
1182 * gdb.multi/tids.exp: Test "info threads -gid".
1184 2016-01-13 Pedro Alves <palves@redhat.com>
1186 * gdb.multi/tids.exp: Test InferiorThread.global_num and
1188 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
1190 2016-01-07 Pedro Alves <palves@redhat.com>
1192 * gdb.base/break.exp: Adjust to output changes.
1193 * gdb.base/hbreak2.exp: Likewise.
1194 * gdb.base/sepdebug.exp: Likewise.
1195 * gdb.base/watch_thread_num.exp: Likewise.
1196 * gdb.linespec/keywords.exp: Likewise.
1197 * gdb.multi/info-threads.exp: Likewise.
1198 * gdb.threads/thread-find.exp: Likewise.
1199 * gdb.multi/tids.c: New file.
1200 * gdb.multi/tids.exp: New file.
1202 2016-01-13 Pedro Alves <palves@redhat.com>
1204 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
1206 2016-01-13 Pedro Alves <palves@redhat.com>
1208 * gdb.base/default.exp: Expect $_inferior as well.
1209 * gdb.multi/base.exp: Test $_inferior.
1211 2016-01-13 Pedro Alves <palves@redhat.com>
1213 PR breakpoints/19388
1214 * gdb.base/catch-signal-siginfo-cond.c: New file.
1215 * gdb.base/catch-signal-siginfo-cond.exp: New file.
1217 2016-01-12 Josh Stone <jistone@redhat.com>
1218 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1220 * gdb.base/catch-syscall.c (do_execve): New variable.
1221 (main): Conditionally trigger an execve.
1222 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1223 (test_catch_syscall_execve): New, check entry/return across execve.
1224 (do_syscall_tests): Call test_catch_syscall_execve.
1226 2016-01-12 Pedro Alves <palves@redhat.com>
1228 * gdb.base/random-signal.exp (do_test): New procedure, with body
1229 of testcase moved in.
1231 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1232 Pedro Alves <palves@redhat.com>
1234 * gdb.base/funcargs.exp (finish from indirectly called function):
1235 Reintroduce the case for 'First'.
1237 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1238 Pedro Alves <palves@redhat.com>
1240 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1241 (tcatch_vfork_then_child_follow_exec)
1242 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1245 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1247 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1248 and repeats to unlimited.
1249 * gdb.python/py-value.exp: Likewise.
1250 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1251 and repeats to unlimited.
1253 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1255 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1256 and reordering the functions.
1257 * gdb.multi/hangout.c: Likewise.
1258 * gdb.multi/hello.c: Likewise.
1260 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1262 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1264 (SingleStatisticTestResult.report): Use dict.keys instead of
1267 2016-01-06 Pedro Alves <palves@redhat.com>
1269 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1271 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1273 * gdb.btrace/dlopen.exp: New.
1274 * gdb.btrace/dlopen.c: New.
1275 * gdb.btrace/dlopen-dso.c: New.
1277 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1279 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1280 PATTERN argument is optional.
1282 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1284 * lib/ada.exp (target_compile_ada_from_dir): New function.
1285 (gdb_compile_ada): Reimplement avoiding the use of project files.
1286 * gdb.ada/gnat_ada.gpr: Delete.
1287 * gdb.ada/cond_lang.exp: Adjust test to make path before
1289 * gdb.ada/small_reg_param.exp: Likewise.
1291 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1293 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1295 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1297 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1300 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1302 * gdb.base/break.exp: Remove dead code.
1303 * gdb.base/sepdebug.exp: Likewise.
1305 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1307 * gdb.asm/asm-source.exp: Remove HP-UX references.
1308 * gdb.base/annota1.exp: Likewise.
1309 * gdb.base/annota3.exp: Likewise.
1310 * gdb.base/attach.exp: Likewise.
1311 * gdb.base/bigcore.exp: Likewise.
1312 * gdb.base/break.exp: Likewise.
1313 * gdb.base/call-ar-st.exp: Likewise.
1314 * gdb.base/callfuncs.exp: Likewise.
1315 * gdb.base/catch-fork-static.exp: Likewise.
1316 * gdb.base/display.exp: Likewise.
1317 * gdb.base/foll-exec-mode.exp: Likewise.
1318 * gdb.base/foll-exec.exp: Likewise.
1319 * gdb.base/foll-fork.exp: Likewise.
1320 * gdb.base/foll-vfork.exp: Likewise.
1321 * gdb.base/funcargs.exp: Likewise.
1322 * gdb.base/hbreak2.exp: Likewise.
1323 * gdb.base/inferior-died.exp: Likewise.
1324 * gdb.base/interrupt.exp: Likewise.
1325 * gdb.base/multi-forks.exp: Likewise.
1326 * gdb.base/nodebug.exp: Likewise.
1327 * gdb.base/sepdebug.exp: Likewise.
1328 * gdb.base/solib1.c: Likewise.
1329 * gdb.base/step-test.exp: Likewise.
1330 * gdb.mi/non-stop.c: Likewise.
1331 * gdb.mi/pthreads.c: Likewise.
1332 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1333 * gdb.threads/pthreads.c: Likewise.
1334 * gdb.threads/staticthreads.exp: Likewise.
1335 * lib/future.exp: Likewise.
1336 * lib/gdb.exp: Likewise.
1337 * gdb.base/so-indr-cl.c: Remove.
1338 * gdb.base/so-indr-cl.exp: Likewise.
1339 * gdb.base/solib.c: Likewise.
1340 * gdb.base/solib.exp: Likewise.
1341 * gdb.base/solib2.c: Likewise.
1343 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1345 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1346 * gdb.base/call-ar-st.exp: Likewise.
1347 * gdb.base/callfuncs.exp: Likewise.
1348 * gdb.base/condbreak.exp: Likewise.
1349 * gdb.base/constvars.exp: Likewise.
1350 * gdb.base/hbreak2.exp: Likewise.
1351 * gdb.base/langs.exp: Likewise.
1352 * gdb.base/list.exp: Likewise.
1353 * gdb.base/long_long.exp: Likewise.
1354 * gdb.base/ptype.exp: Likewise.
1355 * gdb.base/scope.exp: Likewise.
1356 * gdb.base/signals.exp: Likewise.
1357 * gdb.base/so-impl-ld.exp: Likewise.
1358 * gdb.base/varargs.exp: Likewise.
1359 * gdb.base/volatile.exp: Likewise.
1360 * gdb.base/whatis.exp: Likewise.
1361 * gdb.cp/cplusfuncs.exp: Likewise.
1362 * gdb.cp/inherit.exp: Likewise.
1363 * gdb.cp/local.exp: Likewise.
1364 * gdb.cp/member-ptr.exp: Likewise.
1365 * gdb.cp/method.exp: Likewise.
1366 * gdb.cp/overload.exp: Likewise.
1367 * gdb.cp/templates.exp: Likewise.
1368 * gdb.stabs/weird.exp: Likewise.
1369 * lib/compiler.c: Likewise.
1370 * lib/compiler.cc: Likewise.
1371 * lib/cp-support.exp: Likewise.
1372 * lib/gdb.exp: Likewise.
1374 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1376 * configure.ac: Remove HP-UX case.
1377 * configure: Regenerate.
1379 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1381 * lib/gdb.exp (gdb_compile): Add function doc.
1383 2015-12-17 Pedro Alves <palves@redhat.com>
1386 * gdb.multi/info-threads.exp: New file.
1388 2015-12-15 Yao Qi <yao.qi@linaro.org>
1390 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1393 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1395 * gdb.base/history-duplicates.exp: Skip if no readline support.
1397 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1399 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1401 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1403 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1405 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1407 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1408 ctrl-C if nointerrupts target property is set.
1409 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1410 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1411 * gdb.base/paginate-bg-execution.exp: Likewise.
1412 * gdb.base/paginate-execution-startup.exp: Likewise.
1413 * gdb.base/random-signal.exp: Likewise.
1414 * gdb.base/range-stepping.exp: Likewise.
1415 * gdb.cp/annota2.exp: Likewise.
1416 * gdb.cp/annota3.exp: Likewise.
1417 * gdb.gdb/selftest.exp: Likewise.
1418 * gdb.threads/continue-pending-status.exp: Likewise.
1419 * gdb.threads/leader-exit.exp: Likewise.
1420 * gdb.threads/manythreads.exp: Likewise.
1421 * gdb.threads/pthreads.exp: Likewise.
1422 * gdb.threads/schedlock.exp: Likewise.
1423 * gdb.threads/sigthread.exp: Likewise.
1425 2015-12-11 Don Breazeal <donb@codesourcery.com>
1427 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1429 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1430 * gdb.base/foll-exec.exp (main): Enable for target remote.
1431 * gdb.base/foll-fork.exp (main): Likewise.
1432 * gdb.base/foll-vfork.exp (main): Likewise.
1433 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1434 (proc continue_to_exit_bp_loc): Use clean_restart.
1435 * gdb.base/pie-execl.exp (main): Disable for target remote.
1436 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1437 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1438 * gdb.threads/execl.exp (main): Likewise.
1439 * gdb.threads/fork-child-threads.exp (main): Likewise.
1440 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1442 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1444 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1445 pid.tid style ptids, instead of just tid.
1446 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1447 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1448 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1449 ptids, instead of just tid.
1451 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1453 * gdb.base/list.exp (test_list_forward): Add end of file error
1455 (test_repeat_list_command): Add end of file error test.
1456 (test_list_backwards): Add beginning of file error test.
1458 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1460 * gdb.base/list.exp (test_list_invalid_args): New function,
1461 defined, and called.
1463 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1465 * gdb.base/list.exp (test_list): Make test names unique.
1467 2015-12-11 Yao Qi <yao.qi@linaro.org>
1469 * gdb.base/coremaker2.c: Remove.
1471 2015-12-10 Pedro Alves <palves@redhat.com>
1473 * gdb.multi/base.exp: Remove stale "spaces" references.
1475 2015-12-10 Pedro Alves <palves@redhat.com>
1477 * gdb.multi/base.exp: Don't use nowarnings.
1478 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1479 * gdb.multi/hangout.c: Include stdio.h.
1480 * gdb.multi/hello.c: Include stdlib.h.
1481 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1482 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1483 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1485 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1487 * gdb.dwarf2/dw2-ranges-base.c: New file.
1488 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1489 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1490 support additional line table, and debug ranges generation.
1491 (Dwarf::ranges): New function, generate .debug_ranges.
1492 (Dwarf::lines): Support generating simple line table programs.
1493 (Dwarf::assemble): Initialise new namespace variables.
1495 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1497 * gdb.base/async.exp (proc test_background): Add case for
1498 asynchronous execution not supported.
1500 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1502 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1503 format and change test names to make them unique.
1505 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1506 Pedro Alves <pedro@redhat.com>
1509 Add checking of floatformats setup on x86_64 hosts.
1510 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1511 (smallval, bigval): New labels/constants.
1512 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1513 float" after loading bigval and smallval.
1515 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1517 * gdb.ada/fun_overload_menu.exp: New testcase.
1518 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1520 2015-12-04 Josh Stone <jistone@redhat.com>
1522 * gdb.base/catch-fork-static.exp: New.
1524 2015-12-03 Yao Qi <yao.qi@linaro.org>
1526 * gdb.base/sizeof.c: Don't include stdio.h and
1527 ../lib/unbuffer_output.c.
1528 (main): New variable 'size' and 'value'. Remove printf and
1529 gdb_unbuffer_output. Assign return value to size and value.
1530 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1532 (check_sizeof): Check the result by printing variable 'size'.
1533 (check_valueof): Check the result by printing variable 'value'.
1535 2015-12-01 Yao Qi <yao.qi@linaro.org>
1537 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1538 for aarch64*-*-linux* target.
1540 2015-11-30 Pedro Alves <palves@redhat.com>
1542 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1544 2015-11-30 Pedro Alves <palves@redhat.com>
1546 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1547 Handle non-stop mode vCont replies.
1549 2015-11-30 Pedro Alves <palves@redhat.com>
1551 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1552 prepare_for_testing. Start gdb with "set non-stop on" appended to
1553 GDBFLAGS. Lax expected stop output.
1555 2015-11-27 Yao Qi <yao.qi@linaro.org>
1557 * gdb.arch/arm-neon.exp: New.
1558 * gdb.arch/arm-neon.c: New.
1560 2015-11-27 Yao Qi <yao.qi@linaro.org>
1562 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1564 2015-11-27 Yao Qi <yao.qi@linaro.org>
1566 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1567 frames-invalid annotation.
1569 2015-11-27 Yao Qi <yao.qi@linaro.org>
1571 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1573 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1575 * gdb.threads/names.exp: New file.
1576 * gdb.threads/names.c: New file.
1577 * README: Mention gdb,no_thread_names.
1579 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1582 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1585 2015-11-24 Pedro Alves <palves@redhat.com>
1588 * gdb.base/display.exp: Expect displays to be sorted in ascending
1589 order. Use multi_line.
1590 * gdb.base/solib-display.exp: Likewise.
1592 2015-11-24 Pedro Alves <palves@redhat.com>
1595 * gdb.base/display.exp: Expect displays to be sorted in ascending
1596 order. Use multi_line.
1597 * gdb.base/solib-display.exp: Likewise.
1599 2015-11-24 Pedro Alves <palves@redhat.com>
1602 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1603 threads in ascending order.
1604 * gdb.base/foll-fork.exp: Likewise.
1605 * gdb.base/foll-vfork.exp: Likewise.
1606 * gdb.base/multi-forks.exp: Likewise.
1607 * gdb.mi/mi-nonstop.exp: Likewise.
1608 * gdb.mi/mi-nsintrall.exp: Likewise.
1609 * gdb.multi/base.exp: Likewise.
1610 * gdb.multi/multi-arch.exp: Likewise.
1611 * gdb.python/py-inferior.exp: Likewise.
1612 * gdb.threads/break-while-running.exp: Likewise.
1613 * gdb.threads/execl.exp: Likewise.
1614 * gdb.threads/gcore-thread.exp: Likewise.
1615 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1616 * gdb.threads/kill.exp: Likewise.
1617 * gdb.threads/linux-dp.exp: Likewise.
1618 * gdb.threads/multiple-step-overs.exp: Likewise.
1619 * gdb.threads/next-bp-other-thread.exp: Likewise.
1620 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1621 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1622 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1623 * gdb.threads/thread-find.exp: Likewise.
1624 * gdb.threads/tls.exp: Likewise.
1625 * lib/mi-support.exp (mi_reverse_list): Delete.
1626 (mi_check_thread_states): No longer reverse list.
1628 2015-11-24 Pedro Alves <palves@redhat.com>
1630 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1633 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1635 * gdb.trace/actions.c: Include trace-common.h.
1636 (main): Add a location for a fast tracepoint.
1637 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1638 the normal tracepoints.
1639 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1641 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1643 * save-trace.exp: Factor out code to these...
1644 (gdb_save_tracepoints): New.
1645 (gdb_load_tracepoints): New.
1646 (do_save_load_test): New.
1648 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1650 * gdb.base/asmlabel.exp: New test.
1651 * gdb.base/asmlabel.c: New test case.
1653 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1655 * gdb.base/wrong_frame_bt_full-main.c: New file.
1656 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1657 * gdb.base/wrong_frame_bt_full.exp: New file.
1659 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1661 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1663 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1665 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1666 pstate register when comparing registers values in
1667 sparc64-*-linux-gnu targets to avoid spurious differences.
1669 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1671 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1673 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1675 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1676 as type argument to gdb_compile.
1677 * gdb.base/nested-subp2.exp: Likewise.
1678 * gdb.base/nested-subp3.exp: Likewise.
1680 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1682 * lib/dwarf.exp (_note): Fix left shift of negative value.
1683 * gdb.trace/trace-condition.exp: Likewise.
1685 2015-11-13 Yao Qi <yao.qi@linaro.org>
1687 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1688 comments about d10v.
1689 (test_scalar_returns): Likewise.
1690 * gdb.base/d10v.ld: Remove.
1691 * gdb.base/overlays.exp: Remove the target triplet checking for
1693 * gdb.base/structs.exp (test_struct_returns): Remove the
1694 comments about d10v.
1695 (test_struct_calls): Likewise.
1697 2015-11-13 Yao Qi <yao.qi@linaro.org>
1699 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1700 * gdb.base/gnu_vector.c: Don't include stdio.h.
1701 (main): Don't print res and call add_some_intvecs.
1703 2015-11-11 Marcin Kościelnicki <koriakin@0x04.net>
1705 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1708 (func4): Use FAST_TRACEPOINT_LABEL.
1709 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1712 (thread_function): Use FAST_TRACEPOINT_LABEL.
1713 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1715 (marker): Use FAST_TRACEPOINT_LABEL.
1716 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1717 (pendfunc1): Remove.
1718 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1719 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1721 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1722 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1725 (marker): Use FAST_TRACEPOINT_LABEL.
1726 * gdb.trace/trace-common.h: New header.
1727 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1730 (marker): Use FAST_TRACEPOINT_LABEL.
1731 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1733 (thread_function): Use FAST_TRACEPOINT_LABEL.
1735 2015-11-10 Marcin Kościelnicki <koriakin@0x04.net>
1737 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1739 * gdb.trace/change-loc.exp: Use global pcreg definition.
1740 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1741 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1743 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1744 * gdb.trace/pending.exp: Likewise.
1745 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1746 * gdb.trace/trace-break.exp: Likewise.
1747 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1749 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1750 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1752 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1754 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1756 * gdb.ada/fin_fun_out: New testcase.
1758 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1760 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1761 value associated with DW_AT_byte_size.
1762 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1763 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1766 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1768 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1769 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1771 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1772 gdb.dwarf2/dw2-canonicalize-type.exp,
1773 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1774 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1775 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1776 provided by gdb_target_symbol_prefix_flags_asm.
1777 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1778 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1779 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1780 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1781 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1782 macros where needed). Use this macro for symbols which require
1783 the prefix provided by SYMBOL_PREFIX.
1785 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1787 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1789 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1790 representing expressions, of more than one list element.
1791 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1792 to prepend linker symbol prefix to f.
1793 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1794 table_1 and table_2.
1795 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1796 Likewise, for f and g.
1797 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1799 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1801 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1802 table_1_ptr and table_2_ptr.
1804 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1805 Joel Brobecker <brobecker@adacore.com>
1807 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1809 2015-11-04 Marcin Kościelnicki <koriakin@0x04.net>
1811 * gdb.reverse/s390-mvcle.c: New test.
1812 * gdb.reverse/s390-mvcle.exp: New file.
1813 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1815 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1817 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1819 2015-11-02 Marcin Kościelnicki <koriakin@0x04.net>
1821 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1823 * gdb.reverse/getresuid-reverse.exp: Likewise.
1824 * gdb.reverse/pipe-reverse.exp: Likewise.
1825 * gdb.reverse/readv-reverse.exp: Likewise.
1826 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1827 * gdb.reverse/time-reverse.exp: Likewise.
1828 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1830 2015-10-30 Yao Qi <yao.qi@linaro.org>
1832 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1833 (empty_cycle): Remove.
1834 (main): Don't call empty_cycle. Don't use watch_count_done.
1835 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1836 empty_cycle. Rewrite the code counting HW watchpoints.
1838 2015-10-30 Marcin Kościelnicki <koriakin@0x04.net>
1840 * gdb.reverse/fstatat-reverse.c: New test.
1841 * gdb.reverse/fstatat-reverse.exp: New file.
1842 * gdb.reverse/getresuid-reverse.c: New test.
1843 * gdb.reverse/getresuid-reverse.exp: New file.
1844 * gdb.reverse/pipe-reverse.c: New test.
1845 * gdb.reverse/pipe-reverse.exp: New file.
1846 * gdb.reverse/readv-reverse.c: New test.
1847 * gdb.reverse/readv-reverse.exp: New file.
1848 * gdb.reverse/recvmsg-reverse.c: New test.
1849 * gdb.reverse/recvmsg-reverse.exp: New file.
1850 * gdb.reverse/time-reverse.c: New test.
1851 * gdb.reverse/time-reverse.exp: New file.
1852 * gdb.reverse/waitpid-reverse.c: New test.
1853 * gdb.reverse/waitpid-reverse.exp: New file.
1855 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1857 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1859 2015-10-26 Doug Evans <dje@google.com>
1862 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1863 * gdb.dwarf2/bad-regnum.c: New file.
1864 * gdb.dwarf2/bad-regnum.exp: New file.
1866 2015-10-26 Doug Evans <dje@google.com>
1869 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1872 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1874 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1875 for a change by "Mention language in compile error message".
1877 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1880 * gdb.python/py-type.c (C::a_method): New.
1881 (C::a_const_method): New.
1882 (C::a_static_method): New.
1884 * gdb.python/py-type.exp (test_fields): Test getting fields
1885 from function and method.
1887 2015-10-21 Keven Boell <keven.boell@intel.com>
1889 * gdb.fortran/vla-alloc-assoc.exp: New file.
1890 * gdb.fortran/vla-datatypes.exp: New file.
1891 * gdb.fortran/vla-datatypes.f90: New file.
1892 * gdb.fortran/vla-history.exp: New file.
1893 * gdb.fortran/vla-ptype-sub.exp: New file.
1894 * gdb.fortran/vla-ptype.exp: New file.
1895 * gdb.fortran/vla-sizeof.exp: New file.
1896 * gdb.fortran/vla-sub.f90: New file.
1897 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1898 * gdb.fortran/vla-value-sub-finish.exp: New file.
1899 * gdb.fortran/vla-value-sub.exp: New file.
1900 * gdb.fortran/vla-value.exp: New file.
1901 * gdb.fortran/vla-ptr-info.exp: New file.
1902 * gdb.mi/mi-vla-fortran.exp: New file.
1903 * gdb.mi/vla.f90: New file.
1905 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1907 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1908 of hardwired timeout value.
1910 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1911 Pedro Alves <palves@redhat.com>
1913 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1914 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1916 2015-10-19 Josh Stone <jistone@redhat.com>
1918 * gdb.base/catch-syscall.c: Include <sched.h>.
1919 (unknown_syscall): New variable.
1920 (main): Trigger a vfork and an unknown syscall.
1921 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1922 (unknown_syscall_number): Likewise.
1923 (check_call_to_syscall): Accept an optional syscall pattern.
1924 (check_return_from_syscall): Likewise.
1925 (check_continue): Likewise.
1926 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1927 (test_catch_syscall_skipping_return): New test toggling off 'catch
1928 syscall' to step over the syscall return, then toggling back on.
1929 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1930 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1931 (do_syscall_tests): Call test_catch_syscall_without_args and
1932 test_catch_syscall_mid_vfork.
1933 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1934 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1936 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1938 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1939 print g_vE): Add new pass patterns.
1940 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1941 print various symbol names for vptr fields.
1943 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1945 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1948 2015-10-12 Yao Qi <yao.qi@linaro.org>
1950 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1952 2015-10-12 Yao Qi <yao.qi@linaro.org>
1954 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1955 is aarch64*-*-linux*.
1957 2015-10-12 Yao Qi <yao.qi@linaro.org>
1959 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1960 (can_relocate_bcond_true): ... it.
1961 (can_relocate_bcond_false): New function.
1963 (can_relocate_bl): Likewise.
1964 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1967 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1969 * gdb.base/nested-addr.c: New file.
1970 * gdb.base/nested-addr.exp: New testcase.
1972 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1974 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1975 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1976 its output. Ignore the output of "record goto begin" and instead
1977 check that GDB is replaying.
1979 2015-10-09 Pedro Alves <palves@redhat.com>
1981 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1982 (top level): Use it in the run with no args test.
1984 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1986 * gdb.dlang/properties.exp: New file.
1988 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1990 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1991 whether or not address 0x1000 is mapped on the target.
1993 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1995 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1998 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
2000 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
2001 instruction-history test.
2003 2015-09-28 Doug Evans <dje@google.com>
2005 * gdb.base/gcore.c (array_func): Add reference to static_array.
2007 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
2009 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
2012 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
2014 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
2015 short or char as base type.
2017 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
2019 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
2020 to allow any size enum.
2022 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
2024 * gdb.ada/array_ptr_renaming.exp: New testcase.
2025 * gdb.ada/array_ptr_renaming/foo.adb: New file.
2026 * gdb.ada/array_ptr_renaming/pack.ads: New file.
2028 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2030 * gdb.trace/ftrace-lock.c: New file.
2031 * gdb.trace/ftrace-lock.exp: New file.
2033 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2035 * gdb.arch/insn-reloc.c: New file.
2036 * gdb.arch/ftrace-insn-reloc.exp: New file.
2038 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
2040 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
2042 * gdb.trace/pendshr1.c (pendfunc): Likewise.
2043 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
2044 * gdb.trace/range-stepping.c: Likewise.
2045 * gdb.trace/trace-break.c: Likewise.
2046 * gdb.trace/trace-mt.c (thread_function): Likewise.
2047 * gdb.trace/ftrace.c (marker): Likewise.
2048 * gdb.trace/trace-condition.c (marker): Likewise.
2049 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
2050 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
2053 2015-09-18 Doug Evans <xdje42@gmail.com>
2055 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
2056 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
2058 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2060 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
2063 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2065 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
2066 the pending breakpoint. Remove timeout override for "Run till
2067 MI pending breakpoint on pendfunc3 on thread 2" test.
2069 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2071 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
2074 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2076 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
2077 in breakpoint filename pattern.
2079 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2081 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
2083 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
2085 * gdb.linespec/explicit.exp: Check for readline support for
2086 tab-completion tests. Fix obvious typo.
2088 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2090 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
2093 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
2095 * gdb.btrace/non-stop.c: New.
2096 * gdb.btrace/non-stop.exp: New.
2098 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
2099 Yao Qi <yao.qi@linaro.org>
2101 * gdb.trace/trace-condition.c: New file.
2102 * gdb.trace/trace-condition.exp: New file.
2104 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
2106 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
2107 for testing bytecode compilation.
2109 2015-09-16 Pedro Alves <palves@redhat.com>
2110 Sandra Loosemore <sandra@codesourcery.com>
2112 * gdb.threads/non-stop-fair-events.c (timeout): New global.
2113 (SECONDS): Redefine.
2114 (main): Call pthread_kill and alarm early.
2115 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
2117 (test): If the target can't hardware step and doesn't support
2118 displaced stepping, increase the timeout.
2120 2015-09-16 Pedro Alves <palves@redhat.com>
2122 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
2123 (enable_debug): New procedures.
2124 (test): Use them. Bail out if waiting for threads fails.
2125 (top level): Bail out if a test fails.
2127 2015-09-16 Yao Qi <yao.qi@linaro.org>
2129 * gdb.asm/asm-source.exp: Set asm-arch for
2130 aarch64*-*-* target.
2131 * gdb.asm/aarch64.inc: New file.
2133 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
2135 * gdb.ada/array_of_variable_length.exp: New testcase.
2136 * gdb.ada/array_of_variable_length/foo.adb: New file.
2137 * gdb.ada/array_of_variable_length/pck.adb: New file.
2138 * gdb.ada/array_of_variable_length/pck.ads: New file.
2140 2015-09-15 Doug Evans <dje@google.com>
2142 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
2143 of function static local variable.
2145 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
2147 * gdb.threads/tls-so_extern.exp: New test file.
2148 * gdb.threads/tls-so_extern.c: New test file.
2149 * gdb.threads/tls-so_extern_main.c: New test file.
2151 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2153 * gdb.opt/solib-intra-step-lib.c: New file.
2154 * gdb.opt/solib-intra-step-main.c: New file.
2155 * gdb.opt/solib-intra-step.exp: New file.
2157 2015-09-15 Pedro Alves <palves@redhat.com>
2159 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
2160 gdb_continue_to_breakpoint instead of gdb_test_multiple.
2162 2015-09-14 Pedro Alves <palves@redhat.com>
2164 * gdb.base/hook-stop-continue.c: Delete.
2165 * gdb.base/hook-stop-continue.exp: Delete.
2166 * gdb.base/hook-stop-frame.c: Delete.
2167 * gdb.base/hook-stop-frame.exp: Delete.
2168 * gdb.base/hook-stop.c: New file.
2169 * gdb.base/hook-stop.exp: New file.
2171 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
2173 * gdb.ada/access_to_packed_array.exp: New testcase.
2174 * gdb.ada/access_to_packed_array/foo.adb: New file.
2175 * gdb.ada/access_to_packed_array/pack.adb: New file.
2176 * gdb.ada/access_to_packed_array/pack.ads: New file.
2178 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
2180 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
2183 2015-09-11 Don Breazeal <donb@codesourcery.com>
2185 * gdb.base/foll-exec.c: Add copyright header. Fix
2187 * gdb.base/foll-exec.exp (zap_session): Delete proc.
2188 (do_exec_tests): Use clean_restart in place of zap_session,
2189 and for test initialization. Fix formatting issues. Use
2190 fail in place of perror.
2191 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
2192 an expect statement to match an expression with output from
2193 the program under debug.
2194 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
2195 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
2196 * gdb.threads/non-ldr-exc-2.exp: Likewise.
2197 * gdb.threads/non-ldr-exc-3.exp: Likewise.
2198 * gdb.threads/non-ldr-exc-4.exp: Likewise.
2200 2015-09-09 Doug Evans <dje@google.com>
2202 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
2204 2015-09-09 Doug Evans <dje@google.com>
2206 * gdb.base/pie-execl.exp: Fix result test of build_executable.
2208 2015-09-09 Doug Evans <dje@google.com>
2210 * gdb.base/savedregs.exp: Fix typo.
2212 2015-09-09 Pedro Alves <palves@redhat.com>
2214 * gdb.mi/mi-cli.exp: Add CLI finish tests.
2216 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
2218 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
2219 command actually switches threads. Give up on remaining
2220 tests if target fails to stop at breakpoint.
2222 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2224 * gdb.ada/funcall_char.exp: New testcase.
2225 * gdb.ada/funcall_char/foo.adb: New file.
2227 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2229 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2230 expected outputs. Add two testcases for completing ambiguous
2232 * gdb.ada/complete/aux_pck.adb: New file.
2233 * gdb.ada/complete/aux_pck.ads: New file.
2234 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2235 Ambiguous_Func functions.
2236 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2237 * gdb.ada/complete/pck.adb: Likewise.
2239 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2241 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2242 failures to run the test program under GDB.
2244 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2246 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2249 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2251 * gdb.base/run-after-attach.exp: New test file.
2252 * gdb.base/run-after-attach.c: New test file.
2254 2015-08-26 Don Breazeal <donb@codesourcery.com>
2256 * gdb.base/foll-exec-2.c: New test program.
2257 * gdb.base/foll-exec-2.exp: New test.
2259 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2261 * gdb.base/nested-subp1.exp: New file.
2262 * gdb.base/nested-subp1.c: New file.
2263 * gdb.base/nested-subp2.exp: New file.
2264 * gdb.base/nested-subp2.c: New file.
2265 * gdb.base/nested-subp3.exp: New file.
2266 * gdb.base/nested-subp3.c: New file.
2268 2015-08-24 Pedro Alves <palves@redhat.com>
2270 * gdb.server/connect-without-multi-process.c: New file.
2271 * gdb.server/connect-without-multi-process.exp: New file.
2273 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2275 * gdb.opt/inline-markers.c: Make z int.
2277 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2279 * gdb.opt/inline-markers.c: Make z volatile.
2281 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2283 * gdb.opt/inline-bt.c: New volatile global z.
2284 * gdb.opt/inline-cmds.c: Likewise.
2285 * gdb.opt/inline-locals.c: Likewise.
2286 * gdb.opt/inline-markers.c: New extern global z.
2288 (inline_fn): Likewise.
2290 2015-08-24 Pedro Alves <palves@redhat.com>
2292 * config/m32r-stub.exp: Remove file.
2293 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2294 * gdb.base/call-rt-st.exp: Likewise.
2295 * gdb.base/call-strs.exp: Likewise.
2296 * gdb.base/default.exp: Remove references to h8300-*-hms and
2298 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2300 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2302 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2303 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2304 and "return" use KFAIL when GDB can not read/write the vector
2307 2015-08-21 Gary Benson <gbenson@redhat.com>
2309 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2311 2015-08-20 Pedro Alves <palves@redhat.com>
2313 * gdb.server/solib-list.exp: No longer expect an interior stop in
2316 2015-08-20 Pedro Alves <palves@redhat.com>
2318 * gdb.server/connect-stopped-target.c: New file.
2319 * gdb.server/connect-stopped-target.exp: New file.
2321 2015-08-20 Pedro Alves <palves@redhat.com>
2323 * gdb.dwarf2/comp-unit-lang.exp: New file.
2324 * gdb.dwarf2/comp-unit-lang.c: New file.
2326 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2328 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2329 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2331 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2333 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2334 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2336 2015-08-18 Doug Evans <dje@google.com>
2337 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2339 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2340 skip_python_tests. New arg prompt_regexp.
2341 (skip_python_tests): New function.
2342 * lib/mi-support.exp (mi_skip_python_tests): New function.
2343 * gdb.python/py-mi-objfile-gdb.py: New file.
2344 * gdb.python/py-mi-objfile.c: New file.
2345 * gdb.python/py-mi-objfile.exp: New file.
2347 2015-08-17 Keith Seitz <keiths@redhat.com>
2349 * gdb.linespec/explicit.exp: Move strace test from here ...
2350 * gdb.trace/strace.exp: ... to here.
2352 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2354 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2355 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2357 2015-08-14 Doug Evans <xdje42@gmail.com>
2359 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2360 inferior before selecting a new file.
2362 2015-08-14 Doug Evans <xdje42@gmail.com>
2364 * gdb.mi/mi-disassemble.exp: Update.
2365 * gdb.base/disasm-optim.S: New file.
2366 * gdb.base/disasm-optim.c: New file.
2367 * gdb.base/disasm-optim.h: New file.
2368 * gdb.base/disasm-optim.exp: New file.
2370 2015-08-14 Keith Seitz <keiths@redhat.com>
2372 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2375 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2377 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2379 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2381 * gdb.ada/fun_renaming.exp: New testcase.
2382 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2383 * gdb.ada/fun_renaming/pack.adb: New file.
2384 * gdb.ada/fun_renaming/pack.ads: New file.
2386 2015-08-12 Keith Seitz <keiths@redhat.com>
2388 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2389 gdb_get_line_number.
2391 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2393 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2394 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2395 gdb.base/dso2dso.exp: New files.
2397 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2398 Pedro Alves <palves@redhat.com>
2399 Keith Seitz <keiths@redhat.com>
2401 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2404 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2406 * gdb.base/gdbhistsize-history.exp
2407 (test_histsize_history_setting): Use save_vars.
2408 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2410 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2411 * gdb.base/readline.exp: Use save_vars.
2413 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2415 * lib/gdb.exp (save_vars): New proc.
2417 2015-08-11 Keith Seitz <keiths@redhat.com>
2419 * gdb.base/help.exp: Update help_breakpoint_text.
2421 2015-08-11 Keith Seitz <keiths@redhat.com>
2423 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2424 (at toplevel): Call test_explicit_breakpoints.
2425 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2427 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2428 breakpoint conditions, "-cond".
2430 2015-08-11 Keith Seitz <keiths@redhat.com>
2432 * gdb.linespec/3explicit.c: New file.
2433 * gdb.linespec/cpexplicit.cc: New file.
2434 * gdb.linespec/cpexplicit.exp: New file.
2435 * gdb.linespec/explicit.c: New file.
2436 * gdb.linespec/explicit.exp: New file.
2437 * gdb.linespec/explicit2.c: New file.
2438 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2439 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2440 before using in the matching pattern.
2441 Clarify that `prefix' is a regular expression.
2443 2015-08-11 Keith Seitz <keiths@redhat.com>
2445 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2447 Add tests for missing ",FMT" and ",".
2449 2015-08-10 Doug Evans <dje@google.com>
2450 Keith Seitz <keiths@redhat.com>
2453 * gdb.base/completion.exp: Add location completer tests.
2455 2015-08-07 Pedro Alves <palves@redhat.com>
2457 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2459 (top level): Run do_test with and without displaced stepping.
2461 2015-08-07 Pedro Alves <palves@redhat.com>
2463 * gdb.base/valgrind-disp-step.c: New file.
2464 * gdb.base/valgrind-disp-step.exp: New file.
2466 2015-08-07 Pedro Alves <palves@redhat.com>
2468 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2470 (main): Add alarm. Run an infinite loop instead of calling
2472 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2474 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2476 (main): Add alarm. Run an infinite loop instead of calling
2478 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2481 2015-08-07 Pedro Alves <palves@redhat.com>
2483 * gdb.base/checkpoint-ns.exp: New file.
2484 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2487 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2489 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2490 * gdb.btrace/instruction_history.exp: Update.
2491 * gdb.btrace/tsx.exp: New.
2492 * gdb.btrace/tsx.c: New.
2494 2015-08-06 Pedro Alves <palves@redhat.com>
2496 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2498 * gdb.reverse/until-precsave.exp: Bump timeouts.
2500 2015-08-06 Pedro Alves <palves@redhat.com>
2502 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2504 2015-08-06 Pedro Alves <palves@redhat.com>
2507 * gdb.threads/process-dies-while-handling-bp.c: New file.
2508 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2510 2015-08-06 Pedro Alves <palves@redhat.com>
2512 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2513 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2515 2015-08-05 Pedro Alves <palves@redhat.com>
2517 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2518 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2520 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2522 * gdb.base/bp-permanent.exp: Report test as unsupported if
2523 the target cannot stop at the permanent breakpoint.
2525 2015-08-03 Doug Evans <dje@google.com>
2527 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2530 2015-08-03 Doug Evans <dje@google.com>
2532 * Makefile.in (workers/%.worker, build-perf): New rule.
2533 (GDB_PERFTEST_MODE): New variable.
2534 (check-perf): Use it.
2535 (clean): Clean up gdb.perf parallel build subdirs.
2536 * lib/build-piece.exp: New file.
2537 * lib/gdb.exp (make_gdb_parallel_path): New function
2538 (standard_output_file, standard_temp_file): Call it.
2539 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2541 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2543 2015-08-03 Doug Evans <dje@google.com>
2545 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2546 (LOG_FILE_NAME): New global.
2547 (TextReporter.__init__): Initialize self.txt_sum.
2548 (TextReporter.report): Add support for multiple data-points.
2549 Move report to perftest.sum, put raw data in perftest.log.
2550 (TextReporter.start): Open sum and log files.
2551 (TextReporter.end): Close sum and log files.
2552 * gdb.perf/lib/perftest/testresult.py
2553 (SingleStatisticTestResult.record): Handle multiple data-points.
2555 2015-07-31 Pedro Alves <palves@redhat.com>
2557 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2558 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2559 kill_wait_spawned_process instead of explicit "kill -9".
2560 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2561 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2562 kill_wait_spawned_process.
2563 * gdb.base/attach-twice.exp: Likewise.
2564 * gdb.base/attach.exp: Likewise.
2565 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2567 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2568 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2569 kill_wait_spawned_process.
2570 * gdb.base/valgrind-infcall.exp: Likewise.
2571 * gdb.multi/multi-attach.exp: Likewise.
2572 * gdb.python/py-prompt.exp: Likewise.
2573 * gdb.python/py-sync-interp.exp: Likewise.
2574 * gdb.server/ext-attach.exp: Likewise.
2575 * gdb.threads/attach-into-signal.exp (corefunc): Use
2576 spawn_wait_for_attach, spawn_id_get_pid and
2577 kill_wait_spawned_process.
2578 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2579 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2580 spawn_id_get_pid and kill_wait_spawned_process.
2581 * gdb.threads/attach-stopped.exp (corefunc): Use
2582 spawn_wait_for_attach, spawn_id_get_pid and
2583 kill_wait_spawned_process.
2584 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2585 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2586 kill_wait_spawned_process instead of explicit "kill -9".
2587 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2588 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2589 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2590 processes. Don't map cygwin/windows pids here. Now returns a
2593 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2595 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2596 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2599 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2601 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2603 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2606 2014-05-21 Mark Wielaard <mjw@redhat.com>
2608 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2610 2015-07-30 Pedro Alves <palves@redhat.com>
2612 * linux-low.c (handle_extended_wait): Set the child's last
2613 reported status to TARGET_WAITKIND_STOPPED.
2615 2015-07-30 Pedro Alves <palves@redhat.com>
2618 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2619 only shows inferior 1.
2621 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2622 Pedro Alves <palves@redhat.com>
2625 * gdb.threads/fork-plus-threads.c: New file.
2626 * gdb.threads/fork-plus-threads.exp: New file.
2628 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2630 * gdb.base/batch-preserve-term-settings.exp
2631 (test_terminal_settings_preserved_after_cli_exit): Use
2634 2015-07-29 Pedro Alves <palves@redhat.com>
2635 Don Breazeal <donb@codesourcery.com>
2637 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2638 output from both inferior_spawn_id and gdb_spawn_id.
2640 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2642 * gdb.threads/attach-into-signal.exp (corefunc): Use
2643 with_test_prefix on nested loops, uniquefying the test messages.
2645 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2647 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2650 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2652 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2654 (test_terminal_settings_preserved_after_sigterm): New test.
2656 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2658 * gdb.base/batch-preserve-term-settings.exp
2659 (test_terminal_settings_preserved_after_cli_exit): New test.
2661 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2663 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2664 manipulation of saved_gdbflags.
2665 (test_terminal_settings_preserved): Remove global declaration of
2666 the unused variable pagination_prompt. Remove manipulation of
2667 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2670 2015-07-29 Pedro Alves <palves@redhat.com>
2672 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2674 2015-07-29 Pedro Alves <palves@redhat.com>
2676 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2679 2015-07-29 Pedro Alves <palves@redhat.com>
2681 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2682 (main): Call gdb_unbuffer_output.
2683 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2684 (main): Call gdb_unbuffer_output.
2685 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2686 (main): Call gdb_unbuffer_output.
2687 * gdb.base/call-strs.exp: Adjust to step over the
2688 gdb_unbuffer_output call.
2689 * gdb.base/catch-gdb-caused-signals.c: Include
2690 "../lib/unbuffer_output.c".
2691 (main): Call gdb_unbuffer_output.
2692 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2693 (main): Call gdb_unbuffer_output.
2694 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2695 (main): Call gdb_unbuffer_output.
2696 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2697 (main): Call gdb_unbuffer_output.
2698 * gdb.base/shlib-call.exp: Adjust to step over the
2699 gdb_unbuffer_output call.
2700 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2701 (main): Call gdb_unbuffer_output.
2702 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2703 (main): Call gdb_unbuffer_output.
2704 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2705 (main): Rename to ...
2707 (main): Reimplement.
2708 * gdb.base/varargs.exp: Run to test instead of to main.
2709 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2710 (main): Call gdb_unbuffer_output.
2712 2015-07-29 Pedro Alves <palves@redhat.com>
2714 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2715 factore out from mi_continue_dprintf. For call-style dprintfs,
2716 expect dprintf output out of $inferior_spawn_id.
2717 (mi_continue_dprintf): Use mi_expect_dprintf.
2718 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2719 (main): Call gdb_unbuffer_output.
2721 2015-07-29 Pedro Alves <palves@redhat.com>
2723 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2724 (default_mi_gdb_start): Set inferior_spawn_id instead of
2725 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2727 (mi_gdb_test): Always expect inferior output from both
2728 $inferior_spawn_id and $gdb_spawn_id.
2730 2015-07-29 Pedro Alves <palves@redhat.com>
2732 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2733 send_inferior and $inferior_spawn_id.
2735 2015-07-29 Pedro Alves <palves@redhat.com>
2737 * gdb.gdb/complaints.exp (test_initial_complaints)
2738 (test_serial_complaints, test_short_complaints): Use
2740 (test_empty_complaint): Handle $inferior_spawn_id !=
2743 2015-07-29 Pedro Alves <palves@redhat.com>
2745 * gdb.base/varargs.exp: Use gdb_test_stdio.
2747 2015-07-29 Pedro Alves <palves@redhat.com>
2749 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2751 2015-07-29 Pedro Alves <palves@redhat.com>
2753 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2755 2015-07-29 Pedro Alves <palves@redhat.com>
2757 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2758 parameter into two new parameters, "inf_result" and "gdb_result".
2759 Expect inferior output and gdb output from $inferior_spawn_id and
2760 $gdb_spawn_id, respectively. Adjust all callers.
2762 2015-07-29 Pedro Alves <palves@redhat.com>
2764 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2765 of gdb_test_sequence.
2767 2015-07-29 Pedro Alves <palves@redhat.com>
2769 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2770 (saw_spurious_output): Expect inferior output from
2771 $inferior_spawn_id. Use gdb_test_stdio.
2773 2015-07-29 Pedro Alves <palves@redhat.com>
2775 * gdb.base/dprintf.exp: Use standard_testfile. Change
2776 prepare_for_testing call.
2777 (srcfile): Don't set.
2778 (restart): New procedure.
2779 (test_dprintf): New procecure, use to continue over dprintfs.
2780 (test_call, test_agent): New procedures, tests moved here.
2781 Restart gdb and recreate dprintfs. Adjust expected output.
2783 2015-07-29 Pedro Alves <palves@redhat.com>
2785 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2787 2015-07-29 Pedro Alves <palves@redhat.com>
2789 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2791 2015-07-29 Pedro Alves <palves@redhat.com>
2793 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2796 2015-07-29 Pedro Alves <palves@redhat.com>
2798 * lib/gdb.exp (gdb_test_stdio): New procedure.
2800 2015-07-29 Pedro Alves <palves@redhat.com>
2802 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2804 2015-07-29 Pedro Alves <palves@redhat.com>
2806 * gdb.base/call-signal-resume.exp: Remove check for
2807 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2808 * gdb.base/unwindonsignal.exp: Likewise.
2809 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2810 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2812 2015-07-29 Pedro Alves <palves@redhat.com>
2814 * gdb.base/siginfo-addr.c (pass): New function.
2815 (handler): Call it iff si_addr is correct.
2816 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2817 Set a breakpoint at "pass" and continue to it.
2819 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2821 * gdb.python/py-objfile.exp: Make some tests have unique names.
2822 * gdb.python/py-pp-registration.exp: Likewise.
2824 2015-07-28 Pedro Alves <palves@redhat.com>
2826 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2828 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2830 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2832 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2834 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2836 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2838 * gdb.base/gdb-sigterm-2.exp: New test.
2840 2015-07-25 Doug Evans <xdje42@gmail.com>
2843 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2844 (workers/%.worker, build-perf): New rule.
2845 (GDB_PERFTEST_MODE): New variable.
2846 (check-perf): Use it.
2847 (clean): Clean up gdb.perf parallel build subdirs.
2848 * lib/build-piece.exp: New file.
2849 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2850 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2852 (standard_temp_file): Ditto.
2853 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2856 2015-07-24 Doug Evans <dje@google.com>
2858 * gdb.perf/lib/perftest/utils.py: New file.
2859 * gdb.perf/gm-hello.cc: New file.
2860 * gdb.perf/gm-pervasive-typedef.cc: New file.
2861 * gdb.perf/gm-pervasive-typedef.h: New file.
2862 * gdb.perf/gm-std.cc: New file.
2863 * gdb.perf/gm-std.h: New file.
2864 * gdb.perf/gm-use-cerr.cc: New file.
2865 * gdb.perf/gm-utils.h: New file.
2866 * gdb.perf/gmonster-null-lookup.py: New file.
2867 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2868 * gdb.perf/gmonster-print-cerr.py: New file.
2869 * gdb.perf/gmonster-ptype-string.py: New file.
2870 * gdb.perf/gmonster-runto-main.py: New file.
2871 * gdb.perf/gmonster-select-file.py: New file.
2872 * gdb.perf/gmonster1-null-lookup.exp: New file.
2873 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2874 * gdb.perf/gmonster1-print-cerr.exp: New file.
2875 * gdb.perf/gmonster1-ptype-string.exp: New file.
2876 * gdb.perf/gmonster1-runto-main.exp: New file.
2877 * gdb.perf/gmonster1-select-file.exp: New file.
2878 * gdb.perf/gmonster1.cc: New file.
2879 * gdb.perf/gmonster1.exp: New file.
2880 * gdb.perf/gmonster2-null-lookup.exp: New file.
2881 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2882 * gdb.perf/gmonster2-print-cerr.exp: New file.
2883 * gdb.perf/gmonster2-ptype-string.exp: New file.
2884 * gdb.perf/gmonster2-runto-main.exp: New file.
2885 * gdb.perf/gmonster2-select-file.exp: New file.
2886 * gdb.perf/gmonster2.cc: New file.
2887 * gdb.perf/gmonster2.exp: New file.
2889 2015-07-24 Doug Evans <dje@google.com>
2891 * gdb.perf/README: New file.
2892 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2893 * lib/gen-perf-test.exp: New file.
2895 2015-07-24 Doug Evans <dje@google.com>
2897 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2898 (PerfTest::startup): New function.
2899 (PerfTest::run): Return result of calling body.
2900 (PerfTest::assemble): Rewrite.
2901 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2902 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2903 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2904 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2905 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2907 2015-07-24 Doug Evans <dje@google.com>
2909 * lib/gdb.exp (clean_restart): Make executable optional.
2911 2015-07-24 Doug Evans <dje@google.com>
2913 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2914 compiler_info references.
2915 * gdb.cp/temargs.exp: Ditto.
2916 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2917 (get_compiler_info): Early exit if already computed. Set compiler_info
2918 to "unknown" if there was a problem.
2919 (test_compiler_info): Add function comment. Call get_compiler_info.
2921 2015-07-24 Doug Evans <dje@google.com>
2923 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2924 (workers/%.worker, build-perf): New rule.
2925 (GDB_PERFTEST_MODE): New variable.
2926 (check-perf): Use it.
2927 (clean): Clean up gdb.perf parallel build subdirs.
2928 * lib/build-piece.exp: New file.
2929 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2930 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2932 (standard_temp_file): Ditto.
2933 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2936 2015-07-24 Doug Evans <dje@google.com>
2938 * lib/future.exp (gdb_default_target_compile): New option
2940 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2943 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2945 * gdb.base/catch-syscall.exp: Call gdb_exit before
2948 2015-07-24 Pedro Alves <palves@redhat.com>
2950 * gdb.python/py-events.exp: Accept output between the stop event
2952 * gdb.python/py-evsignal.exp: Likewise.
2953 * gdb.python/py-evthreads.exp: Likewise.
2955 2015-07-24 Pedro Alves <palves@redhat.com>
2958 * gdb.threads/non-ldr-exit.c: New file.
2959 * gdb.threads/non-ldr-exit.exp: New file.
2961 2015-07-24 Yao Qi <yao.qi@linaro.org>
2963 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2966 2015-07-24 Yao Qi <yao.qi@linaro.org>
2968 * gdb.server/ext-restart.exp: New file.
2970 2015-07-24 Yao Qi <yao.qi@linaro.org>
2972 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2974 * gdb.server/ext-wrapper.exp: New file.
2976 2015-07-23 Doug Evans <dje@google.com>
2978 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2979 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2981 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2983 * gdb.ada/var_arr_typedef.exp: New testcase.
2984 * gdb.ada/var_arr_typedef/pack.adb: New file.
2985 * gdb.ada/var_arr_typedef/pack.ads: New file.
2986 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2988 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2990 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2992 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2994 * gdb.arch/i386-biarch-core.exp: Replace istarget
2995 by "complete set gnutarget". Remove expectation for the "core-file"
2998 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
3000 Revert the previous commit:
3001 Tests for validate symbol file using build-id.
3003 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
3005 Tests for validate symbol file using build-id.
3006 * gdb.base/solib-mismatch-lib.c: New file.
3007 * gdb.base/solib-mismatch-libmod.c: New file.
3008 * gdb.base/solib-mismatch.c: New file.
3009 * gdb.base/solib-mismatch.exp: New file.
3011 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
3013 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
3015 * gdb.base/sigbpt.exp (stepi_out): Likewise.
3016 * gdb.base/siginfo.exp: Likewise.
3017 * gdb.base/sigstep.exp (advance, advancei): Likewise.
3019 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
3021 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
3023 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
3025 * gdb.trace/range-stepping.exp: Check that the target supports
3028 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
3030 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
3032 2015-07-14 Pedro Alves <palves@redhat.com>
3034 * gdb.base/killed-outside.exp: New file.
3035 * gdb.base/killed-outside.c: New file.
3037 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
3039 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
3041 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
3043 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
3045 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
3046 infcall tests instead of setting up for KFAIL.
3048 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
3050 * gdb.btrace/record_goto-step.exp: New.
3052 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
3055 * gdb.compile/compile.c (struct struct_type): Add volatile to
3057 * gdb.compile/compile.exp
3058 (compile code struct_object.selffield = &struct_object): Skip further
3059 struct_object tests if this one xfails.
3061 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
3064 * gdb.trace/ax.exp: Add test.
3066 2015-07-07 Yao Qi <yao.qi@linaro.org>
3068 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
3069 instead of istarget "aarch64*-*-*".
3070 * gdb.arch/aarch64-fp.exp: Likewise.
3071 * gdb.base/float.exp: Likewise.
3072 * gdb.reverse/aarch64.exp: Likewise.
3073 * lib/gdb.exp (is_aarch64_target): New proc.
3075 2015-07-07 Yao Qi <yao.qi@linaro.org>
3077 * lib/gdb.exp (is_aarch32_target): New proc.
3078 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
3079 instead of "istarget "arm*-*-*"".
3080 * gdb.arch/arm-disp-step.exp: Likewise.
3081 * gdb.arch/thumb-bx-pc.exp: Likewise.
3082 * gdb.arch/thumb-prologue.exp: Likewise.
3083 * gdb.arch/thumb-singlestep.exp: Likewise.
3084 * gdb.base/disp-step-syscall.exp: Likewise.
3085 * gdb.base/float.exp: Likewise.
3087 2015-07-07 Yao Qi <yao.qi@linaro.org>
3089 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
3090 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
3092 2015-07-07 Yao Qi <yao.qi@linaro.org>
3094 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
3095 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
3097 * gdb.multi/multi-arch.exp: Likewise.
3099 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
3101 * gdb.python/py-lazy-string.exp: Add missing parentheses to
3104 2015-07-07 Yao Qi <yao.qi@linaro.org>
3106 * gdb.arch/thumb-singlestep.exp: Do one more single step.
3108 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
3110 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
3111 '[' and ']' characters.
3113 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
3115 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
3117 2015-06-29 Pedro Alves <palves@redhat.com>
3120 * gdb.threads/hand-call-new-thread.c: New file.
3121 * gdb.threads/hand-call-new-thread.c: New file.
3123 2015-06-26 Keith Seitz <keiths@redhat.com>
3124 Doug Evans <dje@google.com>
3127 * gdb.cp/var-tag-2.cc: New file.
3128 * gdb.cp/var-tag-3.cc: New file.
3129 * gdb.cp/var-tag-4.cc: New file.
3130 * gdb.cp/var-tag.cc: New file.
3131 * gdb.cp/var-tag.exp: New file.
3133 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3135 * gdb.base/history-duplicates.exp: New test.
3137 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
3139 * gdb.base/completion.exp: Test the completion of the "focus"
3142 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3144 * gdb.arch/amd64-prologue-skip.S: New file.
3145 * gdb.arch/amd64-prologue-skip.exp: New file.
3147 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
3149 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
3150 is_address_zero_readable check.
3152 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
3154 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
3155 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
3157 2015-06-24 Yao Qi <yao.qi@linaro.org>
3159 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
3162 2015-06-24 Yao Qi <yao.qi@linaro.org>
3164 * lib/gdb.exp (supports_get_siginfo_type): New proc.
3165 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
3166 * gdb.base/siginfo-thread.exp: Likewise.
3168 2015-06-22 Yao Qi <yao.qi@linaro.org>
3170 * boards/remote-gdbserver-on-localhost.exp: Add comments.
3172 2015-06-22 Yao Qi <yao.qi@linaro.org>
3174 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
3176 (skip_hw_watchpoint_tests): Likewise.
3178 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
3180 * gdb.base/gdbinit-history.exp: Test the interaction between
3181 setting GDBHISTSIZE and setting the history size via .gdbinit.
3183 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3186 * gdb.base/gdbhistsize-history.exp: New test.
3188 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3190 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
3192 * gdb.base/readline.exp: Likewise.
3194 2015-06-17 Yao Qi <yao.qi@linaro.org>
3196 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
3199 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
3201 * gdb.base/gdbinit-history.exp: Add test case to check that
3202 an unlimited history file does not get truncated on exit.
3204 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
3206 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
3207 (VECTOR): New macro. Use it...
3208 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
3209 ...for these typedefs.
3210 (int8, char1, int1, double1): New typedefs.
3211 (struct just_int2, struct two_int2): New structures.
3212 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
3213 (add_structvecs, add_singlevecs): New functions.
3214 (main): Call add_some_intvecs twice.
3215 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
3216 the compile and exit upon failure. Try compiling for the "native"
3217 architecture. Test inferior function calls with vector arguments
3218 and vector return value handling with "finish" and "return".
3220 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3222 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3223 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3225 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3227 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3229 PR breakpoints/16465
3230 * gdb.mi/mi-dprintf-pending.c: New file.
3231 * gdb.mi/mi-dprintf-pending.exp: New test.
3232 * gdb.mi/mi-dprintf-pendshr.c: New file.
3234 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3235 Mircea Gherzan <mircea.gherzan@intel.com>
3237 * gdb.arch/i386-mpx-map.c: New file.
3238 * gdb.arch/i386-mpx-map.exp: New File.
3240 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3242 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3243 * gdb.arch/i386-mpx.exp: Indentation fixed.
3245 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3247 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3248 function and improved indentation.
3249 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3250 gdb_test_multiple. Added additional tests to skip the test.
3252 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3254 * gdb.arch/i386-avx512.c: Change path in include file.
3255 * gdb.arch/i386-avx512.exp: Change include dir path
3257 * gdb.arch/i386-mpx.c: Change path in include file.
3258 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3261 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3263 * gdb.compile/compile-print.exp (compile print *vararray@3)
3264 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3266 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3268 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3269 (do not keep jit in memory): ... this.
3270 (expect 5): Change it to ...
3271 (expect no 5): ... this.
3273 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3276 * gdb.mi/mi-detach.exp: New file.
3278 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3281 * gdb.arch/amd64-tailcall-self.S: New file.
3282 * gdb.arch/amd64-tailcall-self.c: New file.
3283 * gdb.arch/amd64-tailcall-self.exp: New file.
3285 2015-05-28 Don Breazeal <donb@codesourcery.com>
3287 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3288 tests for remote targets by checking is_target_gdbserver.
3290 2015-05-27 Doug Evans <dje@google.com>
3292 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3293 * gdb.dwarf2/opaque-type-lookup.c: New file.
3294 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3296 2015-05-26 Doug Evans <dje@google.com>
3298 * gdb.cp/iostream.cc: New file.
3299 * gdb.cp/iostream.exp: New file.
3301 2015-05-26 Doug Evans <dje@google.com>
3303 * gdb.dwarf2/dw2-op-call.exp: Update.
3304 * gdb.dwarf2/dw4-sig-types.exp: Update.
3305 * gdb.dwarf2/implptr.exp: Update.
3306 * gdb.mi/mi-cmd-param-changed.exp: Update.
3308 2015-05-26 Doug Evans <dje@google.com>
3310 * gdb.python/py-lazy-string.c: New file.
3311 * gdb.python/py-lazy-string.exp: New file.
3312 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3313 (main): Update. Add estring3.
3314 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3315 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3317 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3318 Yao Qi <yao.qi@linaro.org>
3320 * gdb.reverse/aarch64.c: New.
3321 * gdb.reverse/aarch64.exp: New.
3323 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3325 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3326 (supports_reverse): Likewise.
3328 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3330 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3331 Use with_test_prefix.
3333 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3335 * gdb.base/completion.exp: Add test for completion of layout
3338 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3340 * lib/gdb.exp (skip_tui_tests): New proc.
3341 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3343 2015-05-19 Pedro Alves <palves@redhat.com>
3345 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3346 Save the whole env array instead of just HOME. Unset HISTSIZE in
3347 the environment while testing. Restore whole environment
3350 2015-05-16 Doug Evans <xdje42@gmail.com>
3352 * gdb.guile/scm-ports.c: New file.
3353 * gdb.guile/scm-ports.exp: Add memory port tests.
3355 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3357 * gdb.compile/compile-print.c: New file.
3358 * gdb.compile/compile-print.exp: New file.
3360 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3362 * gdb.compile/compile-ops.exp: Cast param to void.
3363 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3364 (compile code struct_object.selffield = &struct_object): Add xfail.
3366 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3368 * gdb.ada/arr_enum_with_gap: New testcase.
3370 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3372 * gdb.ada/byte_packed_arr: New testcase.
3374 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3376 * gdb.ada/pckd_neg: New testcase.
3378 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3381 * gdb.base/gdbinit-history.exp: New test.
3382 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3383 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3385 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3387 * gdb.python/py-xmethods.cc: Enhance test case.
3388 * gdb.python/py-xmethods.exp: New tests.
3389 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3391 (B_indexoper): Likewise.
3392 (global_dm_list) : Add new xmethod worker functions.
3394 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3396 * gdb.base/coredump-filter.exp: Correctly unset
3397 "coredump_var_addr" array.
3399 2015-05-08 Pedro Alves <palves@redhat.com>
3401 * gdb.server/non-existing-program.exp: Unset spawn_id.
3403 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3406 * gdb.python/py-xmethods.exp: Add tests.
3408 2015-05-08 Yao Qi <yao.qi@linaro.org>
3411 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3412 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3413 function set_coredump_filter, and remove remote_exec call.
3414 Remove argument ipid. Callers update.
3415 (top level): Don't get inferior's PID.
3417 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3419 * gdb.base/watch_thread_num.exp: Skip test on targets without
3422 2015-05-06 Pedro Alves <palves@redhat.com>
3425 * gdb.server/non-existing-program.exp: New file.
3427 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3429 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3431 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3433 * gdb.ada/out_of_line_in_inlined: New testcase.
3435 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3437 * gdb.ada/var_rec_arr: New testcase.
3439 2015-04-30 Yao Qi <yao.qi@linaro.org>
3441 * gdb.base/break-idempotent.exp: If
3442 skip_hw_watchpoint_multi_tests returns true, skip the tests
3443 on "rwatch" and "awatch".
3445 2015-04-30 Yao Qi <yao.qi@linaro.org>
3447 * gdb.base/relativedebug.exp: Invoke gdb command
3448 "info sharedlibrary", and if libc.so doesn't have debug info,
3451 2015-04-29 Doug Evans <dje@google.com>
3453 * gdb.python/py-xmethods.exp: Add ptype tests.
3454 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3455 get_result_type method.
3457 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3459 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3460 the target does not support hardware watchpoints.
3462 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3464 * gdb.base/break-always.exp: Abort testing if writing to memory
3467 2015-04-28 Doug Evans <dje@google.com>
3469 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3470 * gdb.python/py-pp-registration.exp: ... here. New file.
3471 * gdb.python/py-pp-registration.c: New file.
3472 * gdb.python/py-pp-registration.py: New file.
3474 2015-04-28 Doug Evans <dje@google.com>
3476 * gdb.python/py-bad-printers.c: New file.
3477 * gdb.python/py-bad-printers.py: New file.
3478 * gdb.python/py-bad-printers.exp: New file.
3480 2015-04-28 Sasha Smundak <asmundak@google.com>
3482 * gdb.python/py-type.exp: New test.
3484 2015-04-28 Andy Wingo <wingo@igalia.com>
3486 * gdb.python/py-parameter.exp:
3487 * gdb.guile/scm-parameter.exp: Escape the path that we are
3488 matching against, as it might contain characters that are special
3489 to regular expressions.
3491 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3493 * gdb.ada/rec_comp: New testcase.
3495 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3497 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3500 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3502 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3503 new tests for verilog output.
3505 2015-04-24 Yao Qi <yao.qi@linaro.org>
3507 * boards/remote-gdbserver-on-localhost.exp: New file.
3509 2015-04-23 Pedro Alves <palves@redhat.com>
3511 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3512 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3513 "end of file", remove $inferior_spawn_id from the indirect list.
3515 2015-04-23 Pedro Alves <palves@redhat.com>
3517 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3519 2015-04-23 Pedro Alves <palves@redhat.com>
3521 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3522 on $any_spawn_id instead of only on $gdb_spawn_id.
3524 2015-04-21 Pierre Muller <muller@sourceware.org>
3527 * lib/pascal.exp (gpc_compile): Add new option "class".
3528 (fpc_compile): Likewise.
3529 * gdb.pascal/case-insensitive-symbols.pas: New file.
3530 * gdb.pascal/case-insensitive-symbols.exp: New file.
3532 2015-04-20 Gary Benson <gbenson@redhat.com>
3534 * gdb.base/attach.exp: Fix three extended remote failures.
3536 2015-04-17 Gary Benson <gbenson@redhat.com>
3538 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3539 the main executable over the remote protocol.
3541 2015-04-16 Pedro Alves <palves@redhat.com>
3543 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3544 a new gdbserver if gdbserver_reconnect_p is set.
3546 2015-04-16 Pedro Alves <palves@redhat.com>
3548 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3549 is set, don't exit gdbserver.
3551 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3553 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3554 appropriate .insn, such that an older assembler can be used.
3555 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3556 the z/Architecture instruction set on 31-bit targets as well.
3558 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3560 * gdb.go/handcall.exp: Remove all logic related to the first
3561 breakpoint and rely on go_runto_main instead.
3562 * gdb.go/strings.exp: Likewise.
3563 * gdb.go/unsafe.exp: Likewise.
3564 * gdb.go/hello.exp: Likewise. Also rename the remaining
3565 breakpoint marker to "breakpoint 1".
3566 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3567 * gdb.go/strings.go: Likewise.
3568 * gdb.go/unsafe.go: Likewise.
3569 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3570 "set breakpoint 2 here" and rename the remaining breakpoint marker
3573 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3575 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3576 if itertools.imap is not present.
3577 * gdb.python/py-objfile.exp: Add parentheses.
3578 * gdb.python/py-type.exp: Same.
3579 * gdb.python/py-unwind-maint.py: Same.
3581 2015-04-15 Yao Qi <yao.qi@linaro.org>
3583 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3584 of ":$ptr_size" and set its form explicitly.
3586 2015-04-15 Pedro Alves <palves@redhat.com>
3587 Yao Qi <yao.qi@linaro.org>
3589 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3590 timeout by factor of 4.
3591 (test_regular_watch): Likewise.
3592 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3593 * gdb.reverse/sigall-reverse.exp: Likewise.
3594 * gdb.reverse/until-precsave.exp: Likewise.
3595 * lib/gdb.exp (with_timeout_factor): New proc.
3596 (gdb_expect): Move some code to ...
3597 (get_largest_timeout): ... here. New procedure.
3599 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3601 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3603 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3605 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3606 to write to the .text section.
3608 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3610 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3611 Handle the case of targets that do not provide PID information.
3613 2015-04-13 Yao Qi <yao.qi@linaro.org>
3615 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3616 and use expect instead of gdb_expect.
3618 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3620 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3621 "coredump_var_addr" to avoid naming conflict with other testcases.
3623 2015-04-10 Pedro Alves <palves@redhat.com>
3625 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3626 gdb_test_sequence and gdb_assert.
3628 2015-04-10 Pedro Alves <palves@redhat.com>
3630 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3631 test messages that don't include the breakpoint address.
3633 2015-04-10 Yao Qi <yao.qi@linaro.org>
3635 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3636 false for some offset and width combinations which aren't
3637 supported by linux kernel.
3639 2015-04-10 Pedro Alves <palves@redhat.com>
3641 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3642 procedure, factored out from ...
3643 (top level): ... here. Add "set displaced-stepping" testing axis.
3644 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3645 parameter "displaced". Use it.
3646 (top level): Use foreach and add "set displaced-stepping" testing
3649 2015-04-10 Pedro Alves <palves@redhat.com>
3651 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3653 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3654 both the address of the instruction that triggers the watchpoint
3655 and the address of the instruction immediately after, and use
3656 those addresses for the test. Fix comment.
3658 2015-04-10 Pedro Alves <palves@redhat.com>
3660 * gdb.base/sigstep.exp (breakpoint_to_handler)
3661 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3662 Test "backtrace" in handler.
3663 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3664 (top level): Add new "displaced" test axis to
3665 breakpoint_to_handler, breakpoint_to_handler_entry and
3666 breakpoint_over_handler.
3668 2015-04-10 Pedro Alves <palves@redhat.com>
3671 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3673 2015-04-10 Yao Qi <yao.qi@linaro.org>
3675 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3676 (test_add_rn_pc): New function.
3677 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3678 (top level): Invoke test_add_rn_pc.
3680 2015-04-10 Pedro Alves <palves@redhat.com>
3683 * gdb.base/step-over-no-symbols.exp: New file.
3685 2015-04-09 Andy Wingo <wingo@igalia.com>
3687 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3688 after the Python tests.
3690 2015-04-08 Keith Seitz <keiths@redhat.com>
3693 * gdb.python/py-completion.exp: New tests for completion.
3694 * gdb.python/py-completion.py (CompleteLimit1): New class.
3695 (CompleteLimit2): Likewise.
3696 (CompleteLimit3): Likewise.
3697 (CompleteLimit4): Likewise.
3698 (CompleteLimit5): Likewise.
3699 (CompleteLimit6): Likewise.
3700 (CompleteLimit7): Likewise.
3702 2015-04-08 Pedro Alves <palves@redhat.com>
3706 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3708 (main): Install it as SIGUSR1 handler.
3709 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3710 parameter. Always use "setup" as prefix. Toggle "set
3711 displaced-stepping" off/on depending on global. Don't switch to
3713 (top level): Add displaced stepping "off/on" test axis. Update
3714 "setup" calls. Wrap each subtest with with_test_prefix. Test
3715 continuing with a queued signal in each thread.
3717 2015-04-08 Pedro Alves <palves@redhat.com>
3719 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3720 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3721 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3722 Return early if running to main fails.
3723 * gdb.trace/while-stepping.exp: Likewise.
3725 2015-04-07 Pedro Alves <palves@redhat.com>
3727 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3728 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3729 interact with inferior program.
3731 2015-04-07 Pedro Alves <palves@redhat.com>
3733 * lib/gdb.exp (inferior_spawn_id): New global.
3734 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3735 spawn id after processing the user code.
3736 (default_gdb_start): Set inferior_spawn_id.
3737 (send_inferior): New procedure.
3738 * lib/gdbserver-support.exp (gdbserver_start): Set
3740 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3742 2015-04-07 Pedro Alves <palves@redhat.com>
3744 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3745 * lib/gdbserver-support.exp (gdbserver_start): Make
3746 $server_spawn_id global.
3747 (gdbserver_start): Don't wait for gdbserver's spawn id with
3749 (close_gdbserver): New procedure.
3750 (gdb_exit): Rename the default version and reimplement.
3752 2015-04-07 Pedro Alves <palves@redhat.com>
3754 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3755 append the substituted item, not the original item.
3757 2015-04-07 Pedro Alves <palves@redhat.com>
3759 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3762 2015-04-07 Pedro Alves <palves@redhat.com>
3764 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3765 output appearing once only.
3767 2015-04-07 Pedro Alves <palves@redhat.com>
3769 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3770 that doesn't expect anything. Return early if running to main
3773 2015-04-07 Yao Qi <yao.qi@linaro.org>
3775 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3776 (child_function): Call alarm.
3777 (main): Move call to alarm into the loop.
3778 * gdb.threads/non-stop-fair-events.exp: Build program with
3781 2015-04-06 Doug Evans <xdje42@gmail.com>
3783 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3784 Fix dest parameter to board_info.
3785 (fpc_compile): Ditto.
3786 (gdb_compile_pascal): Rename dest arg to destfile.
3788 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3790 * gdb.ada/funcall_ref.exp: New file.
3791 * gdb.ada/funcall_ref/foo.adb: New file.
3793 2015-04-02 Yao Qi <yao.qi@linaro.org>
3795 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3798 2015-04-02 Gary Benson <gbenson@redhat.com>
3800 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3802 2015-04-01 Sasha Smundak <asmundak@google.com>
3804 * gdb.python/py-unwind-maint.c: New file.
3805 * gdb.python/py-unwind-maint.exp: New test.
3806 * gdb.python/py-unwind-maint.py: New file.
3807 * gdb.python/py-unwind.c: New file.
3808 * gdb.python/py-unwind.exp: New test.
3809 * gdb.python/py-unwind.py: New test.
3811 2015-04-01 Pedro Alves <palves@redhat.com>
3813 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3814 to fail instead of non-existent $test.
3816 2015-04-01 Pedro Alves <palves@redhat.com>
3818 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3819 GDBFLAGS if not empty.
3821 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3823 * gdb.ada/complete.exp: Remove "multi_line".
3824 * gdb.ada/info_exc.exp: Remove "multi_line".
3825 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3826 * gdb.ada/ptype_field.exp: Remove "multi_line".
3827 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3828 * gdb.ada/tagged.exp: Remove "multi_line".
3829 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3831 * gdb.btrace/delta.exp: Likewise.
3832 * gdb.btrace/exception.exp: Likewise.
3833 * gdb.btrace/function_call_history.exp: Likewise.
3834 * gdb.btrace/instruction_history.exp: Likewise.
3835 * gdb.btrace/nohist.exp: Likewise.
3836 * gdb.btrace/record_goto.exp: Likewise.
3837 * gdb.btrace/segv.exp: Likewise.
3838 * gdb.btrace/stepi.exp: Likewise.
3839 * gdb.btrace/tailcall.exp: Likewise.
3840 * gdb.btrace/unknown_functions.exp: Likewise.
3841 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3842 * lib/gdb.exp: Add the "multi_line" helper.
3844 2015-04-01 Pedro Alves <palves@redhat.com>
3846 * gdb.threads/tid-reuse.c: New file.
3847 * gdb.threads/tid-reuse.exp: New file.
3849 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3852 * gdb.base/coredump-filter.c: New file.
3853 * gdb.base/coredump-filter.exp: Likewise.
3855 2015-03-27 Petr Machata <pmachata@redhat.com>
3857 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3858 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3859 (Dwarf::assemble): Initialize them.
3860 (Dwarf::lines): New function.
3862 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3864 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3865 SYMBOL_PREFIX for x86_64-*-cygwin.
3867 2015-03-26 Andy Wingo <wingo@igalia.com>
3870 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3871 const_value but not a location.
3872 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3873 location defined in non-main CUs are visible.
3875 2015-03-26 Yao Qi <yao.qi@linaro.org>
3878 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3879 Add a line number entry for the same line.
3880 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3881 Add a line number entry for the same line.
3883 2015-03-26 Yao Qi <yao.qi@linaro.org>
3885 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3887 (func): Likewise. Add .Lfunc_1 label.
3889 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3894 2015-03-26 Yao Qi <yao.qi@linaro.org>
3896 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3897 Call gdb_compile instead to compile each .s files without debug
3900 2015-03-26 Yao Qi <yao.qi@linaro.org>
3902 * gdb.base/savedregs.exp (process_saved_regs): Make
3903 "Saved registers:" optional in the pattern.
3905 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3907 * gdb.btrace/next.exp: Merged into step.exp.
3908 * gdb.btrace/finish.exp: Merged into step.exp.
3909 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3910 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3911 "record goto" and checking the exact replay position.
3912 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3913 check for "Recording format" in "info record" output.
3914 * gdb.btrace/record_goto.exp: Choose test file based on target.
3915 * gdb.btrace/x86-record_goto.S: Renamed into ...
3916 * gdb.btrace/x86_64-record_goto.S: ... this.
3917 * gdb.btrace/i686-record_goto.S: New.
3918 * gdb.btrace/x86-tailcall.S: Renamed into ...
3919 * gdb.btrace/x86_64-tailcall.S: ... this.
3920 * gdb.btrace/i686-tailcall.S: New.
3921 * gdb.btrace/x86-tailcall.c: Renamed into ...
3922 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3923 separate statements. Update test.
3924 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3925 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3926 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3927 * gdb.btrace/tailcall.exp: Choose test file based on target.
3928 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3930 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3932 * gdb.btrace/exception.exp: Increase BTS buffer size.
3934 2015-03-24 Pedro Alves <palves@redhat.com>
3936 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3938 2015-03-24 Pedro Alves <palves@redhat.com>
3940 * gdb.threads/schedlock.exp (test_step): No longer expect that
3941 "set scheduler-locking step" with "next" over a function call runs
3944 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3946 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3948 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3950 PR breakpoints/16466
3951 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3952 * gdb.mi/mi-pending.c (thread_func): New function.
3953 (int main): Add threading support required.
3954 * gdb.mi/mi-pending.exp: Add tests for this issue.
3955 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3956 (pendfunc2): Remove stdio dependency.
3957 * gdb.mi/mi-pendshr2.c: New file.
3959 2015-03-23 Keith Seitz <keiths@redhat.com>
3961 * gdb.linespec/keywords.c: New file.
3962 * gdb.linespec/keywords.exp: New file.
3964 2015-03-23 Keith Seitz <keiths@redhat.com>
3967 * gdb.dwarf2/staticvirtual.exp: New test.
3969 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3971 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3972 * README: Remove HP-UX and gdb.hp.
3974 * configure: Regenerate.
3975 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3976 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3977 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3978 gdb.hp/gdb.defects/Makefile.
3979 * gdb.hp/Makefile.in: File deleted.
3980 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3981 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3982 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3983 * gdb.hp/gdb.aCC/run.c: File deleted.
3984 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3985 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3986 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3987 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3988 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3989 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3990 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3991 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3992 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3993 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3994 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3995 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3996 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3997 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3998 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3999 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
4000 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
4001 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
4002 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
4003 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
4004 * gdb.hp/gdb.compat/Makefile.in: File deleted.
4005 * gdb.hp/gdb.compat/average.c: File deleted.
4006 * gdb.hp/gdb.compat/sum.c: File deleted.
4007 * gdb.hp/gdb.compat/xdb.c: File deleted.
4008 * gdb.hp/gdb.compat/xdb0.c: File deleted.
4009 * gdb.hp/gdb.compat/xdb0.h: File deleted.
4010 * gdb.hp/gdb.compat/xdb1.c: File deleted.
4011 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
4012 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
4013 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
4014 * gdb.hp/gdb.defects/Makefile.in: File deleted.
4015 * gdb.hp/gdb.defects/bs14602.c: File deleted.
4016 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
4017 * gdb.hp/gdb.defects/solib-d.c: File deleted.
4018 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
4019 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
4020 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
4021 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
4022 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
4023 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
4024 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
4025 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
4026 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
4027 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
4028 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
4029 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
4030 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
4031 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
4032 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
4033 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
4034 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
4035 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
4036 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
4037 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
4038 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
4039 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
4040 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
4041 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
4042 * gdb.hp/tools/odump: File deleted.
4044 2015-03-19 Pedro Alves <palves@redhat.com>
4046 * gdb.threads/continue-pending-status.exp (saw_thread_2)
4047 (saw_thread_3): New globals.
4048 (top level): Increment them when an event for the corresponding
4050 (no thread starvation): New test.
4052 2015-03-19 Pedro Alves <palves@redhat.com>
4054 * gdb.threads/continue-pending-status.c: New file.
4055 * gdb.threads/continue-pending-status.exp: New file.
4057 2015-03-18 Pedro Alves <palves@redhat.com>
4059 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
4060 Use gdb_is_target_remote instead of is_remote. Use
4061 gdb_test_multiple instead of gdb_expect. Exit early if
4062 gdb_test_multiple hits its internal matches. Tighten stepi tests
4063 expected output. Fail on exit with any signal, instead of just
4066 2015-03-18 Yao Qi <yao.qi@linaro.org>
4069 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
4071 * gdb.base/catch-syscall.exp: Don't skip it on
4072 aarch64*-*-linux* target. Remove elements in all_syscalls.
4073 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
4075 (setup_all_syscalls): New proc.
4077 2015-03-16 Yao Qi <yao.qi@linaro.org>
4079 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
4080 (top level): Skip tests if valid_addr_p returns false for
4083 2015-03-11 Andy Wingo <wingo@igalia.com>
4085 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
4087 2015-03-11 Yao Qi <yao.qi@linaro.org>
4089 * gdb.base/catch-syscall.exp: Fix typo in comments.
4091 2015-03-11 Yao Qi <yao.qi@linaro.org>
4093 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
4095 2015-03-09 Pedro Alves <palves@redhat.com>
4097 * dg-extract-results.py: Delete.
4099 2015-03-09 Pedro Alves <palves@redhat.com>
4101 Merge dg-extract-results.sh from GCC upstream (r218843).
4103 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
4104 * dg-extract-results.sh: Use --text with grep to avoid issues with
4105 binary files. Fall back to cat -v, if that doesn't work.
4107 2015-03-05 Pedro Alves <palves@redhat.com>
4109 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
4111 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
4113 * lib/mi-support.exp (mi_expect_interrupt): Accept
4114 alternative event for when in all-stop mode.
4116 2015-03-04 Pedro Alves <palves@redhat.com>
4118 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
4120 2015-03-04 Mark Kettenis <kettenis@gnu.org>
4122 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
4124 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4126 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
4127 regexps for GDB's current line display, accept a hex address
4128 preceding the line number.
4130 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
4132 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
4133 the 'arch1' variable for "s390*-linux*" targets.
4135 2015-03-04 Pedro Alves <palves@redhat.com>
4137 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
4138 (main): Pass missing retval argument to pthread_join call.
4140 2015-03-02 Pedro Alves <palves@redhat.com>
4142 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
4143 (top level): Call do_test with non-stop as well.
4145 2015-03-02 Pedro Alves <palves@redhat.com>
4147 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
4150 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4152 * gdb.arch/s390-vregs.exp: New test.
4153 * gdb.arch/s390-vregs.S: New file.
4155 2015-02-27 Pedro Alves <palves@redhat.com>
4157 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
4158 call to catch_command_errors.
4159 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
4160 catch_command_errors.
4162 2015-02-27 Pedro Alves <palves@redhat.com>
4164 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
4165 "true" for boolean result.
4166 * gdb.gdb/selftest.exp (test_with_self): Also accept full
4169 2015-02-27 Pedro Alves <palves@redhat.com>
4171 * lib/unbuffer_output.c: New file.
4172 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
4173 (main): Call gdb_unbuffer_output.
4175 2015-02-27 Yao Qi <yao.qi@linaro.org>
4177 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
4180 2015-02-26 Doug Evans <dje@google.com>
4182 * gdb.cp/class2.cc (Dbase, D): New classes.
4183 (main): New local delta.
4184 * gdb.cp/class2.exp: Test printing delta.
4185 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
4186 (dynbar): New global.
4187 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
4189 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4191 * gdb.compile/compile-ifunc.c: New file.
4192 * gdb.compile/compile-ifunc.exp: New file.
4194 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
4196 * gdb.base/structs.exp: Check for correct struct on finish.
4198 2015-02-26 Yao Qi <yao.qi@linaro.org>
4200 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
4203 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
4205 * gdb.arch/cordic.ko.bz2: New file.
4206 * gdb.arch/cordic.ko.debug.bz2: New file.
4207 * gdb.arch/ppc64-symtab-cordic.exp: New file.
4209 2015-02-25 Yao Qi <yao.qi@linaro.org>
4211 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
4212 aarch64*-*-* target.
4214 2015-02-23 Pedro Alves <palves@redhat.com>
4216 * lib/gdb.exp (delete_breakpoints): Rewrite using
4219 2015-02-23 Pedro Alves <palves@redhat.com>
4221 * gdb.base/info-os.c: Include stdlib.h.
4223 2015-02-22 Doug Evans <xdje42@gmail.com>
4226 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4227 is read after symbols have been re-read.
4228 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4229 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4231 2015-02-21 Doug Evans <dje@google.com>
4233 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4235 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4238 * gdb.arch/i386-biarch-core.core.bz2: New file.
4239 * gdb.arch/i386-biarch-core.exp: New file.
4241 2015-02-21 Pedro Alves <palves@redhat.com>
4243 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4246 2015-02-20 Pedro Alves <palves@redhat.com>
4248 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4251 2015-02-20 Pedro Alves <palves@redhat.com>
4253 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4255 2015-02-20 Pedro Alves <palves@redhat.com>
4257 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4258 clean_restart before gdb_target_supports_trace.
4260 2015-02-20 Pedro Alves <palves@redhat.com>
4263 * gdb.threads/clone-thread_db.c: New file.
4264 * gdb.threads/clone-thread_db.exp: New file.
4266 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4268 PR breakpoints/16812
4269 * gdb.base/catch-gdb-caused-signals.c: New file.
4270 * gdb.base/catch-gdb-caused-signals.exp: New file.
4272 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4274 * configure: Regenerated.
4275 * configure.ac: Use GDB_AC_TRANSFORM.
4276 * aclocal.m4: sinclude ../transform.m4.
4278 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4280 * lib/dtrace.exp: New file.
4281 * gdb.base/dtrace-probe.exp: Likewise.
4282 * gdb.base/dtrace-probe.d: Likewise.
4283 * gdb.base/dtrace-probe.c: Likewise.
4284 * lib/pdtrace.in: Likewise.
4285 * configure.ac: Output variables with the transformed names of
4286 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4287 * configure: Regenerated.
4289 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4291 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4292 expected message when trying to access $_probe_* convenience
4293 variables while not on a probe.
4295 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4297 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4299 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4301 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4302 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4304 2015-02-10 Doug Evans <xdje42@gmail.com>
4306 * lib/gdb.exp (gdb_load): Always return a result.
4308 2015-02-10 Pedro Alves <palves@redhat.com>
4310 * gdb.threads/signal-sigtrap.c: New file.
4311 * gdb.threads/signal-sigtrap.exp: New file.
4313 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4315 * gdb.trace/no-attach-trace.c: New file.
4316 * gdb.trace/no-attach-trace.exp: New file.
4318 2015-02-09 Mark Wielaard <mjw@redhat.com>
4320 * gdb.dwarf2/atomic.c: New file.
4321 * gdb.dwarf2/atomic-type.exp: Likewise.
4323 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4325 * gdb.btrace/buffer-size.exp: Update "info record" output.
4326 * gdb.btrace/delta.exp: Update "info record" output.
4327 * gdb.btrace/enable.exp: Update "info record" output.
4328 * gdb.btrace/finish.exp: Update "info record" output.
4329 * gdb.btrace/instruction_history.exp: Update "info record" output.
4330 * gdb.btrace/next.exp: Update "info record" output.
4331 * gdb.btrace/nexti.exp: Update "info record" output.
4332 * gdb.btrace/step.exp: Update "info record" output.
4333 * gdb.btrace/stepi.exp: Update "info record" output.
4334 * gdb.btrace/nohist.exp: Update "info record" output.
4336 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4338 * gdb.btrace/buffer-size: New.
4340 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4342 * gdb.btrace/delta.exp: Update "info record" output.
4343 * gdb.btrace/enable.exp: Update "info record" output.
4344 * gdb.btrace/finish.exp: Update "info record" output.
4345 * gdb.btrace/instruction_history.exp: Update "info record" output.
4346 * gdb.btrace/next.exp: Update "info record" output.
4347 * gdb.btrace/nexti.exp: Update "info record" output.
4348 * gdb.btrace/step.exp: Update "info record" output.
4349 * gdb.btrace/stepi.exp: Update "info record" output.
4350 * gdb.btrace/nohist.exp: Update "info record" output.
4352 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4355 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4357 2015-02-06 Pedro Alves <palves@redhat.com>
4359 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4361 (seconds_left, again): New globals.
4362 (main): Wait seconds_left in a 1-second sleep loop instead of
4363 sleeping 180 seconds. If 'again' is set, reset the seconds
4365 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4366 'again' in the inferior before detaching. Print the seconds left.
4367 (options): New global.
4368 (top level): Build program with -DTIMEOUT=$timeout.
4370 2015-02-06 Pedro Alves <palves@redhat.com>
4372 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4373 determine how many seconds to pass to 'alarm'.
4374 * gdb.base/gdb-sigterm.exp (top level): Build program with
4376 (do_test): Return success/failure indication. Add more verbose
4377 logging. Don't fail if 200 single steps are seen. Instead, fail
4378 when the test times out.
4379 (passes): New global.
4380 (top level): Break the testing loop if testing fails on any
4381 iteration. Use gdb_assert.
4383 2015-02-04 Don Breazeal <donb@codesourcery.com>
4385 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4386 and initialize them.
4387 (ipc_cleanup): New function.
4388 (main): Don't declare shmid, semid, and msqid. Add a call to
4389 atexit so that we call ipc_cleanup on exit.
4391 2015-02-04 Pedro Alves <palves@redhat.com>
4393 * boards/native-extended-gdbserver.exp: Remove any target variant
4394 specifications from the board name before clearing the isremote
4395 flag from board_info.
4397 2015-01-31 Doug Evans <xdje42@gmail.com>
4399 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4401 2015-01-31 Gary Benson <gbenson@redhat.com>
4403 * gdb.base/completion.exp: Disable completion limiting for
4404 existing tests. Add new tests to check completion limiting.
4405 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4407 2015-01-31 Doug Evans <xdje42@gmail.com>
4409 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4411 2015-01-31 Doug Evans <xdje42@gmail.com>
4413 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4414 entries. Duplicate file section script entries.
4415 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4416 inlined entries. Add test for safe-path rejection.
4417 * gdb.python/py-section-script.c: Add duplicate inlined section script
4418 entries. Duplicate file section script entries.
4419 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4420 inlined entries. Add test for safe-path rejection.
4422 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4424 * gdb.ada/disc_arr_bound: New testcase.
4426 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4428 * gdb.ada/mi_var_array: New testcase.
4430 2015-01-27 Doug Evans <dje@google.com>
4432 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4433 Add test for objfile.filename, objfile.username after objfile
4436 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4438 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4439 the second test to print the name attribute of value
4440 returned by the call to gdb.lookup_type, and adjust
4441 the expected output accordingly.
4443 2015-01-25 Mark Wielaard <mjw@redhat.com>
4445 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4446 * gdb.base/disp-step-fork.c: Include unistd.h.
4447 * gdb.base/siginfo-obj.c: Include stdio.h.
4448 * gdb.base/siginfo-thread.c: Likewise.
4449 * gdb.mi/non-stop.c: Include unistd.h.
4450 * gdb.mi/nsthrexec.c: Include stdio.h.
4451 * gdb.mi/pthreads.c: Include unistd.h.
4452 * gdb.modula2/unbounded1.c (main): Declare returns int.
4453 * gdb.reverse/consecutive-reverse.c: Likewise.
4454 * gdb.threads/create-fail.c: Include unistd.h.
4455 * gdb.threads/killed.c: Likewise.
4456 * gdb.threads/linux-dp.c: Likewise.
4457 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4458 * gdb.threads/non-ldr-exc-2.c: Likewise.
4459 * gdb.threads/non-ldr-exc-3.c: Likewise.
4460 * gdb.threads/non-ldr-exc-4.c: Likewise.
4461 * gdb.threads/pthreads.c: Include unistd.h.
4462 (main): Declare returns int.
4463 * gdb.threads/tls-main.c (foo): New declaration.
4464 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4466 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4468 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4469 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4471 2015-01-15 Mark Wielaard <mjw@redhat.com>
4473 * gdb.base/noreturn-return.c: New file.
4474 * gdb.base/noreturn-return.exp: New file.
4475 * gdb.base/noreturn-finish.c: New file.
4476 * gdb.base/noreturn-finish.exp: New file.
4478 2015-01-23 Pedro Alves <palves@redhat.com>
4480 * gdb.threads/continue-pending-after-query.c: New file.
4481 * gdb.threads/continue-pending-after-query.exp: New file.
4483 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4484 Simon Marchi <simon.marchi@ericsson.com>
4486 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4487 * gdb.base/valgrind-db-attach.exp: Same.
4488 * gdb.base/valgrind-infcall.exp: Same.
4489 * lib/mi-support.exp (default_mi_gdb_start): Same.
4490 * lib/prompt.exp (default_prompt_gdb_start): Same.
4491 * lib/gdb.exp (default_gdb_spawn): Same.
4492 (gdb_interact): New.
4495 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4497 * gdb.compile/compile.exp (pointer to jit function): New test.
4499 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4501 * lib/gdb.exp (supports_process_record): Return true for
4503 (supports_reverse): Likewise.
4505 2015-01-15 Don Breazeal <donb@codesourcery.com>
4507 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4508 instead of checking whether the target board is remote and
4509 use spawn_wait_for_attach instead of exec/sleep.
4510 * gdb.base/attach-twice.exp: Likewise.
4512 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4514 * gdb.ada/var_arr_attrs: New testcase.
4516 2015-01-14 Pedro Alves <palves@redhat.com>
4517 Joel Brobecker <brobecker@adacore.com>
4520 * gdb.base/bp-cmds-execution-x-script.c: New file.
4521 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4522 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4524 2015-01-14 Pedro Alves <palves@redhat.com>
4527 * gdb.base/batch-preserve-term-settings.c: New file.
4528 * gdb.base/batch-preserve-term-settings.exp: New file.
4530 2015-01-13 Doug Evans <dje@google.com>
4532 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4535 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4537 * Makefile.in (clean mostlyclean): Do not delete *.py.
4539 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4541 * gdb.python/py-lookup-type.exp: New file.
4543 2015-01-12 Pedro Alves <palves@redhat.com>
4545 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4546 restore GDBFLAGS before returning.
4548 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4550 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4551 is_amd64_regs_target and is_x86_like_target.
4553 2015-01-11 Doug Evans <xdje42@gmail.com>
4555 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4556 is given without an explicit form.
4557 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4559 * gdb.dwarf/corrupt.exp: Ditto.
4560 * gdb.dwarf2/enum-type.exp: Ditto.
4561 * gdb.trace/entry-values.exp: Ditto.
4562 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4564 2015-01-11 Doug Evans <xdje42@gmail.com>
4567 * gdb.base/maint.exp: Remove references to "maint demangle".
4568 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4569 Add tests for explicitly specifying language to demangle.
4570 * gdb.dlang/demangle.exp: Ditto.
4572 2015-01-09 Pedro Alves <palves@redhat.com>
4574 * gdb.threads/non-stop-fair-events.c: New file.
4575 * gdb.threads/non-stop-fair-events.exp: New file.
4577 2015-01-09 Pedro Alves <palves@redhat.com>
4579 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4580 the global scope. Set a breakpoint after all threads are started
4581 rather than stepping over two source lines. Expect the prompt.
4582 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4585 (main): Use threads_started_barrier to wait for all threads to
4586 start. Main thread no longer calls thread_function. Exit after
4588 (loop): New function.
4589 (thread_function): Wait on threads_started_barrier barrier. Call
4590 'loop' at each iteration.
4591 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4592 threads have started, instead of hardcoding number of "next"
4593 steps. Use an access watchpoint instead of a write watchpoint.
4595 2015-01-09 Pedro Alves <palves@redhat.com>
4597 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4598 (thread_func): Wait on barrier.
4599 (main): Wait for all threads to start before stopping GDB.
4600 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4602 (thread1_func, thread2_func): Wait on barrier.
4603 (main): Wait for all threads to start before stopping GDB.
4604 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4606 (thread1_func, thread2_func): Wait on barrier.
4607 (main): Wait for all threads to start before stopping GDB.
4609 2015-01-09 Pedro Alves <palves@redhat.com>
4611 * gdb.threads/attach-many-short-lived-threads.c: New file.
4612 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4614 2014-01-09 Pedro Alves <palves@redhat.com>
4616 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4617 instead of to thread 2.
4618 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4619 Add barrier around each pthread_create call instead of around all
4621 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4622 Set a break on thread_function and have the child threads hit it
4625 2015-01-09 Pedro Alves <palves@redhat.com>
4627 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4628 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4630 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4631 checking whether the target board is remote.
4632 * gdb.multi/multi-attach.exp: Likewise.
4633 * gdb.python/py-sync-interp.exp: Likewise.
4634 * gdb.server/ext-attach.exp: Likewise.
4635 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4636 tests that need to attach, instead of checking whether the target
4637 board is remote at the top of the file.
4639 2015-01-08 Yao Qi <yao@codesourcery.com>
4641 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4643 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4645 Fix testcase compilation.
4646 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4648 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4650 * gdb.python/py-type.exp: Add a couple test about empty
4651 array creation, and negative-length array creation.
4653 2015-01-02 Doug Evans <xdje42@gmail.com>
4655 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4657 2015-01-02 Doug Evans <dje@google.com>
4659 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4661 2014-12-29 Yao Qi <yao@codesourcery.com>
4663 * gdb.trace/entry-values.exp: Update comments. Rename variable
4664 bar_call_foo to returned_from_foo.
4666 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4669 * gdb.linespec/break-asm-file.c: New file.
4670 * gdb.linespec/break-asm-file.exp: New file.
4671 * gdb.linespec/break-asm-file0.s: New file.
4672 * gdb.linespec/break-asm-file1.s: New file.
4674 2014-12-18 Nigel Stephens <nigel@mips.com>
4675 Maciej W. Rozycki <macro@codesourcery.com>
4677 * gdb.base/float.exp: Handle the new output from "info float" on
4680 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4682 Fix MinGW compilation.
4683 * gdb.compile/compile-ops.exp: Update untested message if
4684 !skip_compile_feature_tests.
4685 * gdb.compile/compile-setjmp.exp: Likewise.
4686 * gdb.compile/compile-tls.exp: Likewise.
4687 * gdb.compile/compile.exp: Likewise.
4688 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4689 supported on this host".
4691 2014-12-16 Doug Evans <xdje42@gmail.com>
4693 * boards/stabs.exp: New file.
4695 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4697 * gdb.base/completion.exp: Adjust to format changes of "maint
4698 print user-registers".
4700 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4703 * gdb.arch/aarch64-fp.c: New file.
4704 * gdb.arch/aarch64-fp.exp: New file.
4706 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4708 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4709 r210637, r210913, r211666, r215400, r215817).
4711 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4712 * dg-extract-results.py: New file.
4713 * dg-extract-results.sh: Use it if the environment seems
4716 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4718 * dg-extract-results.py (parse_run): Handle warnings that
4719 are printed before a test harness is run.
4721 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4723 * dg-extract-results.py (Named): Remove __cmp__ method.
4724 (output_variation): Use a key to sort variation.harnesses.
4726 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4728 * dg-extract-results.py: For Python 3, force sys.stdout to
4729 handle surrogate escape sequences.
4730 (safe_open): New function.
4731 (output_segment, main): Use it.
4733 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4735 * dg-extract-results.py (Prog.result_re): Include options
4738 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4740 * dg-extract-results.py (output_variation): Always sort if
4743 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4745 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4746 as long as we get pagination notifications.
4748 2014-12-15 Jason Merrill <jason@redhat.com>
4750 * Makefile.in (check-gdb.%): Restore.
4751 * README: Mention it.
4753 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4755 * gdb.ada/str_uninit: New testcase.
4757 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4760 * gdb.base/vla-stub-define.c: New file.
4761 * gdb.base/vla-stub.c: New file.
4762 * gdb.base/vla-stub.exp: New file.
4764 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4765 Jan Kratochvil <jan.kratochvil@redhat.com>
4766 Tom Tromey <tromey@redhat.com>
4768 * configure.ac: Add gdb.compile/.
4769 * configure: Regenerate.
4770 * gdb.compile/Makefile.in: New file.
4771 * gdb.compile/compile-ops.exp: New file.
4772 * gdb.compile/compile-ops.c: New file.
4773 * gdb.compile/compile-tls.c: New file.
4774 * gdb.compile/compile-tls.exp: New file.
4775 * gdb.compile/compile-constvar.S: New file.
4776 * gdb.compile/compile-constvar.c: New file.
4777 * gdb.compile/compile-mod.c: New file.
4778 * gdb.compile/compile-nodebug.c: New file.
4779 * gdb.compile/compile-setjmp-mod.c: New file.
4780 * gdb.compile/compile-setjmp.c: New file.
4781 * gdb.compile/compile-setjmp.exp: New file.
4782 * gdb.compile/compile-shlib.c: New file.
4783 * gdb.compile/compile.c: New file.
4784 * gdb.compile/compile.exp: New file.
4785 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4787 2014-12-12 Tom Tromey <tromey@redhat.com>
4789 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4790 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4792 2014-12-12 Doug Evans <dje@google.com>
4794 * lib/gdb-python.exp (get_python_valueof): New function.
4795 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4797 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4799 * gdb.base/completion.exp: Add test for completion of "info
4802 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4804 * gdb.base/func-ptrs.c: New file.
4805 * gdb.base/func-ptrs.exp: New file.
4807 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4809 PR breakpoints/17012
4810 * gdb.base/dprintf-detach.c: New file.
4811 * gdb.base/dprintf-detach.exp: New file.
4813 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4815 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4816 * lib/gdb.exp (target_is_gdbserver): New procedure.
4818 2014-12-08 Doug Evans <dje@google.com>
4820 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4822 2014-12-05 Yao Qi <yao@codesourcery.com>
4824 * gdb.guile/scm-error.exp: Remove the third argument to
4825 gdb_remote_download.
4826 * gdb.guile/scm-frame-args.exp: Likewise.
4827 * gdb.guile/scm-section-script.exp: Likewise.
4829 2014-12-05 Yao Qi <yao@codesourcery.com>
4831 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4833 2014-12-04 Doug Evans <dje@google.com>
4835 * gdb.python/py-objfile.exp: Add tests for
4836 objfile.add_separate_debug_file.
4838 2014-12-04 Doug Evans <dje@google.com>
4840 * lib/gdb.exp (get_build_id): New function.
4841 (build_id_debug_filename_get): Rewrite to use it.
4842 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4844 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4846 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4847 `method(long)', not just 0x0.
4848 * gdb.cp/nsalias.exp: Align code labels to 4.
4849 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4850 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4851 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4852 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4853 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4854 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4856 2014-12-02 Doug Evans <dje@google.com>
4859 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4860 * gdb.cp/anon-ns2.cc: ... here. New file.
4861 * gdb.cp/anon-ns.exp: Update.
4863 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4865 * gdb.python/py-events.py (inferior_call_handler): New.
4866 (register_changed_handler, memory_changed_handler): New.
4867 (test_events.invoke): Register new handlers.
4868 * gdb.python/py-events.exp: Add tests for inferior call,
4869 memory_changed and register_changed events.
4871 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4873 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4874 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4875 if the linker doesn't understand this.
4877 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4879 * gdb.python/python.exp: Change expected reply to help().
4881 2014-12-01 Yao Qi <yao@codesourcery.com>
4883 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4884 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4885 * configure: Re-generated.
4887 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4889 * gdb.cp/chained-calls.cc: New file.
4890 * gdb.cp/chained-calls.exp: New file.
4891 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4893 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4895 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4896 * gdb.dwarf2/symtab-producer.exp: Same.
4897 * gdb.gdb/python-interrupts.exp: Same.
4898 * gdb.gdb/python-selftest.exp: Same.
4899 * gdb.python/py-linetable.exp: Same.
4900 * gdb.python/py-type.exp: Same.
4901 * gdb.python/py-value-cc.exp: Same.
4902 * gdb.python/py-value.exp: Same.
4904 2014-11-28 Yao Qi <yao@codesourcery.com>
4906 * gdb.base/break-probes.exp: Match library name prefixed with
4909 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4911 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4912 test expected output. Add parentheses for the call to print.
4913 Remove L suffix from integers.
4915 2014-11-26 Doug Evans <dje@google.com>
4917 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4919 2014-11-22 Yao Qi <yao@codesourcery.com>
4921 * gdb.trace/entry-values.c: Remove asms.
4922 (foo): Add foo_label.
4923 (bar): Add bar_label.
4924 * gdb.trace/entry-values.exp: Remove code computing foo's
4925 length and bar's length.
4926 (Dwarf::assemble): Invoke function_range for bar and use
4927 MACRO_AT_func for foo.
4929 2014-11-22 Yao Qi <yao@codesourcery.com>
4931 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4932 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4933 Use .Lgcc43_procstart instead of gcc43.
4935 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4937 * gdb.ada/n_arr_bound: New testcase.
4939 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4941 PR breakpoints/10737
4942 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4943 test_catch_syscall_multi_arch.
4944 (test_catch_syscall_multi_arch): New function.
4946 2014-11-20 Doug Evans <xdje42@gmail.com>
4948 * gdb.base/maint.exp: Update expected output.
4950 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4952 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4953 4-byte instruction on S390.
4955 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4957 * gdb.ada/arr_arr: New testcase.
4959 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4961 * gdb.ada/pkd_arr_elem: New Testcase.
4963 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4965 * gdb.reverse/break-precsave: Expect completion message for
4967 * gdb.reverse/consecutive-precsave.exp: Likewise.
4968 * gdb.reverse/finish-precsave.exp: Likewise.
4969 * gdb.reverse/i386-precsave.exp: Likewise.
4970 * gdb.reverse/machinestate-precsave.exp: Likewise.
4971 * gdb.reverse/sigall-precsave.exp: Likewise.
4972 * gdb.reverse/solib-precsave.exp: Likewise.
4973 * gdb.reverse/step-precsave.exp: Likewise.
4974 * gdb.reverse/until-precsave.exp: Likewise.
4975 * gdb.reverse/watch-precsave.exp: Likewise.
4977 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4979 * gdb.base/bp-permanent.c: Include unistd.h.
4980 * gdb.python/py-framefilter-mi.c (main): Add return type.
4981 * gdb.python/py-framefilter.c (main): Likewise.
4982 * gdb.trace/actions-changed.c (main): Likewise.
4984 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4986 * gdb.mi/until.c: Add eye-catchers.
4987 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4990 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4992 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4993 function header variants in break1.c.
4994 * gdb.base/ena-dis-br.exp: Likewise.
4995 * gdb.base/hbreak2.exp: Likewise.
4996 * gdb.reverse/until-precsave.exp: Drop references to removed
4997 non-prototype function header variants in ur1.c.
4998 * gdb.reverse/until-reverse.exp: Likewise.
5000 2014-11-17 Petr Machata <pmachata@redhat.com>
5002 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
5003 ${_cu_offset_size} bytes abbrev offset.
5005 2014-11-15 Doug Evans <xdje42@gmail.com>
5008 * gdb.base/line-symtabs.exp: New file.
5009 * gdb.base/line-symtabs.c: New file.
5010 * gdb.base/line-symtabs.h: New file.
5012 2014-11-14 Yao Qi <yao@codesourcery.com>
5014 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
5015 (func): Add label func_label.
5016 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
5017 Replace low_pc and high_pc with MACRO_AT_range.
5018 Replace name, low_pc and high_pc with MACRO_AT_func.
5020 2014-11-14 Yao Qi <yao@codesourcery.com>
5022 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
5023 Replace name, low_pc and high_pc with MACRO_AT_func.
5025 2014-11-14 Yao Qi <yao@codesourcery.com>
5027 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
5028 produce debug information.
5029 * gdb.dwarf2/implptr-optimized-out.S: Removed.
5031 2014-11-14 Yao Qi <yao@codesourcery.com>
5033 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
5034 object and get function length.
5035 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
5037 (top-level): Replace gdb_compile and clean_restart with
5038 prepare_for_testing.
5039 * gdb.dwarf2/main.c (main): Add label main_label.
5041 2014-11-14 Yao Qi <yao@codesourcery.com>
5043 * lib/dwarf.exp (function_range): New procedure.
5044 (Dwarf::_handle_macro_at_func): New procedure.
5045 (Dwarf::_handle_macro_at_range): New procedure.
5046 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
5048 2014-11-14 Yao Qi <yao@codesourcery.com>
5050 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
5051 (_handle_attribute): New procedure.
5053 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5055 * gdb.ada/cond_lang/foo.c (callme): Add return type.
5056 * gdb.base/call-sc.c (zed): Likewise.
5057 * gdb.base/checkpoint.c (main): Likewise.
5058 * gdb.base/dump.c (main): Likewise.
5059 * gdb.base/gcore.c (main): Likewise.
5060 * gdb.base/huge.c (main): Likewise.
5061 * gdb.base/multi-forks.c (main): Likewise.
5062 * gdb.base/pr10179-a.c (main): Likewise.
5063 * gdb.base/savedregs.c (main): Likewise.
5064 * gdb.base/sigaltstack.c (main): Likewise.
5065 * gdb.base/siginfo.c (main): Likewise.
5066 * gdb.base/structs.c (zed): Likewise.
5067 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
5068 * gdb.mi/mi-syn-frame.c (main): Likewise.
5069 * gdb.mi/until.c (foo, main): Likewise.
5070 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
5071 * gdb.base/solib-weak.c (foo): Declare.
5072 * gdb.base/attach-twice.c: Include stdio.h.
5073 * gdb.base/weaklib1.c: Likewise.
5074 * gdb.base/weaklib2.c: Likewise.
5075 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
5076 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
5078 * gdb.base/attach-pie-misread.c: Include stdlib.h.
5079 * gdb.mi/mi-exit-code.c: Likewise.
5080 * gdb.base/break-interp-lib.c: Include string.h.
5081 * gdb.base/coremaker.c: Likewise.
5082 * gdb.base/testenv.c: Likewise.
5083 * gdb.python/py-finish-breakpoint.c: Likewise.
5084 * gdb.base/inferior-died.c: Include sys/wait.h.
5085 * gdb.base/fileio.c: Include time.h.
5086 * gdb.base/async-shell.c: Include unistd.h.
5087 * gdb.base/dprintf-non-stop.c: Likewise.
5088 * gdb.base/info-os.c: Likewise.
5089 * gdb.mi/mi-console.c: Likewise.
5090 * gdb.mi/watch-nonstop.c: Likewise.
5091 * gdb.python/py-events.c: Likewise.
5092 * gdb.base/async.c (baz): Move up before its invocation.
5093 * gdb.base/code_elim2.c (my_global_func): Likewise.
5094 * gdb.base/skip-solib-lib.c (multiply): Likewise.
5095 * gdb.base/advance.c (func2): Likewise.
5097 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5099 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
5101 * gdb.base/annota3.c: Likewise.
5102 * gdb.base/async.c: Likewise.
5103 * gdb.base/average.c: Likewise.
5104 * gdb.base/call-ar-st.c: Likewise.
5105 * gdb.base/call-rt-st.c: Likewise.
5106 * gdb.base/call-sc.c: Likewise.
5107 * gdb.base/call-strs.c: Likewise.
5108 * gdb.base/ending-run.c: Likewise.
5109 * gdb.base/execd-prog.c: Likewise.
5110 * gdb.base/exprs.c: Likewise.
5111 * gdb.base/foll-exec.c: Likewise.
5112 * gdb.base/foll-fork.c: Likewise.
5113 * gdb.base/foll-vfork.c: Likewise.
5114 * gdb.base/funcargs.c: Likewise.
5115 * gdb.base/gcore.c: Likewise.
5116 * gdb.base/jump.c: Likewise.
5117 * gdb.base/langs0.c: Likewise.
5118 * gdb.base/langs1.c: Likewise.
5119 * gdb.base/langs2.c: Likewise.
5120 * gdb.base/mips_pro.c: Likewise.
5121 * gdb.base/nodebug.c: Likewise.
5122 * gdb.base/opaque0.c: Likewise.
5123 * gdb.base/opaque1.c: Likewise.
5124 * gdb.base/recurse.c: Likewise.
5125 * gdb.base/run.c: Likewise.
5126 * gdb.base/scope0.c: Likewise.
5127 * gdb.base/scope1.c: Likewise.
5128 * gdb.base/setshow.c: Likewise.
5129 * gdb.base/setvar.c: Likewise.
5130 * gdb.base/shmain.c: Likewise.
5131 * gdb.base/shr1.c: Likewise.
5132 * gdb.base/shr2.c: Likewise.
5133 * gdb.base/sigall.c: Likewise.
5134 * gdb.base/signals.c: Likewise.
5135 * gdb.base/so-indr-cl.c: Likewise.
5136 * gdb.base/solib2.c: Likewise.
5137 * gdb.base/structs.c: Likewise.
5138 * gdb.base/sum.c: Likewise.
5139 * gdb.base/vforked-prog.c: Likewise.
5140 * gdb.base/watchpoint.c: Likewise.
5141 * gdb.reverse/shr2.c: Likewise.
5142 * gdb.reverse/until-reverse.c: Likewise.
5143 * gdb.reverse/ur1.c: Likewise.
5144 * gdb.reverse/watch-reverse.c: Likewise.
5146 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5148 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
5150 * gdb.base/sepdebug.exp: Drop references to removed code.
5152 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5154 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
5155 variant. Preserve original line numbering.
5156 * gdb.base/list1.c: Likewise.
5158 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5160 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
5162 * gdb.base/break1.c: Likewise.
5163 * gdb.base/break.exp: Drop references to removed code.
5165 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5167 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
5170 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5172 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
5174 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5176 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
5177 logic into perform_all_tests() and invoke it with and without
5178 function header prototypes.
5179 (do_function_calls): Remove conditional XFAIL for PR 5318.
5180 (rerun_and_prepare): Remove duplicate code.
5181 (perform_all_tests): New. Main logic moved here.
5183 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5185 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
5186 code guarded by #ifdef NO_PROTOTYPES.
5187 (t_double_many_args): Likewise.
5188 (DEF_FUNC_MANY_ARGS_1): Likewise.
5189 (DEF_FUNC_VALUES_1): Likewise.
5190 (t_structs_ldc): Renamed from t_structs_fc in conditional code
5191 guarded by #ifdef PROTOTYPES.
5193 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5195 * gdb.mi/mi-console.c: Add eye-catcher.
5196 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
5197 instead of literal line number.
5199 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5201 * gdb.base/shr2.c: Add eye-catcher.
5202 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
5205 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5207 * gdb.base/jump.c: Add eye-catchers.
5208 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
5211 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5213 * gdb.base/execd-prog.c: Add eye-catchers.
5214 * gdb.base/foll-exec.c: Likewise.
5215 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
5218 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5220 * gdb.base/ending-run.c: Add eye-catchers.
5221 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5222 literal line numbers.
5224 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5226 * gdb.base/call-rt-st.c: Add eye-catchers.
5227 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5228 literal line numbers.
5230 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5232 * gdb.base/call-ar-st.c: Add eye-catchers.
5233 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5234 literal line numbers.
5236 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5238 * gdb.base/average.c: Add eye-catchers.
5239 * gdb.base/sum.c: Likewise.
5240 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5241 regexps dynamically.
5243 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5245 * gdb.base/solib1.c: Add eye-catchers.
5246 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5247 literal line numbers.
5249 2014-11-12 Pedro Alves <palves@redhat.com>
5251 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5254 2014-11-12 Pedro Alves <palves@redhat.com>
5256 * gdb.arch/i386-bp_permanent.c: New file.
5257 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5258 (srcfile): Set to i386-bp_permanent.c.
5259 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5260 that stepi does not execute the 'leave' instruction, instead of
5261 testing it does execute.
5262 * gdb.base/bp-permanent.c: New file.
5263 * gdb.base/bp-permanent.exp: New file.
5265 2014-11-10 Doug Evans <xdje42@gmail.com>
5268 * gdb.base/symtab-search-order.exp: New file.
5269 * gdb.base/symtab-search-order.c: New file.
5270 * gdb.base/symtab-search-order-1.c: New file.
5271 * gdb.base/symtab-search-order-shlib-1.c: New file.
5273 2014-11-07 Pedro Alves <palves@redhat.com>
5276 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5279 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5282 * gdb.cp/pr17494.cc: New file.
5283 * gdb.cp/pr17494.exp: New file.
5285 2014-11-02 Yao Qi <yao@codesourcery.com>
5287 * gdb.python/python.exp: Get working directory and match the
5288 output of "set extended-prompt \\w " with it.
5290 2014-10-30 Doug Evans <dje@google.com>
5292 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5294 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5297 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5299 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5300 * gdb.base/realname-expand.exp: Likewise.
5301 * gdb.linespec/macro-relative.exp: Likewise.
5303 2014-10-29 Pedro Alves <palves@redhat.com>
5306 * gdb.threads/schedlock.c (some_function): New function.
5307 (call_function): New global.
5308 (MAYBE_CALL_SOME_FUNCTION): New macro.
5309 (thread_function): Call it.
5310 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5311 and use it instead of a global counter. Adjust all callers.
5312 (get_current_thread): Use "find current thread" for test message
5313 here rather than having all callers pass down the same string.
5314 (goto_loop): New procedure, factored out from ...
5315 (my_continue): ... this.
5316 (step_ten_loops): Change parameter from test message to command to
5318 (list_count): Delete global.
5319 (check_result): New procedure, factored out from duplicate top
5321 (continue tests): Wrap in with_test_prefix.
5322 (test_step): New procedure, factored out from duplicate top level
5324 (top level): Test "step" in combination with all scheduler-locking
5325 modes. Test "next" in combination with all scheduler-locking
5326 modes, and in combination with stepping over a function call or
5328 * gdb.threads/next-bp-other-thread.c: New file.
5329 * gdb.threads/next-bp-other-thread.exp: New file.
5331 2014-10-29 Pedro Alves <palves@redhat.com>
5334 * gdb.python/python.exp: Test a multi-line command that spawns
5336 * gdb.base/multi-line-starts-subshell.exp: New file.
5338 2014-10-29 Yao Qi <yao@codesourcery.com>
5340 * gdb.base/fileio.exp: Make directories on host.
5342 2014-10-29 Yao Qi <yao@codesourcery.com>
5344 * gdb.base/fileio.c (test_write): Close the file.
5346 2014-10-28 Pedro Alves <palves@redhat.com>
5349 * gdb.base/sigstep.c (no_handler): New global.
5350 (main): If 'no_handler is true, set the signal handlers to
5352 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5353 with_sw_watch and no_handler parameters. Handle them.
5354 (top level) <stepping over handler when stopped at a breakpoint
5355 test>: Add a test axis for testing with a software watchpoint, and
5356 another for testing with the signal handler set to SIG_IGN.
5357 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5358 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5360 2014-10-28 Pedro Alves <palves@redhat.com>
5363 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5364 * gdb.base/sigstep.exp (other_handler_location): New global.
5365 (advance): Support stepping into the signal handler, and running
5366 commands while in the handler.
5367 (in_handler_map): New global.
5368 (top level): In the advance test, add combinations for getting
5369 into the handler with stepping commands, and for running commands
5370 in the handler. Add comment descripting the advancei tests.
5372 2014-10-28 Pedro Alves <palves@redhat.com>
5374 * gdb.base/sigstep.exp: Use build_executable instead of
5375 prepare_for_testing.
5376 (top level): Move code that starts GDB, runs to main and creates a
5378 (restart): ... this new procedure.
5379 (top level): Move backtrace from signal handler test to ...
5380 (validate_backtrace): ... this new procedure.
5381 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5382 with_test_prefix. Always restart GDB.
5383 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5384 with_test_prefix. Always restart GDB. No need to delete
5385 breakpoints after the test.
5386 (test_skip_handler): Remove prefix parameter.
5387 (skip_over_handler, breakpoint_to_handler)
5388 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5389 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5390 restart GDB. No need to delete breakpoints after the test.
5391 (top level): Use foreach to call the test procedures with
5394 2014-10-28 Pedro Alves <palves@redhat.com>
5396 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5397 instead of GNATS numbers.
5398 * gdb.base/sigbpt.exp: Likewise.
5399 * gdb.base/siginfo.exp: Likewise.
5400 * gdb.base/sigstep.exp: Likewise.
5402 2014-10-27 Pedro Alves <palves@redhat.com>
5404 * gdb.base/sigstep.c (dummy): New global.
5405 (main): Issue a couple writes to the new global.
5406 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5408 (skip_over_handler): Use test_skip_handler.
5409 (top level): Call skip_over_handler for stepi and nexti too.
5410 (breakpoint_over_handler): Use test_skip_handler.
5411 (top level): Call breakpoint_over_handler for stepi and nexti too.
5413 2014-10-27 Yao Qi <yao@codesourcery.com>
5415 * gdb.trace/tfile.c (adjust_function_address)
5416 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5417 function descriptor.
5419 2014-10-24 Don Breazeal <donb@codesourcery.com>
5421 * gdb.base/foll-fork.exp (test_follow_fork,
5422 catch_fork_child_follow): Check for updated fork messages emitted
5424 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5425 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5426 vfork_and_exec_child_follow_through_step): Check for updated vfork
5427 messages emitted from infrun.c.
5429 2014-10-24 Pedro Alves <palves@redhat.com>
5431 * gdb.base/corefile.exp: Remove references to ultrix.
5432 * gdb.base/interrupt.exp: Likewise.
5433 * gdb.base/whatis.exp: Likewise.
5434 * gdb.gdb/selftest.exp: Likewise.
5435 * gdb.threads/manythreads.exp: Likewise.
5436 * gdb.threads/print-threads.exp: Likewise.
5437 * gdb.threads/pthreads.exp:: Likewise.
5438 * gdb.threads/schedlock.exp: Likewise.
5440 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5442 * gdb.cp/non-trivial-retval.cc: Add a test case.
5443 * gdb.cp/non-trivial-retval.exp: Add a test.
5445 2014-10-20 Yao Qi <yao@codesourcery.com>
5447 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5448 * gdb.python/py-objfile-script-gdb.py: New file.
5449 * gdb.python/py-objfile-script.exp: Update reference to
5450 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5451 of remote_download. Remove the dest file.
5453 2014-10-20 Yao Qi <yao@codesourcery.com>
5455 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5456 * gdb.base/step-line.exp: Likewise.
5457 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5458 * gdb.dwarf2/dw2-basic.exp: Likewise.
5459 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5460 * gdb.dwarf2/dw2-filename.exp: Likewise.
5461 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5462 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5463 * gdb.dwarf2/dw2-producer.exp: Likewise.
5464 * gdb.dwarf2/mac-fileno.exp: Likewise.
5465 * gdb.python/py-frame-args.exp: Likewise.
5466 * gdb.python/py-framefilter.exp: Likewise.
5467 * gdb.python/py-mi.exp: Likewise.
5468 * gdb.python/py-objfile-script.exp: Likewise
5469 * gdb.python/py-pp-integral.exp: Likewise.
5470 * gdb.python/py-pp-re-notag.exp: Likewise.
5471 * gdb.python/py-prettyprint.exp: Likewise.
5472 * gdb.python/py-section-script.exp: Likewise.
5473 * gdb.python/py-typeprint.exp: Likewise.
5474 * gdb.python/py-xmethods.exp: Likewise.
5475 * gdb.stabs/weird.exp: Likewise.
5476 * gdb.xml/tdesc-regs.exp: Likewise.
5478 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5480 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5481 (out_cu): Use addr_len for the size of addresses.
5482 (out_line): Likewise. Size DW_LNE_set_address instruction
5483 according to addr_len.
5484 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5485 (FUNC): Add START_INSNS to definition.
5487 2014-10-18 Yao Qi <yao@codesourcery.com>
5489 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5490 gdb_has_argv0 return true.
5491 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5492 check [target_info exists noargs], check [gdb_has_argv0]
5494 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5495 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5498 2014-10-17 Doug Evans <dje@google.com>
5500 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5502 * gdb.python/py-events.py: Add clear_objfiles event.
5504 2014-10-17 Doug Evans <dje@google.com>
5506 * gdb.python/py-objfile.exp: Test progspace attribute.
5508 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5510 * gdb.guile/scm-breakpoint.exp: Do not assume any
5511 directory separators when matching source file paths.
5512 * gdb.python/py-breakpoint.exp: Likewise.
5513 * gdb.reverse/break-precsave.exp: Likewise.
5514 * gdb.reverse/break-reverse.exp: Likewise.
5515 * gdb.reverse/consecutive-precsave.exp: Likewise.
5516 * gdb.reverse/finish-precsave.exp: Likewise.
5517 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5518 * gdb.reverse/finish-reverse.exp: Likewise.
5519 * gdb.reverse/i386-precsave.exp: Likewise.
5520 * gdb.reverse/i387-env-reverse.exp: Likewise.
5521 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5522 * gdb.reverse/machinestate-precsave.exp: Likewise.
5523 * gdb.reverse/machinestate.exp: Likewise.
5524 * gdb.reverse/sigall-precsave.exp: Likewise.
5525 * gdb.reverse/solib-precsave.exp: Likewise.
5526 * gdb.reverse/step-precsave.exp: Likewise.
5527 * gdb.reverse/until-precsave.exp: Likewise.
5528 * gdb.reverse/watch-precsave.exp: Likewise.
5529 * gdb.reverse/watch-reverse.exp: Likewise.
5531 2014-10-17 Yao Qi <yao@codesourcery.com>
5533 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5534 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5536 2014-10-17 Pedro Alves <palves@redhat.com>
5539 * gdb.base/bg-execution-repeat.c: New file.
5540 * gdb.base/bg-execution-repeat.exp: New file.
5542 2014-10-17 Pedro Alves <palves@redhat.com>
5545 * gdb.base/continue-all-already-running.c: New file.
5546 * gdb.base/continue-all-already-running.exp: New file.
5548 2014-10-17 Pedro Alves <palves@redhat.com>
5551 * gdb.base/annota-input-while-running.c: New file.
5552 * gdb.base/annota-input-while-running.exp: New file.
5554 2014-10-17 Pedro Alves <palves@redhat.com>
5556 * gdb.base/callfuncs.exp: emove references to osf.
5557 * gdb.base/sigall.exp: Likewise.
5558 * gdb.gdb/selftest.exp: Likewise.
5559 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5560 * gdb.mi/non-stop.c: Likewise.
5561 * gdb.mi/pthreads.c: Likewise.
5562 * gdb.reverse/sigall-precsave.exp: Likewise.
5563 * gdb.reverse/sigall-reverse.exp: Likewise.
5564 * gdb.threads/pthreads.c: Likewise.
5565 * gdb.threads/pthreads.exp: Likewise.
5567 2014-10-17 Yao Qi <yao@codesourcery.com>
5569 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5570 check 'target_info exists noargs'.
5571 (test_command_prompt_position): Likewise.
5572 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5574 (progvar_simple_while_test): Likewise.
5575 (progvar_complex_if_while_test): Likewise.
5576 (if_while_breakpoint_command_test): Likewise.
5577 (infrun_breakpoint_command_test): Likewise.
5578 (breakpoint_command_test): Likewise.
5579 (watchpoint_command_test): Likewise.
5580 (bp_deleted_in_command_test): Likewise.
5581 (temporary_breakpoint_commands): Likewise.
5583 2014-10-16 Yao Qi <yao@codesourcery.com>
5585 * gdb.base/remotetimeout.exp: Remove noargs checking.
5587 2014-10-15 Pedro Alves <palves@redhat.com>
5590 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5591 * gdb.base/breakpoint-in-ro-region.exp
5592 (probe_target_hardware_step): New procedure.
5593 (top level): Probe hardware stepping and hardware breakpoint
5594 support. Test stepping through a read-only region, with both
5595 "breakpoint auto-hw" on and off and both "always-inserted" on and
5598 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5600 * gdb.dlang/demangle.exp: Update for demangling changes.
5602 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5604 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5605 * gdb.cp/non-trivial-retval.exp: Add new tests.
5607 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5611 * gdb.cp/non-trivial-retval.cc: New file.
5612 * gdb.cp/non-trivial-retval.exp: New file.
5614 2014-10-15 Yao Qi <yao@codesourcery.com>
5616 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5619 2014-10-15 Yao Qi <yao@codesourcery.com>
5621 * gdb.python/py-symbol.exp: Match file base name if host is
5622 remote, otherwise match file name with dir name.
5623 * gdb.python/py-symtab.exp: Likewise.
5624 * gdb.python/python.exp: Likewise.
5626 2014-10-15 Yao Qi <yao@codesourcery.com>
5628 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5630 * gdb.python/py-symtab.exp: Likewise.
5631 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5634 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5636 * gdb.ada/addr_arith: New testcase.
5638 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5640 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5641 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5642 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5643 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5645 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5647 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5648 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5649 * gdb.arch/stap-eval-lang-ada.exp: New file.
5651 2014-10-14 Yao Qi <yao@codesourcery.com>
5653 * gdb.mi/mi-var-child.c (nothing1): New function.
5654 (nothing2): New function.
5655 (do_children_tests): Set function pointers by nothing1 and
5657 * gdb.mi/mi-var-child.exp: Step over new added statements.
5658 Update test to match the new output.
5659 * gdb.mi/var-cmd.c (nothing1): New function.
5660 (nothing2): New function.
5661 (do_children_tests): Set function pointers by nothing1 and
5663 * gdb.mi/mi-var-display.exp: Update test to match output.
5664 Step to the line specified by $line_dct_nothing.
5665 Increase the number of lines to step.
5667 2014-10-14 Yao Qi <yao@codesourcery.com>
5669 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5671 * gdb.mi/mi2-var-child.exp: Likewise.
5673 2014-10-13 Doug Evans <dje@google.com>
5675 * gdb.python/py-objfile.exp: Change name of file name test.
5677 2014-10-13 Doug Evans <dje@google.com>
5679 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5680 from the start of the CU.
5682 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5683 Yao Qi <yao@codesourcery.com>
5685 Fix "save breakpoints" for "catch" command.
5686 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5687 Remove -nonewline. Match also the added "main" line.
5689 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5691 Fix "save breakpoints" for "disable $bpnum" command.
5692 * gdb.base/save-bp.c (main): Add label.
5693 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5695 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5697 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5699 2014-10-11 Yao Qi <yao@codesourcery.com>
5701 * gdb.server/server-kill.exp: Execute command
5702 "set remote trace-status-packet on" before "tstatus".
5704 2014-10-11 Yao Qi <yao@codesourcery.com>
5706 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5707 (main): Call getppid.
5708 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5709 and continue to it. Read variable "server_pid".
5711 2014-10-11 Yao Qi <yao@codesourcery.com>
5713 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5715 2014-10-11 Yao Qi <yao@codesourcery.com>
5717 * gdb.threads/thread-find.exp: Don't execute command
5719 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5720 * gdb.threads/linux-dp.exp: Don't check the condition
5721 $threads_created equals to zero.
5723 2014-10-10 Pedro Alves <palves@redhat.com>
5725 * gdb.base/bigcore.exp: Remove references to IRIX.
5726 * gdb.base/funcargs.exp: Likewise.
5727 * gdb.base/interrupt.exp: Likewise.
5728 * gdb.base/mips_pro.exp: Likewise.
5729 * gdb.base/nodebug.exp: Likewise.
5730 * gdb.base/setvar.exp: Likewise.
5731 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5733 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5734 Pedro Alves <palves@redhat.com>
5737 * gdb.base/vdso-warning.c: New file.
5738 * gdb.base/vdso-warning.exp: New file.
5740 2014-10-02 Doug Evans <dje@google.com>
5742 * gdb.base/structs.c (main): Don't run forever.
5744 2014-10-02 Pedro Alves <palves@redhat.com>
5746 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5747 (top level) <stop threads 1, stop threads 2>: Use it.
5749 2014-10-02 Pedro Alves <palves@redhat.com>
5751 * gdb.threads/break-while-running.exp (test): Add new
5752 'update_thread_list' argument. Skip "info threads" if false.
5753 (top level): Add new 'update_thread_list' axis.
5755 2014-10-02 Pedro Alves <palves@redhat.com>
5757 PR breakpoints/17431
5758 * gdb.base/execl-update-breakpoints.c: New file.
5759 * gdb.base/execl-update-breakpoints.exp: New file.
5761 2014-10-01 Pedro Alves <palves@redhat.com>
5763 * gdb.base/breakpoint-in-ro-region.c: New file.
5764 * gdb.base/breakpoint-in-ro-region.exp: New file.
5766 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5768 * gdb.mi/mi-exit-code.exp: New file.
5769 * gdb.mi/mi-exit-code.c: New file.
5771 2014-09-30 Yao Qi <yao@codesourcery.com>
5773 * lib/prelink-support.exp (build_executable_own_libs): Error if
5774 the target isn't native.
5776 2014-09-30 Yao Qi <yao@codesourcery.com>
5778 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5781 2014-09-22 Pedro Alves <palves@redhat.com>
5783 * gdb.threads/break-while-running.exp: New file.
5784 * gdb.threads/break-while-running.c: New file.
5786 2014-09-19 Yao Qi <yao@codesourcery.com>
5788 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5789 Invoke test. Restart GDB with --readnow and invoke test again.
5791 2014-09-19 Yao Qi <yao@codesourcery.com>
5793 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5794 proc set_breakpoint_on_gcd_function. Invoke
5795 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5796 invoke set_breakpoint_on_gcd_function again.
5798 2014-09-18 Doug Evans <dje@google.com>
5800 * gdb.dwarf2/symtab-producer.exp: New file.
5802 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5804 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5805 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5806 * gdb.base/global-var-nested-by-dso.c: Likewise.
5807 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5809 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5810 Pedro Alves <palves@redhat.com>
5812 * gdb.base/watch-bitfields.exp: Pass string other than test file
5813 name to prepare_for_testing.
5814 (watch): New procedure.
5815 (expect_watchpoint): Use with_test_prefix.
5816 (top level): Factor out tests to ...
5817 (test_watch_location, test_regular_watch): ... these new
5818 procedures, and use with_test_prefix and gdb_continue_to_end.
5820 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5822 PR breakpoints/12526
5823 * gdb.base/watch-bitfields.exp: New file.
5824 * gdb.base/watch-bitfields.c: New file.
5826 2014-09-16 Pedro Alves <palves@redhat.com>
5828 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5829 software and hardware addresses, not software address against
5832 2014-09-16 Pedro Alves <palves@redhat.com>
5834 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5835 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5837 2014-09-16 Pedro Alves <palves@redhat.com>
5839 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5841 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5842 "*-*-vxworks*" throughout.
5843 * gdb.base/break.exp: Likewise.
5844 * gdb.base/default.exp: Likewise.
5845 * gdb.base/scope.exp: Likewise.
5846 * gdb.base/sepdebug.exp: Likewise.
5847 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5849 * gdb.base/run.c: Likewise.
5850 * gdb.base/sepdebug.c: Likewise.
5851 * gdb.hp/gdb.aCC/run.c: Likewise.
5852 * gdb.reverse/until-reverse.c: Likewise.
5853 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5855 2014-09-16 Yao Qi <yao@codesourcery.com>
5857 * boards/local-remote-host-native.exp: New file.
5859 2014-09-14 Doug Evans <xdje42@gmail.com>
5861 * gdb.threads/queue-signal.c (thread_count): New variable.
5862 (thread_count_mutex, thread_count_condvar): New variables.
5863 (incr_thread_count, wait_all_threads_running): New functions.
5864 (main): Wait for all threads to be in their thread functions.
5866 2014-09-13 Doug Evans <xdje42@gmail.com>
5868 * gdb.threads/queue-signal.c: New file.
5869 * gdb.threads/queue-signal.exp: New file.
5871 2014-09-13 Doug Evans <xdje42@gmail.com>
5873 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5874 be consistent with what default_gdb_init uses.
5875 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5876 the plain text of the prompt. Add some logging printfs.
5877 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5879 2014-09-12 Pedro Alves <palves@redhat.com>
5881 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5882 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5883 * gdb.arch/i386-size-overlap.exp: Likewise.
5884 * gdb.arch/i386-size.exp: Likewise.
5885 * gdb.arch/i386-unwind.exp: Likewise.
5886 * gdb.base/a2-run.exp: Likewise.
5887 * gdb.base/break.exp: Likewise.
5888 * gdb.base/charset.exp: Likewise.
5889 * gdb.base/chng-syms.exp: Likewise.
5890 * gdb.base/commands.exp: Likewise.
5891 * gdb.base/dbx.exp: Likewise.
5892 * gdb.base/find.exp: Likewise.
5893 * gdb.base/funcargs.exp: Likewise.
5894 * gdb.base/jit-simple.exp: Likewise.
5895 * gdb.base/reread.exp: Likewise.
5896 * gdb.base/sepdebug.exp: Likewise.
5897 * gdb.base/step-bt.exp: Likewise.
5898 * gdb.cp/mb-inline.exp: Likewise.
5899 * gdb.cp/mb-templates.exp: Likewise.
5900 * gdb.objc/basicclass.exp: Likewise.
5901 * gdb.threads/killed.exp: Likewise.
5903 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5906 * gdb.arch/powerpc-stackless.S: New file.
5907 * gdb.arch/powerpc-stackless.exp: New file.
5909 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5911 * gdb.base/attach.c: Include unistd.h.
5912 (main): Call alarm. Add label postloop.
5913 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5914 gdb_breakpoint, gdb_continue_to_breakpoint.
5915 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5917 2014-09-11 Pedro Alves <palves@redhat.com>
5920 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5921 * gdb.base/attach.exp (test_command_line_attach_run): New
5923 (top level): Call it.
5925 2014-09-11 Pedro Alves <palves@redhat.com>
5927 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5928 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5929 (do_command_attach_tests): Use spawn_wait_for_attach.
5930 * gdb.base/solib-overlap.exp: Likewise.
5931 * gdb.multi/multi-attach.exp: Likewise.
5932 * gdb.python/py-prompt.exp: Likewise.
5933 * gdb.python/py-sync-interp.exp: Likewise.
5934 * gdb.server/ext-attach.exp: Likewise.
5936 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5938 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5939 command in testcase. Simplify testcase.
5941 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5943 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5945 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5947 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5949 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5951 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5953 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5955 * gdb.dwarf2/dynarr-ptr.c: New file.
5956 * gdb.dwarf2/dynarr-ptr.exp: New file.
5958 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5960 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5961 of 30 rather than hardcoding 120 for a slow test case. Take the
5962 `gdb,timeout' target setting into account for this calculation.
5963 Don't extend the timeout for the test cases that don't need it.
5965 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5967 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5968 a factor of 2 for a slow test case. Take the `gdb,timeout'
5969 target setting into account for this calculation.
5970 * gdb.reverse/until-precsave.exp: Increase the timeout by
5971 a factor of 15 and 3 respectively rather than adding 120
5972 for a pair of slow test cases. Take the `gdb,timeout'
5973 target setting into account for this calculation.
5975 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5977 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5978 timeout, don't pass one down to gdb_expect.
5979 (gdb_expect): Rework timeout selection.
5981 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5983 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5984 exception on timeout.
5985 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5986 (gdbserver_start_extended): Catch any `gdbserver_start' error
5988 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5989 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5990 `gdbserver_gdb_load' error exceptions.
5992 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5994 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5995 120 on waiting for the TCP socket to open.
5997 2014-09-09 Doug Evans <xdje42@gmail.com>
5999 * gdb.base/default.exp (show_conv_list): Add _caller_is,
6000 _caller_matches, _any_caller_is, _any_caller_matches.
6002 2014-09-09 Doug Evans <xdje42@gmail.com>
6004 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
6006 2014-09-09 Yao Qi <yao@codesourcery.com>
6008 * gdb.mi/mi-var-display.exp: Set print symbol off.
6010 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
6013 * gdb.base/commands.exp: Add tests to verify user-defined
6014 commands with empty bodies.
6015 * gdb.python/py-cmd.exp: Test that we don't show user-defined
6016 python commands in `show user command`.
6017 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
6018 scheme commands in `show user command`.
6020 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
6023 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
6024 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
6025 * gdb.python/py-framefilter-invalidarg.exp: New file.
6026 * gdb.python/py-framefilter-invalidarg.py: New file.
6028 2014-09-06 Doug Evans <xdje42@gmail.com>
6031 * gdb.python/py-caller-is.c: New file.
6032 * gdb.python/py-caller-is.exp: New file.
6034 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
6037 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
6038 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
6040 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
6043 * gdb.fortran/print-formatted.exp: New file.
6044 * gdb.fortran/print-formatted.f90: Likewise.
6046 2014-09-03 Sasha Smundak <asmundak@google.com>
6048 * gdb.python/py-frame.exp: Test Frame.read_register.
6050 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
6053 * gdb.python/py-completion.exp: New file.
6054 * gdb.python/py-completion.py: Likewise.
6056 2014-08-28 Doug Evans <dje@google.com>
6058 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
6059 eax,etc. are live with values set by gdb and thus the compiler can't
6061 * gdb.arch/i386-pseudo.c (main): Ditto.
6063 2014-08-27 Doug Evans <dje@google.com>
6065 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
6067 2014-08-25 Doug Evans <dje@google.com>
6069 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
6072 2014-08-25 Doug Evans <dje@google.com>
6074 * gdb.threads/thread-execl.exp: #include <stdio.h>.
6076 2014-08-24 Yao Qi <yao@codesourcery.com>
6078 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
6080 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
6082 2014-08-22 Doug Evans <dje@google.com>
6085 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
6086 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
6087 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
6089 2014-08-22 Yao Qi <yao@codesourcery.com>
6091 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
6092 * gdb.python/py-finish-breakpoint2.exp: Likewise.
6093 * gdb.python/python.exp: Likewise. Use .py file on the host
6094 instead of the build.
6096 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6098 * gdb.threads/gcore-stale-thread.c: New file.
6099 * gdb.threads/gcore-stale-thread.exp: New file.
6101 2014-08-21 Pedro Alves <palves@redhat.com>
6103 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
6104 * gdb.base/gcore-relro-pie.exp: Likewise.
6105 * gdb.base/gcore-relro.exp: Likewise.
6106 * gdb.base/gcore.exp: Likewise.
6107 * gdb.base/print-symbol-loading.exp: Likewise.
6108 * gdb.threads/gcore-thread.exp: Likewise.
6109 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
6111 2014-08-20 Pedro Alves <palves@redhat.com>
6112 Jan Kratochvil <jan.kratochvil@redhat.com>
6114 * Makefile.in (EXTRA_RULES, CC): New variables, get from
6116 (EXPECT): Handle READ1 being set.
6117 (all): Depend on EXTRA_RULES.
6118 (check-read1, expect-read1, read1.so, read1): New rules.
6119 * README (Testsuite Parameters): Document the READ1 make variable.
6120 (Race detection): New section.
6121 * configure: Regenerate.
6122 * configure.ac: If build==host==target, and running under a
6123 GNU/glibc system, add read1 to the extra Makefile rules.
6124 (EXTRA_RULES): AC_SUBST it.
6125 * lib/read1.c: New file.
6127 2014-08-20 Joel Brobecker <brobecker@adacore.com>
6129 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
6130 the handling of variables declared as a typedef to an array
6131 which a DW_AT_data_location attribute.
6133 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
6134 Pedro Alves <palves@redhat.com>
6138 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
6141 2014-08-19 Pedro Alves <palves@redhat.com>
6143 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
6145 2014-08-19 Yao Qi <yao@codesourcery.com>
6147 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
6150 2014-08-18 David Blaikie <dblaikie@gmail.com>
6152 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
6154 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6156 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
6157 attribute in array range.
6159 2014-08-18 Joel Brobecker <brobecker@adacore.com>
6161 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
6163 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6166 * gdb.cp/pr17132.cc: New file.
6167 * gdb.cp/pr17132.exp: New file.
6169 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
6171 * gdb.python/py-xmethods.py (A_getarrayind)
6172 (E_method_char_worker.__call__, E_method_int_worker.__call__):
6173 Use 'print' with function call syntax.
6174 (E_method_matcher.match): Fix tab vs space indentation mixup.
6176 2014-08-15 Yao Qi <yao@codesourcery.com>
6178 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
6181 2014-08-15 Yao Qi <yao@codesourcery.com>
6183 * gdb.cp/casts.exp: Set print symbol off.
6184 * gdb.cp/class2.exp: Likewise.
6185 * gdb.cp/overload.exp: Likewise.
6186 * gdb.cp/templates.exp: Likewise.
6188 2014-08-11 Doug Evans <dje@google.com>
6190 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
6191 (test_load_shlib): Update.
6193 2014-08-09 Yao Qi <yao@codesourcery.com>
6195 * gdb.base/display.exp: Invoke is_address_zero_readable.
6196 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
6197 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
6198 * gdb.base/hbreak-unmapped.exp: Return if
6199 is_address_zero_readable returns true.
6200 * gdb.base/signest.exp: Likewise.
6201 * gdb.base/signull.exp: Likewise.
6202 * gdb.base/sigbpt.exp: Likewise.
6203 * gdb.guile/scm-disasm.exp: Do the test if
6204 is_address_zero_readable returns false.
6205 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
6206 * gdb.python/py-arch.exp: Likewise.
6207 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
6208 * lib/gdb.exp (is_address_zero_readable): New proc.
6210 2014-08-09 Yao Qi <yao@codesourcery.com>
6213 * gdb.mi/mi-var-display.exp: Make test messages unique.
6215 2014-08-04 Tom Tromey <tromey@redhat.com>
6217 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
6220 2014-08-04 Tom Tromey <tromey@redhat.com>
6222 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6225 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6227 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6228 inner_vla_struct_object_size.
6229 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6232 2014-07-30 Pedro Alves <palves@redhat.com>
6234 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6237 2014-07-29 Yao Qi <yao@codesourcery.com>
6240 * gdb.base/until-nodebug.exp: New.
6242 2014-07-28 Doug Evans <xdje42@gmail.com>
6245 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6246 previously existing parameter, and previously ambiguously spelled
6249 2014-07-28 Will Newton <will.newton@linaro.org>
6251 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6253 2014-07-26 Ludovic Courtès <ludo@gnu.org>
6254 Doug Evans <xdje42@gmail.com>
6257 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6259 2014-07-25 Pedro Alves <palves@redhat.com>
6261 * gdb.threads/signal-command-handle-nopass.c: New file.
6262 * gdb.threads/signal-command-handle-nopass.exp: New file.
6263 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6264 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6265 * gdb.threads/signal-delivered-right-thread.c: New file.
6266 * gdb.threads/signal-delivered-right-thread.exp: New file.
6268 2014-07-25 Pedro Alves <palves@redhat.com>
6270 * gdb.base/double-prompt-target-event-error.exp
6271 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6273 (cancel_pagination_in_target_event): Rework double prompt
6275 * gdb.base/paginate-after-ctrl-c-running.exp
6276 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6278 * gdb.base/paginate-bg-execution.exp
6279 (test_bg_execution_pagination_return)
6280 (test_bg_execution_pagination_cancel): Remove '-notransfer
6282 * gdb.base/paginate-execution-startup.exp
6283 (test_fg_execution_pagination_return)
6284 (test_fg_execution_pagination_cancel): Remove '-notransfer
6286 * gdb.base/paginate-inferior-exit.exp
6287 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6289 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6290 * lib/gdb.exp (pagination_prompt): Run text through
6292 (gdb_test_multiple): Match $pagination_prompt instead of
6294 (string_to_regexp): Move to lib/gdb-utils.exp.
6296 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6298 * gdb.arch/amd64-entry-value-paramref.S: New file.
6299 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6300 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6301 * gdb.arch/amd64-optimout-repeat.S: New file.
6302 * gdb.arch/amd64-optimout-repeat.c: New file.
6303 * gdb.arch/amd64-optimout-repeat.exp: New file.
6305 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6308 * gdb.base/statistics.exp: New file.
6310 2014-07-17 Doug Evans <dje@google.com>
6313 * gdb.base/maint.exp: Update testing of per-command stats.
6315 2014-07-16 Pedro Alves <palves@redhat.com>
6317 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6318 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6319 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6320 (tfile_write_buf): New functions.
6321 (add_memory_block): Rewrite using the above.
6322 (adjust_function_address): New function.
6323 (FUNCTION_ADDRESS): New macro.
6324 (write_basic_trace_file): Remove short_x local, and use
6325 tfile_write_16. Change type of func_addr local to unsigned long
6326 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6327 here. Cast argument of add_memory_block to char pointer.
6328 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6329 (main): Remove parameters.
6330 * gdb.trace/tfile.exp: Remove nowarnings.
6332 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6334 * gdb.base/debug-expr.exp: Test string evaluation with
6335 "debug expression" on.
6337 2014-07-15 Pedro Alves <palves@redhat.com>
6339 * gdb.base/reread.exp: Use clean_restart.
6341 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6343 * gdb.arch/avr-flash-qualifer.c: New.
6344 * gdb.arch/avr-flash-qualifer.exp: New.
6346 2014-07-14 Pedro Alves <palves@redhat.com>
6348 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6349 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6351 2014-07-14 Pedro Alves <palves@redhat.com>
6353 * gdb.base/double-prompt-target-event-error.c: New file.
6354 * gdb.base/double-prompt-target-event-error.exp: New file.
6356 2014-07-14 Pedro Alves <palves@redhat.com>
6359 * gdb.base/paginate-inferior-exit.c: New file.
6360 * gdb.base/paginate-inferior-exit.exp: New file.
6362 2014-07-14 Pedro Alves <palves@redhat.com>
6365 * gdb.base/paginate-bg-execution.c: New file.
6366 * gdb.base/paginate-bg-execution.exp: New file.
6368 2014-07-14 Pedro Alves <palves@redhat.com>
6371 * gdb.base/paginate-execution-startup.c: New file.
6372 * gdb.base/paginate-execution-startup.exp: New file.
6373 * lib/gdb.exp (pagination_prompt): New global.
6374 (default_gdb_spawn): New procedure, factored out from
6376 (default_gdb_start): Adjust to call default_gdb_spawn.
6377 (gdb_spawn): New procedure.
6379 2014-07-14 Pedro Alves <palves@redhat.com>
6381 * lib/gdb.exp (gdb_assert): New procedure.
6382 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6384 2014-07-14 Pedro Alves <palves@redhat.com>
6386 * gdb.base/execution-termios.c: New file.
6387 * gdb.base/execution-termios.exp: New file.
6389 2014-07-14 Tom Tromey <tromey@redhat.com>
6391 * gdb.cp/vla-cxx.cc: New file.
6392 * gdb.cp/vla-cxx.exp: New file.
6394 2014-07-14 Tom Tromey <tromey@redhat.com>
6396 * gdb.reverse/rerun-prec.c: New file.
6397 * gdb.reverse/rerun-prec.exp: New file.
6399 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6400 Maciej W. Rozycki <macro@codesourcery.com>
6402 * lib/gdb-utils.exp: New file.
6403 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6404 inline `gdb_init_command' processing.
6405 (gdb_start_cmd): Likewise.
6406 * lib/mi-support.exp (mi_run_cmd): Likewise.
6407 * README: Document `gdb_init_command' and `gdb_init_commands'.
6409 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6411 Fix false FAIL running under a very long directory name.
6412 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6413 and "set print elements 10000". Twice.
6415 2014-07-11 Yao Qi <yao@codesourcery.com>
6417 * gdb.base/exprs.exp: "set print symbol off".
6419 2014-07-11 Pedro Alves <palves@redhat.com>
6421 * gdb.threads/kill.c: New file.
6422 * gdb.threads/kill.exp: New file.
6424 2014-07-10 Yao Qi <yao@codesourcery.com>
6426 * gdb.trace/tfile.c (write_basic_trace_file)
6427 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6428 address written to trace file.
6430 2014-07-09 Pedro Alves <palves@redhat.com>
6432 * gdb.base/attach-wait-input.exp: New file.
6433 * gdb.base/attach-wait-input.c: New file.
6435 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6437 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6438 setting up test structures.
6439 (main): Call new test function.
6440 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6441 test function, continue into test function and walk test
6444 2014-07-02 Yao Qi <yao@codesourcery.com>
6446 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6447 'bar_start' at the beginning of functions 'foo' and 'bar'
6449 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6450 instead of 'foo' and 'bar'.
6452 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6454 * gdb.btrace/segv.exp: New.
6455 * gdb.btrace/segv.c: New.
6457 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6459 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6462 2014-06-30 Mark Wielaard <mjw@redhat.com>
6464 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6465 vulture, vilify, villar): New volatile array constants.
6466 (vindictive, vegetation): New const volatile array constants.
6467 * gdb.base/volatile.exp: Test volatile and const volatile array
6470 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6472 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6473 target lacks support for awatch, rwatch, or hbreak.
6475 2014-06-27 Yao Qi <yao@codesourcery.com>
6477 * gdb.multi/dummy-frame-restore.exp: New.
6478 * gdb.multi/dummy-frame-restore.c: New.
6480 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6482 * gdb.btrace/gcore.exp: New.
6484 2014-06-23 Pedro Alves <palves@redhat.com>
6486 * gdb.base/watchpoint-reuse-slot.c: New file.
6487 * gdb.base/watchpoint-reuse-slot.exp: New file.
6489 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6491 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6492 progspace's filename in 'info', 'enable' and 'disable' command
6495 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6497 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6498 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6499 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6501 2014-06-20 Gary Benson <gbenson@redhat.com>
6503 * gdb.arch/i386-avx.exp: Fix include file location.
6504 * gdb.arch/i386-sse.exp: Likewise.
6506 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6508 * gdb.dlang/expression.exp: New file.
6510 2014-06-19 Pedro Alves <palves@redhat.com>
6512 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6514 (top level): ... here. Iterate running tests under different
6515 scheduler-locking settings.
6517 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6519 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6520 to DW_FORM_addr and use non-zero addresses.
6522 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6525 * gdb.python/py-xmethods.cc: Add global function call counters and
6526 increment them in their respective functions. Remove "cout"
6528 * gdb.python/py-xmethods.exp: Make tests check the global function
6529 call counters instead of depending on inferior IO.
6531 2014-06-18 Don Breazeal <donb@codesourcery.com>
6533 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6535 (explicit_fork_parent_follow): Deleted procedure.
6536 (explicit_fork_child_follow): Deleted procedure.
6537 (test_follow_fork): New procedure.
6538 (do_fork_tests): Replace calls to deleted procedures with
6539 calls to test_follow_fork and reset GDB for subsequent
6542 2014-06-17 Yao Qi <yao@codesourcery.com>
6544 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6547 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6549 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6550 Initialize ptr and S explicitly.
6551 (skip_type_update_when_not_use_rtti_test): Likewise.
6553 2014-06-16 Keith Seitz <keiths@redhat.com>
6556 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6557 the inferior is started.
6559 2014-06-16 Pedro Alves <palves@redhat.com>
6561 * gdb.base/break-main-file-remove-fail.c: New file.
6562 * gdb.base/break-main-file-remove-fail.exp: New file.
6563 * gdb.base/break-unload-file.exp: Use build_executable instead of
6564 prepare_for_testing.
6565 (test_break): New parameter "initial_load". Handle it.
6566 (top level): Add initial_load cmdline/file axis.
6568 2014-06-12 Tom Tromey <tromey@redhat.com>
6570 * gdb.base/completion.exp: Don't use directory name in test.
6572 2014-06-09 Gary Benson <gbenson@redhat.com>
6574 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6575 separate the always-available ANSI-standard signals from the
6576 signals that require checking.
6578 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6582 2014-06-07 Keith Seitz <keiths@redhat.com>
6586 * gdb.cp/var-tag.cc: New file.
6587 * gdb.cp/var-tag.exp: New file.
6588 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6589 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6590 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6591 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6593 2014-06-06 Doug Evans <xdje42@gmail.com>
6595 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6597 2014-06-06 Pedro Alves <palves@redhat.com>
6599 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6600 in target debug output instead of looking at RSP packets,
6601 disabling the test on any target that uses hardware stepping.
6604 2014-06-06 Pedro Alves <palves@redhat.com>
6606 * gdb.base/break-unload-file.exp: Fix typo.
6608 2014-06-06 Yao Qi <yao@codesourcery.com>
6610 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6611 from "jit_function" to "^jit_function".
6613 2014-06-06 Yao Qi <yao@codesourcery.com>
6615 * gdb.base/async.c (foo): Add one statement.
6616 * gdb.base/async.exp: Get the next instruction address and
6617 match the output of "nexti" by instruction address. Match
6618 the hex address in the output of "finish".
6620 2014-06-06 Gary Benson <gbenson@redhat.com>
6622 * gdb.base/call-signals.c: Remove preprocessor conditionals
6623 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6624 SIGSEGV and SIGTERM.
6625 * gdb.base/sigall.c: Likewise.
6626 * gdb.base/unwindonsignal.c: Likewise.
6627 * gdb.reverse/sigall-reverse.c: Likewise.
6629 2014-06-06 Yao Qi <yao@codesourcery.com>
6631 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6632 readable, skip the test.
6634 2014-06-06 Yao Qi <yao@codesourcery.com>
6636 * gdb.threads/staticthreads.c (thread_function): Move the line
6637 setting breakpoint on forward.
6638 * gdb.threads/staticthreads.exp: Update comments.
6640 2014-06-05 Ludovic Courtès <ludo@gnu.org>
6642 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6643 "history-append! type error".
6645 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6647 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6648 erroneous dprintf expected input.
6650 2014-06-04 Doug Evans <xdje42@gmail.com>
6652 * gdb.guile/scm-generics.exp: Delete.
6654 2014-06-04 Doug Evans <xdje42@gmail.com>
6656 * gdb.guile/scm-breakpoint.exp: Update.
6657 Add tests for breakpoint registration.
6659 2014-06-04 Tom Tromey <tromey@redhat.com>
6661 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6663 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6664 inner_vla_struct, vla_union types. Initialize objects of those
6665 types and compute their sizes.
6667 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6668 Hui Zhu <hui@codesourcery.com>
6670 * gdb.base/fileio.exp: Add test for shell not available as well as
6672 * gdb.base/fileio.c (test_system): Check for shell twice.
6674 2014-06-04 Yao Qi <yao@codesourcery.com>
6676 * gdb.base/auto-connect-native-target.exp: Remove redundant
6677 space from the regexp pattern.
6679 2014-06-04 Yao Qi <yao@codesourcery.com>
6681 * gdb.base/default.exp: Replace "child" with "native" in
6684 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6686 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6687 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6688 * gdb.python/py-xmethods.py: Python script supporting the
6689 new testcase and tests.
6691 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6692 Pedro Alves <palves@redhat.com>
6694 PR breakpoints/17000
6695 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6696 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6698 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6700 * gdb.base/subst.exp: Add tests to verify partial path matching
6703 2014-06-03 Pedro Alves <palves@redhat.com>
6705 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6706 target that doesn't use software single-stepping.
6708 2014-06-03 Pedro Alves <palves@redhat.com>
6710 PR breakpoints/17000
6711 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6712 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6714 2014-06-02 Doug Evans <xdje42@gmail.com>
6716 * gdb.guile/scm-parameter.exp: New file.
6718 2014-06-02 Doug Evans <xdje42@gmail.com>
6720 * gdb.guile/scm-cmd.c: New file.
6721 * gdb.guile/scm-cmd.exp: New file.
6723 2014-06-02 Doug Evans <xdje42@gmail.com>
6725 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6726 pretty-printer lookup.
6727 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6728 (make-pp_s-printer): Call it.
6729 (make-pretty-printer-from-dict): New function.
6730 (lookup-pretty-printer-maker-from-dict): New function.
6731 (*pretty-printer*): Simplify.
6732 (make-objfile-pp_s-printer): New function.
6733 (install-objfile-pretty-printers!): New function.
6734 (make-progspace-pp_s-printer): New function.
6735 (install-progspace-pretty-printers!): New function.
6736 * gdb.guile/scm-progspace.c: New file.
6737 * gdb.guile/scm-progspace.exp: New file.
6739 2014-06-02 Pedro Alves <palves@redhat.com>
6741 * gdb.base/dprintf-bp-same-addr.c: New file.
6742 * gdb.base/dprintf-bp-same-addr.exp: New file.
6744 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6746 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6747 * gdb.arch/powerpc-power.s: Likewise.
6749 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6751 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6753 2014-06-01 Yao Qi <yao@codesourcery.com>
6755 * gdb.base/watchpoint.exp (test_watch_location): Check null
6756 pointer can be dereferenced. If not, do the test, otherwise
6759 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6761 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6763 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6765 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6767 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6768 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6769 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6770 * gdb.arch/amd64-invalid-stack-top.c: New file.
6771 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6773 2014-05-30 Pedro Alves <palves@redhat.com>
6775 PR breakpoints/17000
6776 * gdb.base/sss-bp-on-user-bp.c: New file.
6777 * gdb.base/sss-bp-on-user-bp.exp: New file.
6779 2014-05-30 David Blaikie <dblaikie@gmail.com>
6781 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6782 gnu_inline semantics via attribute.
6783 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6784 source explicitly specifies the required semantics.
6786 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6788 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6790 2014-05-29 Pedro Alves <palves@redhat.com>
6791 Tom Tromey <tromey@redhat.com>
6793 * gdb.base/async-shell.exp: Don't enable target-async.
6794 * gdb.base/async.exp
6795 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6797 (top level): Don't test with "target-async".
6798 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6799 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6800 * gdb.base/inferior-died.exp: Don't enable target-async.
6801 * gdb.base/interrupt-noterm.exp: Likewise.
6802 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6803 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6804 * gdb.mi/mi-nonstop.exp: Likewise.
6805 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6806 * gdb.mi/mi-nsintrall.exp: Likewise.
6807 * gdb.mi/mi-nsmoribund.exp: Likewise.
6808 * gdb.mi/mi-nsthrexec.exp: Likewise.
6809 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6810 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6811 * gdb.python/py-evsignal.exp: Don't enable target-async.
6812 * gdb.python/py-evthreads.exp: Likewise.
6813 * gdb.python/py-prompt.exp: Likewise.
6814 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6815 * gdb.server/solib-list.exp: Don't enable target-async.
6816 * gdb.threads/thread-specific-bp.exp: Likewise.
6817 * lib/mi-support.exp: Adjust to use mi-async.
6819 2014-05-29 Pedro Alves <palves@redhat.com>
6822 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6823 reason, even in sync mode.
6825 2014-05-29 Pedro Alves <palves@redhat.com>
6826 Hui Zhu <hui@codesourcery.com>
6829 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6830 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6831 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6832 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6834 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6836 * config/monitor.exp (gdb_target_monitor): Replace use of
6837 "set remotebaud" by "set serial baud".
6839 2014-05-26 Andy Wingo <wingo@igalia.com>
6841 * gdb.guile/scm-breakpoint.exp:
6842 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6843 properties instead of gdb-object-properties.
6845 2014-05-26 Yao Qi <yao@codesourcery.com>
6847 * gdb.server/no-thread-db.exp: Specify source file name
6848 explicitly when setting a breakpoint.
6850 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6852 * gdb.btrace/vdso.c: New.
6853 * gdb.btrace/vdso.exp: New.
6855 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6857 * gdb.base/gcore.exp (capture_command_output): Move ...
6858 * lib/gdb.exp (capture_command_output): ... here.
6860 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6862 * gdb.btrace/data.exp: Test memory access during btrace replay.
6864 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6866 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6868 2014-05-21 Pedro Alves <palves@redhat.com>
6871 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6872 (top level): Test that output related to execution commands is
6873 sent to the console with CLI commands, but not with MI commands.
6874 Test that breakpoint events are always mirrored to the console.
6875 Also expect the new source line to be output after a "next" in
6876 async mode too. Make it a pass/fail test.
6877 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6879 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6881 2014-05-21 Pedro Alves <palves@redhat.com>
6883 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6884 Use them to test variations of "list" after reaching a breakpoint.
6885 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6886 Test "list" with listsize 10 after reaching a breakpoint.
6887 * gdb.python/python.exp (decode_line current location line
6888 number): Adjust expected line number.
6890 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6892 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6893 behavior for $args, pass it directly to "run".
6895 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6897 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6900 2014-05-21 Pedro Alves <palves@redhat.com>
6902 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6903 auto-connect-native-target off".
6904 * gdb.base/auto-connect-native-target.c: New file.
6905 * gdb.base/auto-connect-native-target.exp: New file.
6907 2014-05-21 Pedro Alves <palves@redhat.com>
6909 * gdb.base/default.exp: Test "target native" instead of "target
6912 2014-05-21 Mark Wielaard <mjw@redhat.com>
6914 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6916 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6918 Fix TLS access for -static -pthread.
6919 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6920 <HAVE_TLS> (thread_function, main): Initialize it.
6921 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6923 <$have_tls != "">: Check TLSVAR.
6925 2014-05-21 Pedro Alves <palves@redhat.com>
6927 * gdb.base/dcache-line-read-error.c: New.
6928 * gdb.base/dcache-line-read-error.exp: New.
6930 2014-05-20 Pedro Alves <palves@redhat.com>
6932 * gdb.base/compare-sections.c: New file.
6933 * gdb.base/compare-sections.exp: New file.
6935 2014-05-20 Pedro Alves <palves@redhat.com>
6937 * gdb.base/break-idempotent.c: New file.
6938 * gdb.base/break-idempotent.exp: New file.
6940 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6942 * gdb.btrace/nohist.exp: New.
6944 2014-05-20 Yao Qi <yao@codesourcery.com>
6946 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6947 gdb.reverse directory and gdb_reverse_timeout exists in board
6949 * README: Document gdb_reverse_timeout.
6951 2014-05-20 Yao Qi <yao@codesourcery.com>
6953 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6954 'test_file_name'. Treat args as a string instead of a list.
6955 (gdb_init): Rename argument 'args' by 'test_file_name'.
6957 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6959 * gdb.arch/powerpc-power.exp: New file.
6960 * gdb.arch/powerpc-power.s: New file.
6962 2014-05-16 Doug Evans <dje@google.com>
6964 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6965 * gdb.base/completion.exp: Check that all expected files exist
6966 before doing file completion.
6968 2014-05-16 Doug Evans <dje@google.com>
6970 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6972 (do_syscall_tests_without_xml): Update.
6974 2014-05-16 Pedro Alves <palves@redhat.com>
6976 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6977 instead of "unknown output after running".
6979 2014-05-16 Yao Qi <yao@codesourcery.com>
6981 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6982 file1.txt from host at the end.
6983 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6985 2014-05-15 Doug Evans <dje@google.com>
6987 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6988 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6989 loading file. Add test for TU lookup.
6991 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6993 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6994 calling "-exec-arguments" or "set args" before running the
6997 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6999 * lib/mi-support.exp (mi_expect_stop): Expect message for
7000 inferiors that exit with non-zero exit code.
7002 2014-05-14 Yao Qi <yao@codesourcery.com>
7004 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
7005 match absolute path on remote host.
7006 (test_file_list_exec_source_files): Remove "/" from the
7009 2014-05-14 Yao Qi <yao@codesourcery.com>
7011 * boards/local-remote-host-notty.exp (${board}_file): New
7014 2014-05-07 Kyle McMartin <kyle@redhat.com>
7016 Pushed by Joel Brobecker <brobecker@adacore.com>.
7017 * gdb.arch/aarch64-atomic-inst.c: New file.
7018 * gdb.arch/aarch64-atomic-inst.exp: New file.
7020 2014-05-07 Yao Qi <yao@codesourcery.com>
7022 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
7023 in current context" too.
7025 2014-05-05 Keith Seitz <keiths@redhat.com>
7027 * gdb.linespec/ls-dollar.exp: Add test for linespec
7028 file:convenience_variable.
7030 2014-05-05 Yao Qi <yao@codesourcery.com>
7032 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
7033 traceframes into tfile and ctf trace files. Read data from
7034 trace file and test collected data.
7035 (gdb_collect_locals_test): Likewise.
7036 (gdb_unavailable_registers_test): Likewise.
7037 (gdb_unavailable_floats): Likewise.
7038 (gdb_collect_globals_test): Likewise.
7039 (top-level): Append "ctf" to trace_file_targets if GDB
7042 2014-05-05 Yao Qi <yao@codesourcery.com>
7044 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
7046 (gdb_collect_args_test_1): ... it. New proc.
7047 (gdb_collect_locals_test): Move some code to ...
7048 (gdb_collect_locals_test_1): ... it. New proc.
7049 (gdb_unavailable_registers_test): Move some code to ...
7050 (gdb_unavailable_registers_test_1): ... it. New proc.
7051 (gdb_unavailable_floats): Move some code to ...
7052 (gdb_unavailable_floats_1): ... it. New proc.
7054 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7056 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
7057 probes to test for bitness recognition.
7058 * gdb.arch/amd64-stap-optional-prefix.exp
7059 (test_probe_value_without_reg): New procedure.
7060 Add code to test for different kinds of bitness.
7062 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
7064 PR breakpoints/16889
7065 * gdb.arch/amd64-stap-optional-prefix.S: New file.
7066 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
7068 2014-05-01 Pedro Alves <palves@redhat.com>
7070 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
7071 gdb_file_cmd if no file is specified.
7072 * boards/native-extended-gdbserver.exp (gdb_load): Use the
7073 last_loaded_file to set the remote exec-file.
7075 2014-05-01 Pedro Alves <palves@redhat.com>
7077 * boards/local-remote-host.exp: New file.
7079 2014-05-01 Pedro Alves <palves@redhat.com>
7081 * boards/local-remote-host.exp: Rename to ...
7082 * boards/local-remote-host-notty.exp: ... this.
7084 2014-04-28 Joel Brobecker <brobecker@adacore.com>
7086 * gdb.ada/dyn_arrayidx: New testcase.
7088 2014-04-26 Yao Qi <yao@codesourcery.com>
7090 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
7091 and compute the length of function main. Save it in
7093 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
7094 (top-level): Use gdb_compile to compile objects into
7095 executable and restart GDB. Remove invocation to
7096 prepare_for_testing.
7098 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
7099 Pedro Alves <palves@redhat.com>
7102 * gdb.multi/multi-attach.c: New file.
7103 * gdb.multi/multi-attach.exp: New file.
7105 2014-04-25 Pedro Alves <palves@redhat.com>
7107 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
7109 (top level): Test that "set remote conditional-breakpoints-packet
7110 off" works as intended.
7111 * gdb.base/dprintf.exp: Test that "set remote
7112 breakpoint-commands-packet off" works as intended.
7113 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
7115 (top level): Call it.
7116 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
7117 remote fast-tracepoints-packet off" works as intended.
7118 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
7119 * lib/gdb.exp (gdb_is_target_remote): ... here.
7121 2014-04-24 David Blaikie <dblaikie@gmail.com>
7123 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
7124 ensure clang would not discard them.
7125 * gdb.base/gdbvars.c: Ditto.
7126 * gdb.base/memattr.c: Ditto.
7127 * gdb.base/whatis.c: Ditto.
7128 * gdb.python/py-prettyprint.c: Ditto.
7129 * gdb.trace/actions.c: Ditto.
7130 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
7131 ensure clang would not discard it.
7133 2014-04-24 David Blaikie <dblaikie@gmail.com>
7135 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
7136 clang to emit the full definition of type required by the test
7137 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
7139 2014-04-24 David Blaikie <dblaikie@gmail.com>
7141 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
7142 coax Clang into emitting the definition of the type.
7143 * gdb.cp/pr10728-x.h (y): Ditto.
7144 * gdb.cp/pr10728-y.cc (y): Ditto.
7146 2014-04-24 David Blaikie <dblaikie@gmail.com>
7148 * gdb.base/label.exp: XFAIL label related tests under Clang.
7149 * gdb.cp/cplabel.exp: Ditto.
7150 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
7151 under Clang those using labels.
7153 2014-04-25 Yao Qi <yao@codesourcery.com>
7155 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
7157 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
7158 partial_label and double_label.
7160 2014-04-24 David Blaikie <dblaikie@gmail.com>
7162 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
7164 2014-04-24 David Blaikie <dblaikie@gmail.com>
7166 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
7167 of the function to work across GCC and Clang.
7168 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
7169 pointer types (const void ** const V void **).
7171 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
7172 Walfred Tedeschi <walfred.tedeschi@intel.com>
7174 * Makefile.in (EXECUTABLES): Added i386-avx512.
7175 * gdb.arch/i386-avx512.c: New file.
7176 * gdb.arch/i386-avx512.exp: Likewise.
7178 2014-04-23 Keith Seitz <keiths@redhat.com>
7180 * lib/mi-support.exp (mi_list_breakpoints): Delete.
7181 (mi_make_breakpoint_table): New procedure.
7182 (mi_create_breakpoint): Use mi_make_breakpoint
7183 and return the result.
7184 (mi_make_breakpoint): New procedure.
7185 (mi_build_kv_pairs): New procedure.
7187 * gdb.mi/mi-break.exp: Remove unused globals,
7188 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
7189 All callers updated.
7190 * gdb.mi/mi-dprintf.exp: Use variable to track command
7192 Update all callers of mi_create_breakpoint and use
7193 mi_make_breakpoint_table.
7194 Remove any unused global variables.
7195 * gdb.mi/mi-nonstop.exp: Likewise.
7196 * gdb.mi/mi-nsintrall.exp: Likewise.
7197 * gdb.mi/mi-nsmoribund.exp: Likewise.
7198 * gdb.mi/mi-nsthrexec.exp: Likewise.
7199 * gdb.mi/mi-reverse.exp: Likewise.
7200 * gdb.mi/mi-simplerun.exp: Likewise.
7201 * gdb.mi/mi-stepn.exp: Likewise.
7202 * gdb.mi/mi-syn-frame.exp: Likewise.
7203 * gdb.mi/mi-until.exp: Likewise.
7204 * gdb.mi/mi-var-cp.exp: Likewise.
7205 * gdb.mi/mi-var-display.exp: Likewise.
7206 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
7207 * gdb.mi/mi2-var-child.exp: Likewise.
7208 * gdb.mi/mi-vla-c99.exp: Likewise.
7209 * lib/mi-support.exp: Likewise.
7211 From Ian Lance Taylor <iant@cygnus.com>:
7212 * lib/gdb.exp (parse_args): New procedure.
7214 2014-04-23 Pedro Alves <palves@redhat.com>
7216 * gdb.base/break-unload-file.c: New file.
7217 * gdb.base/break-unload-file.exp: New file.
7218 * gdb.base/sym-file-lib.c (baz): New function.
7219 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7221 (load): Store the segment's mapped size.
7222 (unload): New function.
7223 (unload_shlib): New function.
7224 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7225 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7226 set a breakpoint at baz, and call it.
7227 * gdb.base/sym-file.exp: New tests for stale breakpoint
7230 2014-04-23 Pedro Alves <palves@redhat.com>
7232 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7233 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7234 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7235 * gdb.base/hbreak-unmapped.c: New file.
7236 * gdb.base/hbreak-unmapped.exp: New file.
7237 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7238 * lib/gdb.exp (gdb_is_target_remote): ... here.
7240 2014-04-22 Pedro Alves <palves@redhat.com>
7242 * gdb.base/consecutive-step-over.c: New file.
7243 * gdb.base/consecutive-step-over.exp: New file.
7245 2014-04-22 Pedro Alves <palves@redhat.com>
7247 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7248 instead of send_gdb/gdb_expect.
7250 2014-04-22 Yao Qi <yao@codesourcery.com>
7252 * lib/trace-support.exp (generate_tracefile): New procedure.
7253 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7255 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7256 if generate_tracefile returns 1.
7258 2014-04-18 Tom Tromey <palves@redhat.com>
7259 Pedro alves <tromey@redhat.com>
7262 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7263 with a backtrace limit.
7264 * gdb.python/py-frame-inline.exp: Test running to an inline
7265 function with a backtrace limit, and printing the newest frame.
7266 * gdb.python/py-frame-inline.c (main): Call f.
7268 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7270 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7272 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7274 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7275 Drop prefix from unsupported source file path.
7277 2014-04-17 Yao Qi <yao@codesourcery.com>
7279 * lib/gdb.exp (with_target_charset): New proc.
7280 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7281 with_target_charset.
7282 (test_print_strings): Likewise.
7283 (test_repeat_bytes): Likewise.
7284 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7287 2014-04-16 Keith Seitz <keiths@redhat.com>
7290 * gdb.dwarf2/corrupt.c: New file.
7291 * gdb.dwarf2/corrupt.exp: New file.
7293 2014-04-16 Keith Seitz <keiths@redhat.com>
7296 * gdb.cp/namelessclass.cc: New file.
7297 * gdb.cp/namelessclass.exp: New file.
7298 * gdb.cp/namelessclass.S: New file.
7300 2014-04-16 Doug Evans <dje@google.com>
7302 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7304 (gdbserver_default_get_comm_port): New function.
7305 (gdbserver_start): Check if board file provided
7306 "gdbserver,get_comm_port" and use it if so.
7307 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7308 (gdb,socketport): Set to "stdio".
7309 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7310 (stdio_gdbserver_template): Delete.
7311 (${board}_get_remote_address): Update.
7312 (${board}_build_remote_cmd): Delete.
7313 (${board}_get_comm_port): New function.
7314 (${board}_spawn): Update.
7315 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7317 (${board}_get_remote_address): Update.
7318 (${board}_get_comm_port): New function.
7320 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7322 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7323 appearing in any order.
7325 2014-04-15 Doug Evans <dje@google.com>
7327 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7328 uninitialized value of "description".
7330 2014-04-15 Keith Seitz <keiths@redhat.com>
7332 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7333 Remove unused globals.
7334 (test_running_the_program): Likewise.
7335 (test_controlled_execution): Likewise.
7336 (test_controlling_breakpoints): Likewise.
7337 (test_program_termination): Likewise.
7339 2014-04-15 Keith Seitz <keiths@redhat.com>
7341 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7343 (test_rbreak_creation_and_listing): Likewise.
7344 (test_ignore_count): Likewise.
7345 (test_error): Likewise.
7347 2014-04-15 Pedro Alves <palves@redhat.com>
7349 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7350 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7352 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7353 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7354 to sym-file-loader.c.
7355 (struct library): Forward declare.
7356 (load_shlib, lookup_function): Change prototypes.
7357 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7358 (translate_offset): Remove declarations.
7359 (get_text_addr): New declaration.
7360 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7361 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7363 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7364 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7365 here from sym-file-loader.h.
7366 (struct library): New structure.
7367 (load_shlib, lookup_function): Change prototypes and adjust to
7368 work with a struct library.
7369 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7370 (translate_offset): Make static.
7371 (get_text_addr): New function.
7372 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7374 2014-04-15 Pedro Alves <palves@redhat.com>
7376 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7378 2014-04-15 Pedro Alves <palves@redhat.com>
7380 * gdb.base/sym-file-loader.c: Include <limits.h>.
7381 (SELF_LINK): New define.
7382 (get_origin): New function.
7383 (load_shlib): Use it.
7384 * gdb.base/sym-file.exp: Don't early return if the target is
7385 remote. Use runto_main, and issue fail is that fails. Use
7387 (shlib_name): Delete.
7388 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7390 2014-04-15 Pedro Alves <palves@redhat.com>
7392 * gdb.base/sym-file.exp: Remove regex characters from test
7393 message. Don't refer to breakpoint numbers in test messages.
7395 2014-04-14 Keith Seitz <keiths@redhat.com>
7398 * gdb.cp/var-tag.cc: New file.
7399 * gdb.cp/var-tag.exp: New file.
7400 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7401 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7402 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7403 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7405 2014-04-14 Tom Tromey <tromey@redhat.com>
7407 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7408 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7410 * gdb.cp/enum-class.exp: New file.
7411 * gdb.cp/enum-class.cc: New file.
7413 2014-04-14 Tom Tromey <tromey@redhat.com>
7415 * gdb.dwarf2/enum-type.exp: New file.
7417 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7419 * gdb.mi/mi-vla-c99.exp: New file.
7420 * gdb.mi/vla.c: New file.
7422 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7424 * gdb.base/vla-datatypes.c: New file.
7425 * gdb.base/vla-datatypes.exp: New file.
7427 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7429 * gdb.base/vla-ptr.c: New file.
7430 * gdb.base/vla-ptr.exp: New file.
7432 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7434 * gdb.dwarf2/count.exp: New file.
7436 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7438 * gdb.base/vla-sideeffect.c: New file.
7439 * gdb.base/vla-sideeffect.exp: New file.
7441 2014-04-14 David Blaikie <dblaikie@gmail.com>
7443 * gdb.mi/non-stop.c: Add return value for non-void function return
7445 * gdb.threads/staticthreads.c: Ditto.
7447 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7448 Doug Evans <xdje42@gmail.com>
7450 * gdb.guile/scm-value.c: Improve test case.
7451 * gdb.guile/scm-value.exp: Add new test.
7453 2014-04-11 David Blaikie <dblaikie@gmail.com>
7455 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7456 override Clang's default.
7458 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7460 Revert the following changes (regressions):
7462 * gdb.base/vla-sideeffect.c: New file.
7463 * gdb.base/vla-sideeffect.exp: New file.
7465 * gdb.dwarf2/count.exp: New file.
7467 * gdb.base/vla-multi.c: New file.
7468 * gdb.base/vla-multi.exp: New file.
7470 * gdb.base/vla-ptr.c: New file.
7471 * gdb.base/vla-ptr.exp: New file.
7473 * gdb.base/vla-datatypes.c: New file.
7474 * gdb.base/vla-datatypes.exp: New file.
7476 * gdb.mi/mi-vla-c99.exp: New file.
7477 * gdb.mi/vla.c: New file.
7479 2014-04-11 Keith Seitz <keiths@redhat.com>
7482 * gdb.cp/cpsizeof.exp: New file.
7483 * gdb.cp/cpsizeof.cc: New file.
7485 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7487 * gdb.mi/mi-vla-c99.exp: New file.
7488 * gdb.mi/vla.c: New file.
7490 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7492 * gdb.base/vla-datatypes.c: New file.
7493 * gdb.base/vla-datatypes.exp: New file.
7495 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7497 * gdb.base/vla-ptr.c: New file.
7498 * gdb.base/vla-ptr.exp: New file.
7500 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7502 * gdb.base/vla-multi.c: New file.
7503 * gdb.base/vla-multi.exp: New file.
7505 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7507 * gdb.dwarf2/count.exp: New file.
7509 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7511 * gdb.base/vla-sideeffect.c: New file.
7512 * gdb.base/vla-sideeffect.exp: New file.
7514 2014-04-11 Yao Qi <yao@codesourcery.com>
7516 * gdb.base/completion.exp: Check file exists before running tests
7519 2014-04-10 Pedro Alves <palves@redhat.com>
7521 * gdb.base/cond-eval-mode.c: New file.
7522 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7523 prepare_for_testing to build the new file. Check result of
7525 (test_break, test_watch): New procedures.
7526 (top level): Use them.
7528 2014-04-08 Pierre Muller <muller@sourceware.org>
7530 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7531 Ctrl-V use for mingw hosts.
7533 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7535 * gdb.python/py-value.c: Improve test case.
7536 * gdb.python/py-value.exp: Add new test.
7538 2014-04-07 David Blaikie <dblaikie@gmail.com>
7540 * lib/compiler.c: Identify the clang compiler.
7541 * lib/compiler.cc: Ditto.
7543 2014-04-03 Yao Qi <yao@codesourcery.com>
7545 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7547 2014-04-01 Anton Blanchard <anton@samba.org>
7549 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7552 2014-04-01 Anton Blanchard <anton@samba.org>
7554 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7555 prepare_for_testing.
7557 2014-04-01 Anton Blanchard <anton@samba.org>
7559 * gdb.arch/ppc64-atomic-inst.c: Remove.
7560 * gdb.arch/ppc64-atomic-inst.S: New file.
7561 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7563 2014-03-31 Doug Evans <dje@google.com>
7565 * gdb.base/print-symbol-loading-lib.c: New file.
7566 * gdb.base/print-symbol-loading-main.c: New file.
7567 * gdb.base/print-symbol-loading.exp: New file.
7569 2014-03-31 Yao Qi <yao@codesourcery.com>
7571 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7573 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7575 * gdb.ada/mi_dyn_arr: New testcase.
7577 2014-03-27 Doug Evans <dje@google.com>
7579 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7581 2014-03-27 Yao Qi <yao@codesourcery.com>
7583 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7584 if target is nios2-*-*.
7586 2014-03-26 Yao Qi <yao@codesourcery.com>
7588 * lib/gdb.exp (readline_is_used): New proc.
7589 * gdb.base/completion.exp: Move tests on command complete up.
7590 Skip the rest of tests if readline is not used.
7591 * gdb.ada/complete.exp: Skp the test if readline is not
7593 * gdb.base/filesym.exp: Likewise.
7594 * gdb.base/macscp.exp: Likewise.
7595 * gdb.base/readline-ask.exp: Likewise.
7596 * gdb.base/readline.exp: Likewise.
7597 * gdb.python/py-cmd.exp: Likewise.
7598 * gdb.trace/tfile.exp: Likewise.
7600 2014-03-26 Yao Qi <yao@codesourcery.com>
7602 * gdb.base/macscp.exp: Fix code format issues.
7604 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7606 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7607 * gdb.asm/powerpc64le.inc: New file.
7609 2014-03-25 Pedro Alves <palves@redhat.com>
7610 Doug Evans <dje@google.com>
7612 * gdb.base/source-execution.c: New file.
7613 * gdb.base/source-execution.exp: New file.
7614 * gdb.base/source-execution.gdb: New file.
7616 2014-03-24 Doug Evans <dje@google.com>
7618 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7621 2014-03-24 Hui Zhu <hui@codesourcery.com>
7622 Pedro Alves <palves@redhat.com>
7624 PR breakpoints/16101
7625 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7626 test pass/fail messages. Detect missing support for dprintf when
7627 breakpoints are actually inserted.
7628 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7629 breakpoints are actually inserted.
7630 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7633 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7635 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7637 2014-03-22 Doug Evans <xdje42@gmail.com>
7639 * gdb.python/python.exp (python not supported): Verify multi-line
7640 python command issues an error.
7641 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7642 guile command issues an error.
7644 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7646 * gdb.threads/thread-specific.exp: Handle the lack of usable
7647 $this_breakpoint and $this_thread.
7649 2014-03-21 Hui Zhu <hui@codesourcery.com>
7651 * gdb.base/attach.exp (do_command_attach_tests): New.
7653 2014-03-20 Tom Tromey <tromey@redhat.com>
7654 Pedro Alves <palves@redhat.com>
7657 * gdb.base/condbreak-call-false.c: New file.
7658 * gdb.base/condbreak-call-false.exp: New file.
7660 2014-03-20 Pedro Alves <palves@redhat.com>
7662 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7664 (block_signals, unblock_signals): Delete.
7665 (child_function_2, main): Remove references to deleted variable
7668 2014-03-20 Pedro Alves <palves@redhat.com>
7670 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7671 Use pthread_kill to signal thread 2.
7672 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7673 Adjust to make the test send itself a signal rather than using the
7674 host's "kill" command.
7676 2014-03-20 Pedro Alves <palves@redhat.com>
7678 * gdb.threads/multiple-step-overs.c: New file.
7679 * gdb.threads/multiple-step-overs.exp: New file.
7680 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7681 Adjust expected infrun debug output.
7683 2014-03-20 Pedro Alves <palves@redhat.com>
7685 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7686 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7688 2014-03-20 Pedro Alves <palves@redhat.com>
7691 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7692 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7693 of gdb_test_multiple.
7694 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7695 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7697 2014-03-20 Pedro Alves <palves@redhat.com>
7699 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7700 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7702 2014-03-19 Pedro Alves <palves@redhat.com>
7704 * gdb.base/async.exp: Remove early return.
7706 2014-03-19 Pedro Alves <palves@redhat.com>
7708 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7710 2014-03-19 Pedro Alves <palves@redhat.com>
7712 * gdb.base/async.exp (test_background): Expect \r\n after
7713 "completed." in the fail pattern.
7715 2014-03-19 Pedro Alves <palves@redhat.com>
7717 * gdb.base/async.exp (test_background): New procedure.
7718 Use it for all background execution command tests.
7720 2014-03-19 Pedro Alves <palves@redhat.com>
7722 * gdb.base/async.exp: Use prepare_for_testing.
7724 2014-03-19 Pedro Alves <palves@redhat.com>
7726 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7729 2014-03-19 Pedro Alves <palves@redhat.com>
7731 * gdb.base/async.c (main): Add "jump here" and "until here" line
7733 * gdb.base/async.exp (jump_here): New global.
7734 (jump& test): Use it.
7735 (until_here): New global.
7736 (until& test): Use it.
7738 2014-03-19 Pedro Alves <palves@redhat.com>
7740 * gdb.base/async.exp: Don't frob gdb_protocol.
7742 2014-03-18 Doug Evans <xdje42@gmail.com>
7744 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7745 Fix spelling of exec-done-display.
7747 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7750 * gdb.base/gdb-sigterm.c: New file.
7751 * gdb.base/gdb-sigterm.exp: New file.
7753 2014-03-18 Pedro Alves <palves@redhat.com>
7756 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7757 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7760 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7762 * gdb.ada/pckd_arr_ren: New testcase.
7764 2014-03-13 Doug Evans <xdje42@gmail.com>
7767 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7768 collect after discarding symbols.
7770 2014-03-13 Ludovic Courtès <ludo@gnu.org>
7771 Doug Evans <xdje42@gmail.com>
7773 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7774 to history survives a gc.
7776 2014-03-13 Pedro Alves <palves@redhat.com>
7778 * gdb.base/default.exp: Don't test "target procfs".
7780 2014-03-13 Pedro Alves <palves@redhat.com>
7782 * gdb.base/default.exp: Update "target child" and "target procfs"
7783 tests to not expect "Unix".
7785 2014-03-12 Tom Tromey <tromey@redhat.com>
7787 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7788 New procs. Add target-async tests.
7789 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7790 Add target-async tests.
7792 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7794 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7795 'func_start' and 'func_end' for the beginning and end of the
7796 function code, respectively.
7797 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7798 'func_end' instead of 'func' and 'main'.
7800 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7802 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7803 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7804 generate the debug info assembler source.
7806 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7808 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7809 * gdb.dwarf2/arr-subrange.exp: Likewise.
7810 * gdb.dwarf2/dwz.exp: Likewise.
7811 * gdb.dwarf2/method-ptr.exp: Likewise.
7812 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7813 * gdb.dwarf2/subrange.exp: Likewise.
7814 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7815 * gdb.dwarf2/implptrpiece.exp: Likewise.
7816 * gdb.dwarf2/nostaticblock.exp: Likewise.
7818 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7820 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7821 directory to absolute path name arguments.
7823 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7825 * gdb.ada/tagged_access: New testcase.
7827 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7829 * gdb.btrace/data.exp: Update expected output.
7831 2014-03-06 Yao Qi <yao@codesourcery.com>
7833 * gdb.trace/pr16508.exp: New file.
7835 2014-03-05 Pedro Alves <palves@redhat.com>
7838 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7840 (top level): Adjust to use it. Add tests that exercise breakpoint
7841 interaction with the code-cache.
7843 2014-02-26 Ludovic Courtès <ludo@gnu.org>
7845 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7846 test for 'history-append!'.
7848 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7850 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7851 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7852 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7853 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7854 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7855 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7857 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7859 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7860 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7861 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7863 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7865 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7867 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7869 * gdb.dwarf2/arr-stride.c: New file.
7870 * gdb.dwarf2/arr-stride.exp: New file.
7872 2014-02-26 Pedro Alves <palves@redhat.com>
7874 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7875 that won't ever trigger. Make sure that GDB reports the correct
7876 breakpoint that caused the stop.
7878 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7881 * gdb.base/auto-load-script: New file.
7882 * gdb.base/auto-load.c: New file.
7883 * gdb.base/auto-load.exp: New file.
7886 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7888 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7890 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7891 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7893 2014-02-24 Doug Evans <dje@google.com>
7895 * lib/gdb.exp (run_on_host): Log error output if program fails.
7897 2014-02-21 Pedro Alves <palves@redhat.com>
7899 * gdb.threads/step-after-sr-lock.c: Rename to ...
7900 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7901 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7902 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7905 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7908 * gdb.arch/amd64-stap-special-operands.exp: New file.
7909 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7910 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7911 * gdb.arch/amd64-stap-triplet.S: Likewise.
7912 * gdb.arch/amd64-stap-triplet.c: Likewise.
7914 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7916 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7917 in .section pseudo-op.
7919 2014-02-20 lin zuojian <manjian2006@gmail.com>
7920 Joel Brobecker <brobecker@adacore.com>
7921 Doug Evans <xdje42@gmail.com>
7924 * gdb.dwarf2/dw2-icycle.S: New file.
7925 * gdb.dwarf2/dw2-icycle.c: New file.
7926 * gdb.dwarf2/dw2-icycle.exp: New file.
7928 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7930 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7931 operations on gdb.Value objects.
7932 * gdb.python/py-value-cc.exp: Add new test to test operations on
7935 2014-02-18 Doug Evans <dje@google.com>
7937 * Makefile.in (TESTS): New variable.
7938 (expanded_tests, expanded_tests_or_none): New variables
7939 (check-single): Pass $(expanded_tests_or_none) to runtest.
7940 (check-parallel): Only run tests in $(TESTS) if non-empty.
7941 (check/no-matching-tests-found): New rule.
7942 * README: Document TESTS makefile variable.
7944 2014-02-18 Doug Evans <dje@google.com>
7946 * Makefile.in (check-parallel): rm -rf outputs temp.
7948 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7950 Fix "ERROR: no fileid for" in the testsuite.
7951 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7953 2014-02-12 Doug Evans <dje@google.com>
7955 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7956 (MISCELLANEOUS): New variable.
7957 (clean): rm -rf $(MISCELLANEOUS).
7958 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7959 dwp live in the same directory as symlinks, with each symlink pointed
7960 to a differently named file in a different directory.
7962 2014-02-11 Doug Evans <dje@google.com>
7964 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7965 of Tcl file commands.
7967 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7969 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7972 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7974 * gdb.ada/tick_length_array_enum_idx: New testcase.
7976 2014-02-10 Doug Evans <xdje42@gmail.com>
7978 * configure.ac (AC_OUTPUT): Add gdb.guile.
7979 * configure: Regenerate.
7980 * lib/gdb-guile.exp: New file.
7981 * lib/gdb.exp (get_target_charset): New function.
7982 * gdb.base/help.exp: Update expected output from "apropos apropos".
7983 * gdb.guile/Makefile.in: New file.
7984 * gdb.guile/guile.exp: New file.
7985 * gdb.guile/scm-arch.c: New file.
7986 * gdb.guile/scm-arch.exp: New file.
7987 * gdb.guile/scm-block.c: New file.
7988 * gdb.guile/scm-block.exp: New file.
7989 * gdb.guile/scm-breakpoint.c: New file.
7990 * gdb.guile/scm-breakpoint.exp: New file.
7991 * gdb.guile/scm-disasm.c: New file.
7992 * gdb.guile/scm-disasm.exp: New file.
7993 * gdb.guile/scm-equal.c: New file.
7994 * gdb.guile/scm-equal.exp: New file.
7995 * gdb.guile/scm-error.exp: New file.
7996 * gdb.guile/scm-error.scm: New file.
7997 * gdb.guile/scm-frame-args.c: New file.
7998 * gdb.guile/scm-frame-args.exp: New file.
7999 * gdb.guile/scm-frame-args.scm: New file.
8000 * gdb.guile/scm-frame-inline.c: New file.
8001 * gdb.guile/scm-frame-inline.exp: New file.
8002 * gdb.guile/scm-frame.c: New file.
8003 * gdb.guile/scm-frame.exp: New file.
8004 * gdb.guile/scm-generics.exp: New file.
8005 * gdb.guile/scm-gsmob.exp: New file.
8006 * gdb.guile/scm-iterator.c: New file.
8007 * gdb.guile/scm-iterator.exp: New file.
8008 * gdb.guile/scm-math.c: New file.
8009 * gdb.guile/scm-math.exp: New file.
8010 * gdb.guile/scm-objfile-script-gdb.in: New file.
8011 * gdb.guile/scm-objfile-script.c: New file.
8012 * gdb.guile/scm-objfile-script.exp: New file.
8013 * gdb.guile/scm-objfile.c: New file.
8014 * gdb.guile/scm-objfile.exp: New file.
8015 * gdb.guile/scm-ports.exp: New file.
8016 * gdb.guile/scm-pretty-print.c: New file.
8017 * gdb.guile/scm-pretty-print.exp: New file.
8018 * gdb.guile/scm-pretty-print.scm: New file.
8019 * gdb.guile/scm-section-script.c: New file.
8020 * gdb.guile/scm-section-script.exp: New file.
8021 * gdb.guile/scm-section-script.scm: New file.
8022 * gdb.guile/scm-symbol.c: New file.
8023 * gdb.guile/scm-symbol.exp: New file.
8024 * gdb.guile/scm-symtab-2.c: New file.
8025 * gdb.guile/scm-symtab.c: New file.
8026 * gdb.guile/scm-symtab.exp: New file.
8027 * gdb.guile/scm-type.c: New file.
8028 * gdb.guile/scm-type.exp: New file.
8029 * gdb.guile/scm-value-cc.cc: New file.
8030 * gdb.guile/scm-value-cc.exp: New file.
8031 * gdb.guile/scm-value.c: New file.
8032 * gdb.guile/scm-value.exp: New file.
8033 * gdb.guile/source2.scm: New file.
8034 * gdb.guile/types-module.cc: New file.
8035 * gdb.guile/types-module.exp: New file.
8037 2014-02-10 Yao Qi <yao@codesourcery.com>
8040 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
8041 * configure: Regenerated.
8042 * Makefile.in: New file.
8044 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
8046 * gdb.python/py-framefilter.exp: Fix typo.
8048 2014-02-08 Yao Qi <yao@codesourcery.com>
8050 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
8051 that no =breakpoint-modified is emitted when breakpoints are
8052 modified through MI commands.
8054 2014-02-07 Pedro Alves <pedro@codesourcery.com>
8055 Pedro Alves <palves@redhat.com>
8057 * gdb.threads/step-after-sr-lock.c: New file.
8058 * gdb.threads/step-after-sr-lock.exp: New file.
8060 2014-02-07 Pedro Alves <palves@redhat.com>
8062 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
8064 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
8066 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
8067 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
8069 2014-02-06 Doug Evans <xdje42@gmail.com>
8071 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
8074 * gdb.gdb/python-interrupts.exp: New file.
8076 2014-02-05 Yao Qi <yao@codesourcery.com>
8078 * gdb.trace/report.exp (use_collected_data): Test the output
8079 of "info threads" and "info inferiors".
8081 2014-02-05 Yao Qi <yao@codesourcery.com>
8085 2013-05-24 Yao Qi <yao@codesourcery.com>
8087 * gdb.trace/tfile.exp: Test inferior and thread.
8089 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8091 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
8093 * gdb.base/step-bt.c: Call hello via function pointer to make
8094 sure its first instruction is executed on powerpc64le-linux.
8096 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8098 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
8100 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8102 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
8103 of the test patterns for use on little-endian systems.
8105 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
8107 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
8108 (decimal_vector): Fix for little-endian.
8110 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
8112 * gdb.arch/sparc-sysstep.exp: New file.
8113 * gdb.arch/sparc-sysstep.c: Likewise.
8115 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
8117 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
8119 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
8121 2014-01-23 Tom Tromey <tromey@redhat.com>
8123 * gdb.ada/array_char_idx: New testcase.
8125 2014-01-23 Tom Tromey <tromey@redhat.com>
8128 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
8129 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
8132 2014-01-23 Tom Tromey <tromey@redhat.com>
8135 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
8136 string from an inferior frame.
8137 * gdb.python/py-framefilter-mi.exp: Update.
8139 2014-01-22 Doug Evans <dje@google.com>
8141 * gdb.server/server-mon.exp: Add tests for "set debug-format".
8143 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8145 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
8147 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8149 * gdb.trace/entry-values.exp: Remove excess space character from
8150 regex patterns. Handle s390 call instruction.
8152 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8154 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
8155 define "*_start" label. Make "name" static.
8156 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
8157 ${name} by references to ${name}_start.
8159 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
8161 * gdb.base/info-macros.exp: Remove "debug" from the compile
8164 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8166 * gdb.dlang/demangle.exp: New file.
8168 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8170 * gdb.dlang/primitive-types.exp: New file.
8172 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
8174 * configure.ac: Create gdb.dlang/Makefile.
8175 * configure: Regenerate.
8176 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
8177 * gdb.dlang/Makefile.in: New file.
8178 * lib/d-support.exp: New file.
8179 * lib/gdb.exp (skip_d_tests): New proc.
8181 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8183 * gdb.btrace/delta.exp: Check reverse stepi.
8184 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
8185 * gdb.btrace/finish.exp: New.
8186 * gdb.btrace/next.exp: New.
8187 * gdb.btrace/nexti.exp: New.
8188 * gdb.btrace/record_goto.c: Add comments.
8189 * gdb.btrace/step.exp: New.
8190 * gdb.btrace/stepi.exp: New.
8191 * gdb.btrace/multi-thread-step.c: New.
8192 * gdb.btrace/multi-thread-step.exp: New.
8193 * gdb.btrace/rn-dl-bind.c: New.
8194 * gdb.btrace/rn-dl-bind.exp: New.
8195 * gdb.btrace/data.c: New.
8196 * gdb.btrace/data.exp: New.
8197 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8199 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8201 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
8202 * gdb.btrace/exception.exp: Update.
8203 * gdb.btrace/instruction_history.exp: Update.
8204 * gdb.btrace/record_goto.exp: Update.
8205 * gdb.btrace/tailcall.exp: Update.
8206 * gdb.btrace/unknown_functions.exp: Update.
8207 * gdb.btrace/delta.exp: New.
8209 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8211 * gdb.btrace/record_goto.exp: Add backtrace test.
8212 * gdb.btrace/tailcall.exp: Add backtrace test.
8214 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8216 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
8217 * gdb.btrace/record_goto.c: New.
8218 * gdb.btrace/record_goto.exp: New.
8219 * gdb.btrace/x86-record_goto.S: New.
8221 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8223 * gdb.btrace/function_call_history.exp: Update tests.
8224 * gdb.btrace/instruction_history.exp: Update tests.
8226 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8228 * gdb.btrace/function_call_history.exp: Fix expected field
8229 order for "record function-call-history".
8230 Add new tests for "record function-call-history /c".
8231 * gdb.btrace/exception.cc: New.
8232 * gdb.btrace/exception.exp: New.
8233 * gdb.btrace/tailcall.exp: New.
8234 * gdb.btrace/x86-tailcall.S: New.
8235 * gdb.btrace/x86-tailcall.c: New.
8236 * gdb.btrace/unknown_functions.c: New.
8237 * gdb.btrace/unknown_functions.exp: New.
8238 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8240 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8242 * gdb.btrace/instruction_history.exp: Update.
8243 * gdb.btrace/function_call_history.exp: Update.
8245 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8247 * gdb.btrace/function_call_history.exp: Fix expected function
8249 * gdb.btrace/instruction_history.exp: Initialize traced.
8250 Remove traced_functions.
8252 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8254 * gdb.btrace/function_call_history.exp: Update
8255 * gdb.btrace/instruction_history.exp: Update.
8257 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8259 * gdb.btrace/enable.exp: Update expected text.
8261 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8263 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8266 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8268 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8270 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8272 * lib/gdb.exp (supports_process_record): Return true for
8273 arm*-linux*. (supports_reverse): Likewise.
8275 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8279 * gdb.python/py-type.c: Enhance test case.
8280 * gdb.python/py-value-cc.cc: Likewise
8281 * gdb.python/py-type.exp: Add new tests.
8282 * gdb.python/py-value-cc.exp: Likewise
8284 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8285 Pedro Alves <palves@redhat.com>
8287 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8289 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8290 references to ${name}_start by references to ${name}.
8292 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8294 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8296 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8298 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8300 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8301 Pedro Alves <palves@redhat.com>
8303 * gdb.mi/mi-info-os.exp: Connect to the target with
8306 2014-01-08 Pedro Alves <palves@redhat.com>
8308 * gdb.threads/reconnect-signal.c: New file.
8309 * gdb.threads/reconnect-signal.exp: New file.
8311 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8313 * gdb.base/source-dir.exp: New file.
8315 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8317 * gdb.ada/mi_interface: New testcase.
8319 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8321 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8322 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8323 gdb.ada/pp-rec-component/pck.ads: New files.
8325 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8327 * gdb.python/py-pp-integral.c: New file.
8328 * gdb.python/py-pp-integral.py: New file.
8329 * gdb.python/py-pp-integral.exp: New file.
8331 For older changes see ChangeLog-1993-2013.
8337 ;; version-control: never
8340 Copyright 2014-2016 Free Software Foundation, Inc.
8341 Copying and distribution of this file, with or without modification,
8342 are permitted provided the copyright notice and this notice are preserved.