1 2016-04-22 Yao Qi <yao.qi@linaro.org>
3 * gdb.trace/unavailable.exp (gdb_collect_globals_test_1): Match
6 2016-04-22 Yao Qi <yao.qi@linaro.org>
8 * gdb.base/annota1.exp: Set breakpoint on line $main_line.
9 * gdb.base/annota3.exp: Likewise.
11 2016-04-22 Yao Qi <yao.qi@linaro.org>
13 * gdb.reverse/step-precsave.exp: Do one step and test program
14 stops in "callee" and do multiple steps until program goes out
16 * gdb.reverse/step-reverse.exp: Likewise.
18 2016-04-22 Yao Qi <yao.qi@linaro.org>
20 * gdb.trace/signal.exp: Also pass if
21 $tracepoint_hits($i) > $iterations.
23 2016-04-22 Yao Qi <yao.qi@linaro.org>
25 * gdb.trace/signal.c: New file.
26 * gdb.trace/signal.exp: New file.
28 2016-04-19 Doug Evans <xdje42@gmail.com>
30 * gdb.base/bad-file.exp: New file.
32 2016-04-18 Martin Galvan <martin.galvan@tallertechnologies.com>
34 * gdb.dwarf2/implref.exp: New file.
36 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
38 * gdb.fortran/common-block.exp: Use type naming defined in lib fortran.
39 * gdb.fortran/derived-type.exp: Use type naming defined in lib fortran.
40 * gdb.fortran/multi-dim.exp: Use type naming defined in lib fortran.
41 * gdb.fortran/vla-datatypes.exp: Use type naming defined in lib fortran.
42 * gdb.fortran/vla-ptype-sub.exp: Use type naming defined in lib fortran.
43 * gdb.fortran/vla-ptype.exp: Use type naming defined in lib fortran.
44 * gdb.fortran/whatis_type.exp: Use type naming defined in lib fortran.
45 * lib/fortran.exp (fortran_int4): New procedure.
46 (fortran_real4, fortran_real8, fortran_complex4): Likewise.
47 (fortran_logical4): Likewise.
49 2016-04-18 Benrhard Heckel <bernhard.heckel@intel.com>
51 * lib/gdb.exp (gdb_compile_shlib): Add flag for ICC compiler.
53 2016-04-18 Bernhard Heckel <bernhard.heckel@intel.com>
55 * lib/compiler.c: Add Intel specific preprocessor macros.
56 * lib/compiler.cc: Likewise.
58 2016-04-13 Luis Machado <lgustavo@codesourcery.com>
60 * gdb.server/connect-with-no-symbol-file.c: New file.
61 * gdb.server/connect-with-no-symbol-file.exp: New file.
63 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
65 * lib/gdb.exp (gdb_remote_download): Fix and extend comment.
67 2016-04-13 Simon Marchi <simon.marchi@ericsson.com>
69 * boards/gdbserver-base.exp (${board}_download): Copy source file to
70 standard output directory.
72 2016-04-13 Antoine Tremblay <antoine.tremblay@ericsson.com>
74 * gdb.trace/trace-condition.exp (foreach): Fix emit_sub testcase.
76 2016-04-13 Markus Metzger <markus.t.metzger@intel.com>
78 * gdb.btrace/instruction_history.c (loop): Add declaration.
80 2016-04-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
82 * gdb.trace/ftrace.exp (proc): Change test prefix from "ond" to "cond".
84 2016-04-09 Simon Marchi <simon.marchi@polymtl.ca>
86 * gdb.python/py-mi-events-gdb.py (signal_stop_handler): Add
88 (continue_handler): Likewise.
90 2016-04-08 Simon Marchi <simon.marchi@ericsson.com>
92 * gdb.server/solib-list.exp: Remove is_remote check.
93 Pass shlib= to gdb_compile. Don't link shared library with
94 -soname. Call gdb_remote_download instead of gdb_load_shlibs.
95 Run binary filename through "readlink -f" on the target.
97 2016-04-08 Pedro Alves <palves@redhat.com>
99 * gdb.server/solib-list.exp: Don't use gdb_load. Instead pass the
100 interpreter filename as argument to gdbserver_spawn.
101 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
102 Return empty if $last_loaded_file does not exist.
104 2016-04-08 Jan Kratochvil <jan.kratochvil@redhat.com>
106 Fix compatibility with gcc-4.8.5-4.el7.x86_64.
107 * gdb.base/jit-main.c: Use exit after usage.
109 2016-04-07 Jan Kratochvil <jan.kratochvil@redhat.com>
111 * gdb.base/gdbhistsize-history.exp: Save and unset GDBHISTFILE and
112 GDBHISTSIZE prior to the tests.
113 * gdb.base/gdbinit-history.exp: Likewise.
115 2016-04-07 Pedro Alves <palves@redhat.com>
117 * gdb.compile/compile.exp: Use gdb_compile with "shlib=" option
118 instead of build_executable. Use gdb_load_shlibs.
120 2016-04-07 Yao Qi <yao.qi@linaro.org>
122 * gdb.reverse/finish-reverse-bkpt.exp: Use temporary breakpoint.
123 Execute "si" command.
125 2016-04-07 Yao Qi <yao.qi@linaro.org>
127 * gdb.reverse/next-reverse-bkpt-over-sr.exp: Match the breakpoint
128 number instead of the comments on some line.
130 2016-04-06 Don Breazeal <donb@codesourcery.com>
132 * gdb.dwarf2/dw2-opt-structptr.c: New test program.
133 * gdb.dwarf2/dw2-opt-structptr.exp: New test script.
135 2016-04-06 Simon Marchi <simon.marchi@ericsson.com>
137 * gdb.threads/dlopen-libpthread.exp: Set binfile_lib using
138 standard_output_file. Remove unused binfile variable.
140 2016-04-05 Catalin Udma <catalin.udma@freescale.com>
142 * gdb.python/py-mi-objfile-gdb.py: Use "list main" command.
143 * gdb.python/py-mi-objfile.exp: Match "list main" output
146 2016-04-05 Simon Marchi <simon.marchi@polymtl.ca>
148 * gdb.arch/ftrace-insn-reloc.exp: Check for IPA basename instead of
151 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
153 * gdb.trace/ftrace-lock.exp: Check for IPA basename instead of
155 * gdb.trace/ftrace.exp: Likewise.
156 * lib/gdb.exp (gdb_compile): Set rpath $ORIGIN for non-remote
158 (gdb_compile_shlib): Set SONAME for non-remote targets as well.
159 (gdb_load_shlibs): Copy libraries to test directory when testing
160 natively. Only set solib-search-path if testing remotely.
161 * lib/mi-support.exp (mi_load_shlibs): Likewise.
163 2016-04-05 Simon Marchi <simon.marchi@ericsson.com>
165 * gdb.base/jit-so.exp: Use gdb_remote_download instead of
166 gdb_download. Use it even if the target is not remote.
167 * gdb.base/jit.exp (compile_jit_test): Likewise.
168 * lib/gdb.exp (gdb_remote_download): Copy files to the standard
169 output directory if the destination board is local, otherwise use
170 the standard remote_download from DejaGnu.
171 (gdb_download): Remove.
172 (gdb_load_shlibs): Use gdb_remote_download instead of
174 * lib/gdbserver-support.exp (gdbserver_download_current_prog):
175 Use gdb_remote_download instead of gdb_download. Use it even if
176 the target is not remote.
177 * lib/mi-support.exp (mi_load_shlibs): Use gdb_remote_download
178 instead of gdb_download.
180 2016-04-04 Simon Marchi <simon.marchi@polymtl.ca>
182 * gdb.mi/mi-breakpoint-changed.exp: Add some with_test_prefix.
183 (test_insert_delete_modify): Call mi_load_shlibs before trying to
186 2016-04-01 Artemiy Volkov <artemiyv@acm.org>
189 * gdb.base/printcmds.exp: Add artificial arrays tests.
191 2016-03-31 Pedro Alves <palves@redhat.com>
194 * gdb.base/jit-main.c: Include unistd.h.
195 (ATTACH): Define to 0 if not already defined.
196 (wait_for_gdb, mypid): New globals.
197 (WAIT_FOR_GDB): New macro.
198 (MAIN): Set an alarm. Store the process's pid. Wait for GDB at
199 some breakpoint locations.
200 * gdb.base/jit.exp (clean_reattach, continue_to_test_location):
202 (one_jit_test): Add REATTACH parameter, and handle it. Use
203 continue_to_test_location.
204 (top level): Test attach, and adjusts calls to one_jit_test.
206 2016-03-31 Pedro Alves <palves@redhat.com>
209 * gdb.base/jit.exp (compile_jit_test): Add intro comment. Add
210 BINSUFFIX parameter, and handle it.
211 (top level): Adjust calls compile_jit_test.
213 2016-03-31 Catalin Udma <catalin.udma@freescale.com>
216 * gdb.python/py-mi-events-gdb.py: New file.
217 * gdb.python/py-mi-events.c: New file.
218 * gdb.python/py-mi-events.exp: New file.
220 2016-03-30 Yao Qi <yao.qi@linaro.org>
222 * gdb.reverse/until-precsave.exp: Match function name only.
223 * gdb.reverse/until-reverse.c (main): Don't call fprintf nor printf.
224 Move malloc to a condition block.
225 * gdb.reverse/until-reverse.exp: Match function name only.
227 2016-03-29 Marcin KoĆcielnicki <koriakin@0x04.net>
229 * gdb.trace/ftrace.exp: Set arg0exp for s390.
230 * gdb.trace/mi-trace-frame-collected.exp: Expect 4 registers on s390.
231 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for s390, add gpr0num
232 variable for GPR 0 instead of assuming it is register 0.
233 * gdb.trace/trace-common.h: Add s390 fast tracepoint placeholder.
234 * lib/trace-support.exp: Add s390 registers.
236 2016-03-29 Yao Qi <yao.qi@linaro.org>
238 * gdb.arch/arm-neon.exp: Pass debug to prepare_for_testing.
240 2016-03-24 Yao Qi <yao.qi@linaro.org>
242 * gdb.reverse/break-reverse.exp: Add quotation mark in the
245 2016-03-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
247 * gdb.arch/s390-multiarch.exp: Use standard_testfile instead of
248 maintaining separate logic for constructing the output path.
250 2016-03-16 Don Breazeal <donb@codesourcery.com>
252 * gdb.threads/forking-threads-plus-breakpoint.c (thread_forks):
253 Retry fork and waitpid on interrupted system call errors.
254 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
255 Use with_timeout_factor to increase timeout by factor of 10.
257 2016-03-15 Don Breazeal <donb@codesourcery.com>
259 * gdb.cp/scope-err.cc: New test program.
260 * gdb.cp/scope-err.exp: New test script.
261 * gdb.linespec/ls-errs.c (myfunction): Expanded to have multiple
262 lines and "set breakpoint here" comment.
263 * gdb.linespec/ls-errs.exp: Added C++ testing and new test case.
264 Fixed some whitespace and format issues.
265 * gdb.mi/mi-linespec-err-cp.cc: New test program.
266 * gdb.mi/mi-linespec-err-cp.exp: New test script.
268 2016-03-15 Doug Evans <dje@google.com>
270 * gdb.xml/extra-regs.xml: Add enum, mixed_flags values.
271 * gdb.xml/tdesc-regs.exp (load_description): New arg xml_file.
272 All callers updated. Add tests for enums, mixed flags register.
274 2016-03-15 Doug Evans <dje@google.com>
276 * gdb.base/skip.c (main): Call test_skip_file_and_function.
277 * gdb.base/skip.exp: Remove hand calling test_skip_file_and_function.
279 2016-03-14 Simon Marchi <simon.marchi@ericsson.com>
281 * gdb.base/default.exp: Add $_as_string to the list of expected
282 convenience functions.
284 2016-03-11 Andrew Burgess <andrew.burgess@embecosm.com>
286 * gdb.base/maint.exp: New tests for 'maint info line-table'.
288 2016-03-10 Simon Marchi <simon.marchi@polymtl.ca>
290 * gdb.python/py-as-string.exp: New file.
291 * gdb.python/py-as-string.c: New file.
293 2016-03-09 Pedro Alves <palves@redhat.com>
295 * gdb.threads/attach-into-signal.exp: Adjust to "Program received
296 signal" -> "Thread NN received signal" output change.
297 * gdb.threads/ia64-sigill.exp: Likewise.
298 * gdb.threads/linux-dp.exp: Likewise.
299 * gdb.threads/manythreads.exp: Likewise.
300 * gdb.threads/pending-step.exp: Likewise.
301 * gdb.threads/print-threads.exp: Likewise.
302 * gdb.threads/sigstep-threads.exp: Likewise.
303 * gdb.threads/staticthreads.exp: Likewise.
304 * gdb.threads/tls.exp: Likewise.
306 2016-03-09 Pedro Alves <palves@redhat.com>
308 * gdb.base/command-line-input.exp: New file.
310 2016-03-09 Marcin KoĆcielnicki <koriakin@0x04.net>
312 * gdb.trace/ftrace.exp: Set arg0exp for ppc.
313 * gdb.trace/mi-trace-unavailable.exp: Set pcnum for ppc.
314 * gdb.trace/pending.exp: Accept leading dot before function name.
315 * gdb.trace/trace-common.h: Add fast tracepoint dummy insn for ppc.
316 * lib/trace-support.exp: Set registers for ppc.
318 2016-03-09 Marcin KoĆcielnicki <koriakin@0x04.net>
320 * gdb.trace/entry-values.exp: Link ${binfile}1.o to ${binfile}1 and
321 use it for disassembly; accept .main in addition to main in backtrace.
323 2016-03-09 Wei-cheng Wang <cole945@gmail.com>
324 Marcin KoĆcielnicki <koriakin@0x04.net>
326 * gdb.trace/actions.c (gdb_recursion_test_fp): New typedef.
327 (gdb_recursion_test_ptr): New global variable.
328 (gdb_recursion_test): Call gdb_recursion_test_ptr instead of
332 2016-03-09 Marcin KoĆcielnicki <koriakin@0x04.net>
334 * gdb.trace/change-loc.exp: Don't depend on tracepoint location
337 2016-03-09 Marcin KoĆcielnicki <koriakin@0x04.net>
339 * gdb.trace/unavailable-dwarf-piece.c (foo): Add foo_start_lbl label.
340 (bar): Add bar_start_lbl label.
341 * gdb.trace/unavailable-dwarf-piece.exp: Use foo/bar_start_lbl instead
342 of foo/bar for emitting DWARF and tracing.
344 2016-03-06 Sergio Durigan Junior <sergiodj@redhat.com>
346 * analyze-racy-logs.py: Set executable bit.
348 2016-03-05 Sergio Durigan Junior <sergiodj@redhat.com>
350 * Makefile.in (DEFAULT_RACY_ITER): New variable.
351 (CHECK_TARGET_TMP): Likewise.
352 (check-single-racy): New rule.
353 (check-parallel-racy): Likewise.
354 (TEST_TARGETS): Adjust rule to account for RACY_ITER.
355 (do-check-parallel-racy): New rule.
356 (check-racy/%.exp): Likewise.
357 * README (Racy testcases): New section.
358 * analyze-racy-logs.py: New file.
360 2016-03-03 Doug Evans <dje@google.com>
362 * gdb.base/skip.exp: Use with_test_prefix.
364 2016-03-03 Yao Qi <yao.qi@linaro.org>
366 * gdb.base/step-over-syscall.exp (step_over_syscall): Kfail.
367 Invoke step_over_syscall "clone" and break_cond_on_syscall
369 * gdb.base/step-over-clone.c: New file.
371 2016-03-03 Yao Qi <yao.qi@linaro.org>
373 * gdb.base/step-over-syscall.exp (disp_step_cross_syscall): Fix
376 2016-03-03 Yao Qi <yao.qi@linaro.org>
378 * gdb.base/disp-step-fork.c: Rename to ...
379 * gdb.base/step-over-fork.c: ... it. New file.
380 * gdb.base/disp-step-vfork.c: Rename to ...
381 * gdb.base/step-over-vfork.c: ... it. New file.
382 * gdb.base/disp-step-syscall.exp: Rename to ...
383 * gdb.base/step-over-syscall.exp: ... it. New file.
384 (disp_step_cross_syscall): Rename to ...
385 (step_over_syscall): ... it.
387 2016-03-03 Yao Qi <yao.qi@linaro.org>
389 * gdb.base/disp-step-syscall.exp (break_cond_on_syscall): New.
390 If target supports condition evaluation on target, invoke
391 break_cond_on_syscall for fork and vfork.
393 2016-03-03 Yao Qi <yao.qi@linaro.org>
395 * gdb.base/disp-step-syscall.exp: Don't invoke
396 support_displaced_stepping.
397 (disp_step_cross_syscall): Test with displaced stepping off and
400 2016-03-03 Yao Qi <yao.qi@linaro.org>
402 * gdb.base/disp-step-syscall.exp (check_pc_after_cross_syscall): New
405 (disp_step_cross_syscall): Move code to check_pc_after_cross_syscall
408 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
410 * gdb.fortran/vla-history.exp: Remove breakpoint.
412 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
414 * gdb.fortran/vla-history.exp: Lookup array elements and printing exceeds timeout.
416 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
418 * gdb.cp/vla-cxx.cc: Insert dummy assignment as anchor for an breakpoint.
420 2016-03-02 Bernhard Heckel <bernhard.heckel@intel.com>
422 * gdb.mi/vla.f90: Nullify pointer after declaration.
424 2016-03-01 Pedro Alves <palves@redhat.com>
426 * gdb.trace/ftrace-lock.c: Include <unistd.h>.
428 2016-03-01 Pedro Alves <palves@redhat.com>
430 * gdb.threads/watchpoint-fork-child.c: Include "watchpoint-fork.h"
431 before anything else.
432 * gdb.threads/watchpoint-fork-mt.c: Likewise. Don't define
434 * gdb.threads/watchpoint-fork-st.c: Include "watchpoint-fork.h"
435 before anything else.
436 * gdb.threads/watchpoint-fork.h: Define _GNU_SOURCE.
438 2016-03-01 Pedro Alves <palves@redhat.com>
440 * gdb.base/catch-fork-kill.c: Include <sys/wait.h>.
442 2016-03-01 Yao Qi <yao.qi@linaro.org>
444 * gdb.arch/arm-disp-step.exp: Use standard_testfile and
447 2016-03-01 Yao Qi <yao.qi@linaro.org>
449 * gdb.arch/arm-neon.exp: Pass quiet to prepare_for_testing.
451 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
453 * gdb.arch/s390-tdbregs.exp: Use prepare_for_testing instead of
454 manually constructing the output path.
456 2016-03-01 Andreas Arnez <arnez@linux.vnet.ibm.com>
458 * gdb.arch/s390-stackless.S: New.
459 * gdb.arch/s390-stackless.exp: New.
461 2016-02-28 Iain Buclaw <ibuclaw@gdcproject.org>
463 * gdb.dlang/circular.c: New file.
464 * gdb.dlang/circular.exp: New file.
466 2016-02-26 Yao Qi <yao.qi@linaro.org>
468 * gdb.reverse/insn-reverse.c [__arm__] (ext_reg_load): New.
469 [__arm__] (ext_reg_mov, ext_reg_push_pop): New.
472 2016-02-26 Yao Qi <yao.qi@linaro.org>
474 * gdb.reverse/aarch64.c: Rename to ...
475 * gdb.reverse/insn-reverse.c: ... it.
476 * gdb.reverse/aarch64.exp: Rename to ...
477 * gdb.reverse/insn-reverse.exp: ... it.
479 2016-02-26 Yao Qi <yao.qi@linaro.org>
481 * gdb.reverse/aarch64.c: [__aarch64__] Include arm_neon.h.
482 (testcase_ftype): New.
483 (testcases): New array.
485 (main): Call each element in testcases.
486 * gdb.reverse/aarch64.exp: Remove is_aarch64_target check.
487 (read_testcase): New.
488 Do the tests in a loop.
490 2016-02-25 Yao Qi <yao.qi@linaro.org>
492 * gdb.base/branches.c: Remove.
494 2016-02-25 Marcin KoĆcielnicki <koriakin@0x04.net>
497 * gdb.trace/ftrace.exp (test_fast_tracepoints): Remove kfail.
499 2016-02-25 Marcin KoĆcielnicki <koriakin@0x04.net>
501 * gdb.trace/ftrace.exp: Remove unnecessary target check.
503 2016-02-25 Marcin KoĆcielnicki <koriakin@0x04.net>
505 * gdb.trace/entry-values.exp: Surround $call_insn with '\y',
506 change x86_64 call_insn to 'callq'.
508 2016-02-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
510 * gdb.trace/tfile-avx.c: Move to...
511 * gdb.trace/tracefile-pseudo-reg.c: Here.
512 * gdb.trace/tfile-avx.exp: Move to...
513 * gdb.trace/tracefile-pseudo-reg.exp: Here.
515 2016-02-24 Gary Benson <gbenson@redhat.com>
517 * gdb.base/attach-pie-noexec.exp: Do not expect an error
520 2016-02-23 Doug Evans <dje@google.com>
522 * gdb.base/skip.c (test_skip): New function.
523 (end_test_skip_file_and_function): New function.
524 (test_skip_file_and_function): New function.
525 * gdb.base/skip1.c (test_skip): New function.
526 (skip1_test_skip_file_and_function): New function.
527 * gdb.base/skip.exp: Add tests for new skip options.
528 * gdb.base/skip-solib.exp: Update expected output.
529 * gdb.perf/skip-command.cc: New file.
530 * gdb.perf/skip-command.exp: New file.
531 * gdb.perf/skip-command.py: New file.
533 2016-02-22 Marcin KoĆcielnicki <koriakin@0x04.net>
535 * gdb.trace/unavailable.exp (gdb_unavailable_registers_test_1): Fix
536 info registers pattern.
538 2016-02-18 Iain Buclaw <ibuclaw@gdcproject.org>
540 * lib/future.exp: Add D support.
541 (gdb_find_gdc): New proc.
542 (gdb_default_target_compile): Add D support.
544 2016-02-18 Wei-cheng Wang <cole945@gmail.com>
546 * gdb.trace/tspeed.c (myclock): Return wallclock instead of
548 (trace_speed_test): Determine the iteration count for a time
549 between 15..30 seconds.
551 2016-02-18 Walfred Tedeschi <walfred.tedeschi@intel.com>
553 * gdb.arch/i386-mpx-sigsegv.c: New file.
554 * gdb.arch/i386-mpx-sigsegv.exp: New file.
555 * gdb.arch/i386-mpx-simple_segv.c: New file.
556 * gdb.arch/i386-mpx-simple_segv.exp: New file.
558 2016-02-18 Yao Qi <yao.qi@linaro.org>
560 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
561 Don't call setup_kfail.
563 2016-02-18 Yao Qi <yao.qi@linaro.org>
565 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
566 Set "set breakpoint condition-evaluation" per $cond_bp_target.
568 2016-02-16 Doug Evans <dje@google.com>
570 * gdb.base/skip.c: Add copyright. Whitespace cleanup.
571 * gdb.base/skip1.c: Ditto.
572 * gdb.base/skip.exp: Whitespace cleanup.
574 2016-02-16 Don Breazeal <donb@codesourcery.com>
577 * gdb.threads/forking-threads-plus-breakpoint.exp (do_test):
578 Remove kfail for PR remote/19496.
580 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
582 * lib/gdb.exp (standard_temp_file): Return a path specific to
583 the runtest invocation.
585 2016-02-16 Simon Marchi <simon.marchi@ericsson.com>
587 * gdb.trace/save-trace.exp: Change relative path to be in the
588 standard output directory.
590 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
592 * gdb.arch/i386-prologue.c: Add missing prototypes.
594 2016-02-15 Jan Kratochvil <jan.kratochvil@redhat.com>
596 * gdb.arch/i386-gnu-cfi.exp: Use standard_output_file.
597 * gdb.arch/i386-prologue.exp: Likewise.
598 * gdb.arch/i386-size.exp: Likewise.
600 2016-02-15 Simon Marchi <simon.marchi@ericsson.com>
602 * gdb.base/wrong_frame_bt_full.exp: Use standard_output_file to
603 define object file path.
604 * gdb.btrace/gcore.exp: Use standard_output_file to define core
606 * lib/opencl.exp (gdb_compile_opencl_hostapp): Use
607 standard_output_file to define binfile.
609 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
611 Fix compatibility with recent gfortran-5.3.1.
612 * gdb.fortran/vla-history.exp (print vla1 allocated)
613 (print vla2 allocated, print $2, print $3): Remove
614 (print $4): Rename to ...
615 (print $2): ... here.
616 (print $9): Rename to ...
617 (print $5): ... here.
618 (print $10): Rename to ...
619 (print $6): ... here.
620 * gdb.fortran/vla.f90: Add pvla initialization.
622 2016-02-14 Jan Kratochvil <jan.kratochvil@redhat.com>
624 * gdb.fortran/vla-value-sub-finish.exp (set max-value-size 1024*1024):
626 * gdb.fortran/vla-value-sub.exp: Likewise.
628 2016-02-12 Marcin KoĆcielnicki <koriakin@0x04.net>
630 * gdb.trace/tfile-avx.c (main): Change ymm15 to xmm15.
632 2016-02-12 Simon Marchi <simon.marchi@ericsson.com>
634 * i386-biarch-core.exp: Define corefile using
635 standard_output_file.
637 2016-02-12 Yao Qi <yao.qi@linaro.org>
639 * gdb.arch/arm-single-step-kernel-helper.c: New.
640 * gdb.arch/arm-single-step-kernel-helper.exp: New.
642 2016-02-12 Markus Metzger <markus.t.metzger@intel.com>
644 * gdb.btrace/tailcall-only.exp: New.
645 * gdb.btrace/tailcall-only.c: New.
646 * gdb.btrace/x86_64-tailcall-only.S: New.
647 * gdb.btrace/i686-tailcall-only.S: New.
649 2016-02-11 Pedro Alves <palves@redhat.com>
651 * README (Parallel testing): Add missing double quotes.
653 2016-02-11 Pedro Alves <palves@redhat.com>
655 * README (Parallel testing): New section.
656 (GDB_PARALLEL): Rewrite.
657 (FORCE_PARALLEL): Document.
659 2016-02-11 Marcin KoĆcielnicki <koriakin@0x04.net>
661 * gdb.trace/tfile-avx.c: New test.
662 * gdb.trace/tfile-avx.exp: New test.
664 2016-02-09 Keith Seitz <keiths@redhat.com>
667 * gdb.base/infcall-exec.c: New file.
668 * gdb.base/infcall-exec2.c: New file.
669 * gdb.base/infcall-exec.exp: New file.
671 2016-02-09 Keith Seitz <keiths@redhat.com>
673 * gdb.guile/scm-breakpoint.exp (test_bkpt_address): New procedure.
674 (toplevel): Call test_bkpt_address.
676 2016-02-09 Keith Seitz <keiths@redhat.com>
679 * gdb.python/py-breakpoint.exp (test_bkpt_address): New procedure.
680 (toplevel): Call test_bkpt_address.
682 2016-02-09 Simon Marchi <simon.marchi@ericsson.com>
684 * configure.ac: Use AC_CONFIG_FILES instead of passing arguments
686 * configure: Regenerate.
688 2016-02-09 Pedro Alves <palves@redhat.com>
691 * gdb.base/execl-update-breakpoints.c (some_function): New
694 * gdb.base/execl-update-breakpoints.exp: Add a second breakpoint.
695 Tighten expected GDB output.
697 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
699 * Makefile.in (ALL_SUBDIRS): Remove.
700 (clean mostlyclean): Do not recurse in ALL_SUBDIRS.
701 (distclean maintainer-clean realclean): Likewise.
702 * configure.ac (AC_OUTPUT): Remove gdb.*/Makefile.
703 * configure: Regenerate.
704 * gdb.ada/Makefile.in: Delete.
705 * gdb.arch/Makefile.in: Likewise.
706 * gdb.asm/Makefile.in: Likewise.
707 * gdb.base/Makefile.in: Likewise.
708 * gdb.btrace/Makefile.in: Likewise.
709 * gdb.cell/Makefile.in: Likewise.
710 * gdb.compile/Makefile.in: Likewise.
711 * gdb.cp/Makefile.in: Likewise.
712 * gdb.disasm/Makefile.in: Likewise.
713 * gdb.dlang/Makefile.in: Likewise.
714 * gdb.dwarf2/Makefile.in: Likewise.
715 * gdb.fortran/Makefile.in: Likewise.
716 * gdb.gdb/Makefile.in: Likewise.
717 * gdb.go/Makefile.in: Likewise.
718 * gdb.guile/Makefile.in: Likewise.
719 * gdb.java/Makefile.in: Likewise.
720 * gdb.linespec/Makefile.in: Likewise.
721 * gdb.mi/Makefile.in: Likewise.
722 * gdb.modula2/Makefile.in: Likewise.
723 * gdb.multi/Makefile.in: Likewise.
724 * gdb.objc/Makefile.in: Likewise.
725 * gdb.opencl/Makefile.in: Likewise.
726 * gdb.opt/Makefile.in: Likewise.
727 * gdb.pascal/Makefile.in: Likewise.
728 * gdb.perf/Makefile.in: Likewise.
729 * gdb.python/Makefile.in: Likewise.
730 * gdb.reverse/Makefile.in: Likewise.
731 * gdb.server/Makefile.in: Likewise.
732 * gdb.stabs/Makefile.in: Likewise.
733 * gdb.threads/Makefile.in: Likewise.
734 * gdb.trace/Makefile.in: Likewise.
735 * gdb.xml/Makefile.in: Likewise.
736 * lib/gdb.exp (make_gdb_parallel_path): Add check for
738 (standard_output_file): Remove check for GDB_PARALLEL, always
739 return path in outputs/$subdir/$testname.
741 2016-02-08 Simon Marchi <simon.marchi@ericsson.com>
743 * Makefile.in (abs_srcdir): Assign @abs_srcdir@.
744 (site.exp): Assign abs_srcdir to tcl's srcdir.
746 2016-02-04 Yao Qi <yao.qi@linaro.org>
748 * gdb.base/foll-exec-mode.c: Include limits.h.
749 (main): Add parameters argc and argv. Get directory from
751 * gdb.base/foll-exec-mode.exp: Don't pass -DBASEDIR in
753 * gdb.base/foll-exec.c: Include limits.h.
754 (main): Add parameters argc and argv.
755 Get directory from argv[0].
756 * gdb.base/foll-exec.exp: Don't pass -DBASEDIR in compilation.
757 Adjust tests on the number of lines as source code changed.
758 * gdb.base/foll-vfork-exit.c: Include limits.h.
759 (main): Add one line of statement before vfork.
760 * gdb.base/foll-vfork.c: Include limits.h and string.h.
761 (main): Add parameters argc and argv. Get directory from
763 * gdb.base/foll-vfork.exp: Don't pass -DBASEDIR in compilation.
764 (setup_gdb): Set tbreak to skip some source lines.
765 * gdb.multi/bkpt-multi-exec.c: Include limits.h.
766 (main): Add parameters argc and argv. Get directory from
768 * gdb.multi/bkpt-multi-exec.exp: Don't pass -DBASEDIR in
770 * gdb.multi/multi-arch-exec.c: Include limits.h and string.h.
771 (main): Add parameters argc and argv. Get directory from
773 * gdb.multi/multi-arch-exec.exp: Don't pass -DBASEDIR in
776 2016-02-01 Doug Evans <dje@google.com>
778 * gdb.base/skip.exp: Clean up multiple references to same test name.
780 2016-02-01 Pedro Alves <palves@redhat.com>
783 * gdb.threads/forking-threads-plus-breakpoint.exp
784 (displaced_stepping_supported): New global.
785 (probe_displaced_stepping_support): New procedure.
786 (do_test): Add 'displaced' parameter, and use it.
787 (top level): Check for displaced stepping support. Add displaced
788 stepping on/off testing axis.
790 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
792 * gdb.mi/mi-vla-fortran.exp: Add XFAIL for accessing unassociated
793 pointer. Don't perform further tests on the unassociated pointer
794 if the first test fails.
796 2016-02-01 Andrew Burgess <andrew.burgess@embecosm.com>
798 * gdb.base/max-value-size.c: New file.
799 * gdb.base/max-value-size.exp: New file.
800 * gdb.base/huge.exp: Disable max-value-size for this test.
802 2016-01-28 Iain Buclaw <ibuclaw@gdcproject.org>
804 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
806 2016-01-28 Yao Qi <yao.qi@linaro.org>
808 * gdb.fortran/vla-value.exp: Wrap test with with_timeout_factor.
810 2016-01-25 Pedro Alves <palves@redhat.com>
813 * gdb.base/fork-running-state.c: New file.
814 * gdb.base/fork-running-state.exp: New file.
816 2016-01-25 Pedro Alves <palves@redhat.com>
819 * gdb.base/catch-fork-kill.c: New file.
820 * gdb.base/catch-fork-kill.exp: New file.
822 2016-01-25 Pedro Alves <palves@redhat.com>
824 * gdb.base/step-sw-breakpoint-adjust-pc.exp (foreach_with_prefix):
825 Delete, moved to lib/gdb.exp.
826 * gdb.threads/forking-threads-plus-breakpoint.exp
827 (foreach_with_prefix): Likewise.
828 * gdb.threads/process-dies-while-handling-bp.exp
829 (foreach_with_prefix): Likewise.
830 * lib/gdb.exp (foreach_with_prefix): New procedure.
832 2016-01-25 Marcin KoĆcielnicki <koriakin@0x04.net>
834 * gdb.trace/backtrace.exp: Bump stack collection fudge factor.
835 * gdb.trace/entry-values.exp: Bump stack collection fudge factor.
837 2016-01-23 Marcin KoĆcielnicki <koriakin@0x04.net>
839 * gdb.trace/unavailable-dwarf-piece.exp: Fix bitfield handling on big
842 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
843 Pedro Alves <palves@redhat.com>
845 Fix testsuite compatibility with Guile.
846 * gdb.gdb/selftest.exp (send ^C to child process): Drop expected Thread
849 2016-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
851 Fix testsuite compatibility with Guile.
852 * gdb.gdb/selftest.exp (send ^C to child process): Accept also Thread.
853 (thread 1): New test for backtrace through signal handler.
855 2016-01-22 Yao Qi <yao.qi@linaro.org>
858 * gdb.base/multi-forks.c: Include
859 ../lib/unbuffer_output.c
860 (main): Call gdb_unbuffer_output.
862 2016-01-21 Doug Evans <dje@google.com>
864 * lib/ada.exp (gdb_compile_ada): Fix typo.
866 2016-01-21 Joel Brobecker <brobecker@adacore.com>
868 * gdb.base/break-fun-addr.exp: New file.
869 * gdb.base/break-fun-addr1.c: New file.
870 * gdb.base/break-fun-addr2.c: New file.
872 2016-01-20 Simon Marchi <simon.marchi@polymtl.ca>
874 * gdb.python/py-pp-maint.exp: Change/add enum flag tests.
875 * gdb.python/py-pp-maint.c (enum flag_enum): Use more complex
878 2016-01-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
880 * gdb.base/gnu_vector.exp: Re-establish handling for should_kfail
881 when GDB can not set the vector return value. Add more comments
884 2016-01-20 Antoine Tremblay <antoine.tremblay@ericsson.com>
886 * gdb.trace/tspeed.exp: Use shlib instead of libs in gdb_compile
889 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
891 * Makefile.in (DO_RUNTEST): Add --status and update usages.
893 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
895 * Makefile.in (check-single): Pass --status to runtest.
896 (check/%.exp): Likewise.
898 2016-01-19 Simon Marchi <simon.marchi@ericsson.com>
900 * Makefile.in (check-parallel): Propagate return code from make
903 2016-01-19 Marcin KoĆcielnicki <koriakin@0x04.net>
905 * gdb.trace/ftrace.exp: Fix expected message on continue.
906 * gdb.trace/pending.exp: Fix expected message on continue.
907 * gdb.trace/trace-break.exp: Fix expected message on continue.
909 2016-01-18 Simon Marchi <simon.marchi@ericsson.com>
911 * lib/gdb.exp (gdb_test): Remove unused global references.
913 2016-01-18 Pedro Alves <palves@redhat.com>
915 * gdb.base/async-shell.exp: Adjust expected output.
916 * gdb.base/dprintf-non-stop.exp: Adjust expected output.
917 * gdb.base/siginfo-thread.exp: Adjust expected output.
918 * gdb.base/watchpoint-hw-hit-once.exp: Adjust expected output.
919 * gdb.java/jnpe.exp: Adjust expected output.
920 * gdb.threads/clone-new-thread-event.exp: Adjust expected output.
921 * gdb.threads/continue-pending-status.exp: Adjust expected output.
922 * gdb.threads/leader-exit.exp: Adjust expected output.
923 * gdb.threads/manythreads.exp: Adjust expected output.
924 * gdb.threads/pthreads.exp: Adjust expected output.
925 * gdb.threads/schedlock.exp: Adjust expected output.
926 * gdb.threads/siginfo-threads.exp: Adjust expected output.
927 * gdb.threads/signal-command-multiple-signals-pending.exp: Adjust
929 * gdb.threads/signal-delivered-right-thread.exp: Adjust expected
931 * gdb.threads/sigthread.exp: Adjust expected output.
932 * gdb.threads/watchpoint-fork.exp: Adjust expected output.
934 2016-01-18 Yao Qi <yao.qi@linaro.org>
936 * gdb.guile/scm-section-script.c: Replace @progbits with
938 * gdb.python/py-section-script.c: Likewise.
940 2016-01-15 Pedro Alves <palves@redhat.com>
942 * gdb.multi/tids.exp: Test star wildcard ranges.
944 2016-01-15 Pedro Alves <palves@redhat.com>
946 * gdb.multi/tids.exp (thr_apply_info_thr_error): Remove "p 1234"
947 command from "thread apply" invocation.
948 (thr_apply_info_thr_invalid): Default the expected output to the
950 (top level): Add tests that use convenience variables. Add tests
951 for "thread apply" with a valid TID list, but missing the command.
953 2016-01-13 Pedro Alves <palves@redhat.com>
955 * gdb.base/default.exp: Expect $_gthread as well.
956 * gdb.multi/tids.exp: Test $_gthread.
957 * gdb.threads/thread-specific.exp: Test $_gthread.
959 2016-01-13 Pedro Alves <palves@redhat.com>
961 * gdb.multi/tids.exp: Test "info threads -gid".
963 2016-01-13 Pedro Alves <palves@redhat.com>
965 * gdb.multi/tids.exp: Test InferiorThread.global_num and
967 * gdb.python/py-infthread.exp: Test InferiorThread.global_num.
969 2016-01-07 Pedro Alves <palves@redhat.com>
971 * gdb.base/break.exp: Adjust to output changes.
972 * gdb.base/hbreak2.exp: Likewise.
973 * gdb.base/sepdebug.exp: Likewise.
974 * gdb.base/watch_thread_num.exp: Likewise.
975 * gdb.linespec/keywords.exp: Likewise.
976 * gdb.multi/info-threads.exp: Likewise.
977 * gdb.threads/thread-find.exp: Likewise.
978 * gdb.multi/tids.c: New file.
979 * gdb.multi/tids.exp: New file.
981 2016-01-13 Pedro Alves <palves@redhat.com>
983 * gdb.python/py-infthread.exp: Test InferiorThread.inferior.
985 2016-01-13 Pedro Alves <palves@redhat.com>
987 * gdb.base/default.exp: Expect $_inferior as well.
988 * gdb.multi/base.exp: Test $_inferior.
990 2016-01-13 Pedro Alves <palves@redhat.com>
993 * gdb.base/catch-signal-siginfo-cond.c: New file.
994 * gdb.base/catch-signal-siginfo-cond.exp: New file.
996 2016-01-12 Josh Stone <jistone@redhat.com>
997 Philippe Waroquiers <philippe.waroquiers@skynet.be>
999 * gdb.base/catch-syscall.c (do_execve): New variable.
1000 (main): Conditionally trigger an execve.
1001 * gdb.base/catch-syscall.exp: Enable testing for remote targets.
1002 (test_catch_syscall_execve): New, check entry/return across execve.
1003 (do_syscall_tests): Call test_catch_syscall_execve.
1005 2016-01-12 Pedro Alves <palves@redhat.com>
1007 * gdb.base/random-signal.exp (do_test): New procedure, with body
1008 of testcase moved in.
1010 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1011 Pedro Alves <palves@redhat.com>
1013 * gdb.base/funcargs.exp (finish from indirectly called function):
1014 Reintroduce the case for 'First'.
1016 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1017 Pedro Alves <palves@redhat.com>
1019 * gdb.base/foll-vfork.exp (tcatch_vfork_then_parent_follow)
1020 (tcatch_vfork_then_child_follow_exec)
1021 (tcatch_vfork_then_child_follow_exit): Revert back DWARF vfork
1024 2016-01-11 Jan Kratochvil <jan.kratochvil@redhat.com>
1026 * gdb.guile/scm-value.exp (test_value_in_inferior): Set print elements
1027 and repeats to unlimited.
1028 * gdb.python/py-value.exp: Likewise.
1029 * lib/gdb.exp (gdb_has_argv0): Save and temporarily set print elements
1030 and repeats to unlimited.
1032 2016-01-08 Jan Kratochvil <jan.kratochvil@redhat.com>
1034 * gdb.multi/goodbye.c: Fix compilation warnings by adding return types
1035 and reordering the functions.
1036 * gdb.multi/hangout.c: Likewise.
1037 * gdb.multi/hello.c: Likewise.
1039 2016-01-08 Simon Marchi <simon.marchi@ericsson.com>
1041 * gdb.perf/lib/perftest/perftest.py: Change relative imports to
1043 (SingleStatisticTestResult.report): Use dict.keys instead of
1046 2016-01-06 Pedro Alves <palves@redhat.com>
1048 * gdb.python/py-infthread.exp: Fix typo. Expect t0.num to be 1.
1050 2016-01-04 Markus Metzger <markus.t.metzger@intel.com>
1052 * gdb.btrace/dlopen.exp: New.
1053 * gdb.btrace/dlopen.c: New.
1054 * gdb.btrace/dlopen-dso.c: New.
1056 2015-12-25 Sandra Loosemore <sandra@codesourcery.com>
1058 * lib/gdb.exp (gdb_test): Update comments to clarify that the
1059 PATTERN argument is optional.
1061 2015-12-24 Joel Brobecker <brobecker@adacore.com>
1063 * lib/ada.exp (target_compile_ada_from_dir): New function.
1064 (gdb_compile_ada): Reimplement avoiding the use of project files.
1065 * gdb.ada/gnat_ada.gpr: Delete.
1066 * gdb.ada/cond_lang.exp: Adjust test to make path before
1068 * gdb.ada/small_reg_param.exp: Likewise.
1070 2015-12-22 Simon Marchi <simon.marchi@ericsson.com>
1072 * gdb.base/foll-vork.exp: Remove HP-UX special case.
1074 2015-12-22 Thomas Preud'homme <thomas.preudhomme@arm.com>
1076 * lib/mi-support.exp (mi_run_cmd_full): Add an expect for the CLI jump
1079 2015-12-21 Simon Marchi <simon.marchi@ericsson.com>
1081 * gdb.base/break.exp: Remove dead code.
1082 * gdb.base/sepdebug.exp: Likewise.
1084 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1086 * gdb.asm/asm-source.exp: Remove HP-UX references.
1087 * gdb.base/annota1.exp: Likewise.
1088 * gdb.base/annota3.exp: Likewise.
1089 * gdb.base/attach.exp: Likewise.
1090 * gdb.base/bigcore.exp: Likewise.
1091 * gdb.base/break.exp: Likewise.
1092 * gdb.base/call-ar-st.exp: Likewise.
1093 * gdb.base/callfuncs.exp: Likewise.
1094 * gdb.base/catch-fork-static.exp: Likewise.
1095 * gdb.base/display.exp: Likewise.
1096 * gdb.base/foll-exec-mode.exp: Likewise.
1097 * gdb.base/foll-exec.exp: Likewise.
1098 * gdb.base/foll-fork.exp: Likewise.
1099 * gdb.base/foll-vfork.exp: Likewise.
1100 * gdb.base/funcargs.exp: Likewise.
1101 * gdb.base/hbreak2.exp: Likewise.
1102 * gdb.base/inferior-died.exp: Likewise.
1103 * gdb.base/interrupt.exp: Likewise.
1104 * gdb.base/multi-forks.exp: Likewise.
1105 * gdb.base/nodebug.exp: Likewise.
1106 * gdb.base/sepdebug.exp: Likewise.
1107 * gdb.base/solib1.c: Likewise.
1108 * gdb.base/step-test.exp: Likewise.
1109 * gdb.mi/non-stop.c: Likewise.
1110 * gdb.mi/pthreads.c: Likewise.
1111 * gdb.multi/bkpt-multi-exec.ex: Likewise.
1112 * gdb.threads/pthreads.c: Likewise.
1113 * gdb.threads/staticthreads.exp: Likewise.
1114 * lib/future.exp: Likewise.
1115 * lib/gdb.exp: Likewise.
1116 * gdb.base/so-indr-cl.c: Remove.
1117 * gdb.base/so-indr-cl.exp: Likewise.
1118 * gdb.base/solib.c: Likewise.
1119 * gdb.base/solib.exp: Likewise.
1120 * gdb.base/solib2.c: Likewise.
1122 2015-12-21 Simon Marchi <simon.marchi@polymtl.ca>
1124 * gdb.base/break.exp: Remove references to HP CC/aCC compilers.
1125 * gdb.base/call-ar-st.exp: Likewise.
1126 * gdb.base/callfuncs.exp: Likewise.
1127 * gdb.base/condbreak.exp: Likewise.
1128 * gdb.base/constvars.exp: Likewise.
1129 * gdb.base/hbreak2.exp: Likewise.
1130 * gdb.base/langs.exp: Likewise.
1131 * gdb.base/list.exp: Likewise.
1132 * gdb.base/long_long.exp: Likewise.
1133 * gdb.base/ptype.exp: Likewise.
1134 * gdb.base/scope.exp: Likewise.
1135 * gdb.base/signals.exp: Likewise.
1136 * gdb.base/so-impl-ld.exp: Likewise.
1137 * gdb.base/varargs.exp: Likewise.
1138 * gdb.base/volatile.exp: Likewise.
1139 * gdb.base/whatis.exp: Likewise.
1140 * gdb.cp/cplusfuncs.exp: Likewise.
1141 * gdb.cp/inherit.exp: Likewise.
1142 * gdb.cp/local.exp: Likewise.
1143 * gdb.cp/member-ptr.exp: Likewise.
1144 * gdb.cp/method.exp: Likewise.
1145 * gdb.cp/overload.exp: Likewise.
1146 * gdb.cp/templates.exp: Likewise.
1147 * gdb.stabs/weird.exp: Likewise.
1148 * lib/compiler.c: Likewise.
1149 * lib/compiler.cc: Likewise.
1150 * lib/cp-support.exp: Likewise.
1151 * lib/gdb.exp: Likewise.
1153 2015-12-20 Simon Marchi <simon.marchi@polymtl.ca>
1155 * configure.ac: Remove HP-UX case.
1156 * configure: Regenerate.
1158 2015-12-18 Simon Marchi <simon.marchi@ericsson.com>
1160 * lib/gdb.exp (gdb_compile): Add function doc.
1162 2015-12-17 Pedro Alves <palves@redhat.com>
1165 * gdb.multi/info-threads.exp: New file.
1167 2015-12-15 Yao Qi <yao.qi@linaro.org>
1169 * gdb.trace/ftrace.exp: Set arg0exp to "$x0" if target
1172 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1174 * gdb.base/history-duplicates.exp: Skip if no readline support.
1176 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1178 * gdb.base/gdbinit-history.exp: Skip for remote-host testing.
1180 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1182 * gdb.base/gdbhistsize-history.exp: Skip for remote-host testing.
1184 2015-12-14 Sandra Loosemore <sandra@codesourcery.com>
1186 * gdb.base/completion.exp: Skip tests that interrupt GDB with
1187 ctrl-C if nointerrupts target property is set.
1188 * gdb.base/double-prompt-target-event-error.exp: Likewise.
1189 * gdb.base/paginate-after-ctrl-c-running.exp: Likewise.
1190 * gdb.base/paginate-bg-execution.exp: Likewise.
1191 * gdb.base/paginate-execution-startup.exp: Likewise.
1192 * gdb.base/random-signal.exp: Likewise.
1193 * gdb.base/range-stepping.exp: Likewise.
1194 * gdb.cp/annota2.exp: Likewise.
1195 * gdb.cp/annota3.exp: Likewise.
1196 * gdb.gdb/selftest.exp: Likewise.
1197 * gdb.threads/continue-pending-status.exp: Likewise.
1198 * gdb.threads/leader-exit.exp: Likewise.
1199 * gdb.threads/manythreads.exp: Likewise.
1200 * gdb.threads/pthreads.exp: Likewise.
1201 * gdb.threads/schedlock.exp: Likewise.
1202 * gdb.threads/sigthread.exp: Likewise.
1204 2015-12-11 Don Breazeal <donb@codesourcery.com>
1206 * gdb.base/execl-update-breakpoints.exp (main): Enable for target
1208 * gdb.base/foll-exec-mode.exp (main): Disable for target remote.
1209 * gdb.base/foll-exec.exp (main): Enable for target remote.
1210 * gdb.base/foll-fork.exp (main): Likewise.
1211 * gdb.base/foll-vfork.exp (main): Likewise.
1212 * gdb.base/multi-forks.exp (main): Likewise, and use clean_restart.
1213 (proc continue_to_exit_bp_loc): Use clean_restart.
1214 * gdb.base/pie-execl.exp (main): Disable for target remote.
1215 * gdb.base/watch-vfork.exp (main): Enable for target remote.
1216 * gdb.mi/mi-nsthrexec.exp (main): Likewise.
1217 * gdb.threads/execl.exp (main): Likewise.
1218 * gdb.threads/fork-child-threads.exp (main): Likewise.
1219 * gdb.threads/fork-plus-threads.exp (main): Disable for target
1221 * gdb.threads/fork-thread-pending.exp (main): Enable for target
1223 * gdb.threads/linux-dp.exp (check_philosopher_stack): Allow
1224 pid.tid style ptids, instead of just tid.
1225 * gdb.threads/thread-execl.exp (main): Enable for target remote.
1226 * gdb.threads/watchpoint-fork.exp (main): Likewise.
1227 * gdb.trace/report.exp (use_collected_data): Allow pid.tid style
1228 ptids, instead of just tid.
1230 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1232 * gdb.base/list.exp (test_list_forward): Add end of file error
1234 (test_repeat_list_command): Add end of file error test.
1235 (test_list_backwards): Add beginning of file error test.
1237 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1239 * gdb.base/list.exp (test_list_invalid_args): New function,
1240 defined, and called.
1242 2015-12-11 Andrew Burgess <andrew.burgess@embecosm.com>
1244 * gdb.base/list.exp (test_list): Make test names unique.
1246 2015-12-11 Yao Qi <yao.qi@linaro.org>
1248 * gdb.base/coremaker2.c: Remove.
1250 2015-12-10 Pedro Alves <palves@redhat.com>
1252 * gdb.multi/base.exp: Remove stale "spaces" references.
1254 2015-12-10 Pedro Alves <palves@redhat.com>
1256 * gdb.multi/base.exp: Don't use nowarnings.
1257 * gdb.multi/bkpt-multi-exec.exp: Don't use nowarnings.
1258 * gdb.multi/hangout.c: Include stdio.h.
1259 * gdb.multi/hello.c: Include stdlib.h.
1260 * gdb.multi/multi-arch-exec.c: Include stdlib.h.
1261 * gdb.multi/multi-arch-exec.exp: Don't use nowarnings.
1262 * gdb.multi/multi-arch.exp: Don't use nowarnings.
1264 2015-12-10 Andrew Burgess <andrew.burgess@embecosm.com>
1266 * gdb.dwarf2/dw2-ranges-base.c: New file.
1267 * gdb.dwarf2/dw2-ranges-base.exp: New file.
1268 * lib/dwarf.exp (namespace eval Dwarf): Add new variables to
1269 support additional line table, and debug ranges generation.
1270 (Dwarf::ranges): New function, generate .debug_ranges.
1271 (Dwarf::lines): Support generating simple line table programs.
1272 (Dwarf::assemble): Initialise new namespace variables.
1274 2015-12-09 Kevin Buettner <kevinb@redhat.com>
1276 * gdb.base/async.exp (proc test_background): Add case for
1277 asynchronous execution not supported.
1279 2015-12-09 Luis Machado <lgustavo@codesourcery.com>
1281 * gdb.mi/mi-var-display.exp: Add new checks for the zero-hexadecimal
1282 format and change test names to make them unique.
1284 2015-12-09 Ruslan Kabatsayev <b7.10110111@gmail.com>
1285 Pedro Alves <pedro@redhat.com>
1288 Add checking of floatformats setup on x86_64 hosts.
1289 * gdb.arch/i386-float.S (main): Load bigval and smallval.
1290 (smallval, bigval): New labels/constants.
1291 * gdb.arch/i386-float.exp: Use with_test_prefix and test "info
1292 float" after loading bigval and smallval.
1294 2015-12-07 Pierre-Marie de Rodat <derodat@adacore.com>
1296 * gdb.ada/fun_overload_menu.exp: New testcase.
1297 * gdb.ada/fun_overload_menu/foo.adb: New testcase.
1299 2015-12-04 Josh Stone <jistone@redhat.com>
1301 * gdb.base/catch-fork-static.exp: New.
1303 2015-12-03 Yao Qi <yao.qi@linaro.org>
1305 * gdb.base/sizeof.c: Don't include stdio.h and
1306 ../lib/unbuffer_output.c.
1307 (main): New variable 'size' and 'value'. Remove printf and
1308 gdb_unbuffer_output. Assign return value to size and value.
1309 * gdb.base/sizeof.exp: Remove the checking to gdb,noinferiorio
1311 (check_sizeof): Check the result by printing variable 'size'.
1312 (check_valueof): Check the result by printing variable 'value'.
1314 2015-12-01 Yao Qi <yao.qi@linaro.org>
1316 * gdb.base/disp-step-syscall.exp: Define syscall instruction
1317 for aarch64*-*-linux* target.
1319 2015-11-30 Pedro Alves <palves@redhat.com>
1321 * gdb.threads/no-unwaited-for-left.exp: Remove setup_kfail calls.
1323 2015-11-30 Pedro Alves <palves@redhat.com>
1325 * lib/range-stepping-support.exp (exec_cmd_expect_vCont_count):
1326 Handle non-stop mode vCont replies.
1328 2015-11-30 Pedro Alves <palves@redhat.com>
1330 * gdb.base/dprintf-non-stop.exp: Use build_executable instead of
1331 prepare_for_testing. Start gdb with "set non-stop on" appended to
1332 GDBFLAGS. Lax expected stop output.
1334 2015-11-27 Yao Qi <yao.qi@linaro.org>
1336 * gdb.arch/arm-neon.exp: New.
1337 * gdb.arch/arm-neon.c: New.
1339 2015-11-27 Yao Qi <yao.qi@linaro.org>
1341 * gdb.cp/annota2.exp: Rewrite the pattern using multi_line.
1343 2015-11-27 Yao Qi <yao.qi@linaro.org>
1345 * gdb.cp/annota2.exp: Allow multiple occurrences of the
1346 frames-invalid annotation.
1348 2015-11-27 Yao Qi <yao.qi@linaro.org>
1350 * gdb.cp/annota2.exp: Use ${frames_invalid}.
1352 2015-11-26 Simon Marchi <simon.marchi@ericsson.com>
1354 * gdb.threads/names.exp: New file.
1355 * gdb.threads/names.c: New file.
1356 * README: Mention gdb,no_thread_names.
1358 2015-11-26 Markus Metzger <markus.t.metzger@intel.com>
1361 * lib/gdb.exp (skip_btrace_pt_tests): Check for a "GDB does not
1364 2015-11-24 Pedro Alves <palves@redhat.com>
1367 * gdb.base/display.exp: Expect displays to be sorted in ascending
1368 order. Use multi_line.
1369 * gdb.base/solib-display.exp: Likewise.
1371 2015-11-24 Pedro Alves <palves@redhat.com>
1374 * gdb.base/display.exp: Expect displays to be sorted in ascending
1375 order. Use multi_line.
1376 * gdb.base/solib-display.exp: Likewise.
1378 2015-11-24 Pedro Alves <palves@redhat.com>
1381 * gdb.base/foll-exec-mode.exp: Adjust to GDB listing inferiors and
1382 threads in ascending order.
1383 * gdb.base/foll-fork.exp: Likewise.
1384 * gdb.base/foll-vfork.exp: Likewise.
1385 * gdb.base/multi-forks.exp: Likewise.
1386 * gdb.mi/mi-nonstop.exp: Likewise.
1387 * gdb.mi/mi-nsintrall.exp: Likewise.
1388 * gdb.multi/base.exp: Likewise.
1389 * gdb.multi/multi-arch.exp: Likewise.
1390 * gdb.python/py-inferior.exp: Likewise.
1391 * gdb.threads/break-while-running.exp: Likewise.
1392 * gdb.threads/execl.exp: Likewise.
1393 * gdb.threads/gcore-thread.exp: Likewise.
1394 * gdb.threads/info-threads-cur-sal.exp: Likewise.
1395 * gdb.threads/kill.exp: Likewise.
1396 * gdb.threads/linux-dp.exp: Likewise.
1397 * gdb.threads/multiple-step-overs.exp: Likewise.
1398 * gdb.threads/next-bp-other-thread.exp: Likewise.
1399 * gdb.threads/step-bg-decr-pc-switch-thread.exp: Likewise.
1400 * gdb.threads/step-over-lands-on-breakpoint.exp: Likewise.
1401 * gdb.threads/step-over-trips-on-watchpoint.exp: Likewise.
1402 * gdb.threads/thread-find.exp: Likewise.
1403 * gdb.threads/tls.exp: Likewise.
1404 * lib/mi-support.exp (mi_reverse_list): Delete.
1405 (mi_check_thread_states): No longer reverse list.
1407 2015-11-24 Pedro Alves <palves@redhat.com>
1409 * gdb.python/py-inferior.exp: Use with_test_prefix. Consistently
1412 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1414 * gdb.trace/actions.c: Include trace-common.h.
1415 (main): Add a location for a fast tracepoint.
1416 * gdb.trace/save-trace.exp: Set a fast tracepoint in addition to
1417 the normal tracepoints.
1418 (gdb_verify_tracepoints): Adjust number of expected tracepoints.
1420 2015-11-23 Simon Marchi <simon.marchi@ericsson.com>
1422 * save-trace.exp: Factor out code to these...
1423 (gdb_save_tracepoints): New.
1424 (gdb_load_tracepoints): New.
1425 (do_save_load_test): New.
1427 2015-11-23 Kevin Buettner <kevinb@redhat.com>
1429 * gdb.base/asmlabel.exp: New test.
1430 * gdb.base/asmlabel.c: New test case.
1432 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1434 * gdb.base/wrong_frame_bt_full-main.c: New file.
1435 * gdb.base/wrong_frame_bt_full-opaque.c: New file.
1436 * gdb.base/wrong_frame_bt_full.exp: New file.
1438 2015-11-23 Joel Brobecker <brobecker@adacore.com>
1440 * testsuite/gdb.ada/var_rec_arr.exp: Add "ptype a1(1)" test.
1442 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1444 * gdb.base/callfuncs.exp (fetch_all_registers): Filter out the
1445 pstate register when comparing registers values in
1446 sparc64-*-linux-gnu targets to avoid spurious differences.
1448 2015-11-20 Jose E. Marchesi <jose.marchesi@oracle.com>
1450 * gdb.arch/sparc-sysstep.c: Include unistd.h for getpid.
1452 2015-11-19 Sandra Loosemore <sandra@codesourcery.com>
1454 * gdb.base/nested-subp1.exp: Pass executable, not executable name,
1455 as type argument to gdb_compile.
1456 * gdb.base/nested-subp2.exp: Likewise.
1457 * gdb.base/nested-subp3.exp: Likewise.
1459 2015-11-17 Dominik Vogt <vogt@linux.vnet.ibm.com>
1461 * lib/dwarf.exp (_note): Fix left shift of negative value.
1462 * gdb.trace/trace-condition.exp: Likewise.
1464 2015-11-13 Yao Qi <yao.qi@linaro.org>
1466 * gdb.base/call-sc.exp (test_scalar_returns): Remove the
1467 comments about d10v.
1468 (test_scalar_returns): Likewise.
1469 * gdb.base/d10v.ld: Remove.
1470 * gdb.base/overlays.exp: Remove the target triplet checking for
1472 * gdb.base/structs.exp (test_struct_returns): Remove the
1473 comments about d10v.
1474 (test_struct_calls): Likewise.
1476 2015-11-13 Yao Qi <yao.qi@linaro.org>
1478 * gdb.base/gnu_vector.exp: Check the return value by "p res".
1479 * gdb.base/gnu_vector.c: Don't include stdio.h.
1480 (main): Don't print res and call add_some_intvecs.
1482 2015-11-11 Marcin KoĆcielnicki <koriakin@0x04.net>
1484 * gdb.trace/change-loc.h: include "trace-common.h", remove SYMBOL
1487 (func4): Use FAST_TRACEPOINT_LABEL.
1488 * gdb.trace/ftrace-lock.c: include "trace-common.h", remove SYMBOL
1491 (thread_function): Use FAST_TRACEPOINT_LABEL.
1492 * gdb.trace/ftrace.c: include "trace-common.h", remove SYMBOL macro.
1494 (marker): Use FAST_TRACEPOINT_LABEL.
1495 * gdb.trace/pendshr1.c: include "trace-common.h", remove SYMBOL macro.
1496 (pendfunc1): Remove.
1497 (pendfunc): Use FAST_TRACEPOINT_LABEL.
1498 * gdb.trace/pendshr2.c: include "trace-common.h", remove SYMBOL macro.
1500 (pendfunc2): Use FAST_TRACEPOINT_LABEL.
1501 * gdb.trace/trace-break.c: include "trace-common.h", remove SYMBOL
1504 (marker): Use FAST_TRACEPOINT_LABEL.
1505 * gdb.trace/trace-common.h: New header.
1506 * gdb.trace/trace-condition.c: include "trace-common.h", remove SYMBOL
1509 (marker): Use FAST_TRACEPOINT_LABEL.
1510 * gdb.trace/trace-mt.c: include "trace-common.h", remove SYMBOL macro.
1512 (thread_function): Use FAST_TRACEPOINT_LABEL.
1514 2015-11-10 Marcin KoĆcielnicki <koriakin@0x04.net>
1516 * gdb.trace/backtrace.exp: Use global fpreg/spreg definition, add $
1518 * gdb.trace/change-loc.exp: Use global pcreg definition.
1519 * gdb.trace/collection.exp: Use global pcreg/fpreg/spreg definition.
1520 * gdb.trace/entry-values.exp: Use global spreg definition, add $
1522 * gdb.trace/mi-trace-frame-collected.exp: Use global pcreg definition.
1523 * gdb.trace/pending.exp: Likewise.
1524 * gdb.trace/report.exp: Use global pcreg/fpreg/spreg definition.
1525 * gdb.trace/trace-break.exp: Likewise.
1526 * gdb.trace/trace-condition.exp: Use global pcreg definition, add $
1528 * gdb.trace/unavailable.exp: Use global pcreg/fpreg/spreg definition.
1529 * gdb.trace/while-dyn.exp: Use global fpreg definition, add $
1531 * lib/trace-support.exp: Define fpreg, spreg, pcreg variables.
1533 2015-11-09 Joel Brobecker <brobecker@adacore.com>
1535 * gdb.ada/fin_fun_out: New testcase.
1537 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1539 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Don't hardcode
1540 value associated with DW_AT_byte_size.
1541 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Don't hardcode
1542 constants for DW_AT_byte_size, DW_AT_lower_bound, and
1545 2015-11-07 Kevin Buettner <kevinb@redhat.com>
1547 * lib/gdb (gdb_target_symbol_prefix_flags_asm): New proc.
1548 (gdb_target_symbol_prefix_flags): Define in terms of _asm
1550 * gdb.arch/i386-float.exp, gdb.arch/i386-permbkpt.exp,
1551 gdb.dwarf2/dw2-canonicalize-type.exp,
1552 gdb.dwarf2/dw2-compdir-oldgcc.exp, gdb.dwarf2/dw2-minsym-in-cu.exp,
1553 gdb.dwarf2/dw2-op-stack-value.exp, gdb.dwarf2/dw2-unresolved.exp,
1554 gdb.dwarf2/fission-reread.exp, gdb.dwarf2/pr13961.exp: Use flags
1555 provided by gdb_target_symbol_prefix_flags_asm.
1556 * gdb.dwarf2/dw2-canonicalize-type.S, gdb.dwarf2/dw2-compdir-oldgcc.S,
1557 testsuite/gdb.dwarf2/dw2-minsym-in-cu.S,
1558 testsuite/gdb.dwarf2/dw2-unresolved-main.c,
1559 testsuite/gdb.dwarf2/dw2-unresolved.S, gdb.dwarf2/fission-reread.S,
1560 gdb.dwarf2/pr13961.S: Define and use SYMBOL macro (and supporting
1561 macros where needed). Use this macro for symbols which require
1562 the prefix provided by SYMBOL_PREFIX.
1564 2015-11-05 Kevin Buettner <kevinb@redhat.com>
1566 * lib/gdb.exp (gdb_target_symbol_prefix, gdb_target_symbol):
1568 * lib/dwarf.exp (_handle_DW_TAG): Handle attribute values,
1569 representing expressions, of more than one list element.
1570 * gdb.dwarf2/atomic-type.exp (Dwarf::assemble): Use gdb_target_symbol
1571 to prepend linker symbol prefix to f.
1572 * gdb.dwarf2/data-loc.exp (Dwarf::assemble): Likewise, for
1573 table_1 and table_2.
1574 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp (Dwarf::assemble):
1575 Likewise, for f and g.
1576 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble): Likewise,
1578 * gdb.dwarf2/dw2-regno-invalid.exp (Dwarf::assemble): Likewise,
1580 * gdb.dwarf2/dynarr-ptr.exp (Dwarf::assemble): Likewise, for
1581 table_1_ptr and table_2_ptr.
1583 2015-11-03 Jan Kratochvil <jan.kratochvil@redhat.com>
1584 Joel Brobecker <brobecker@adacore.com>
1586 * gdb.mi/mi-vla-fortran.exp (evaluate allocated vla): Permit any data.
1588 2015-11-04 Marcin KoĆcielnicki <koriakin@0x04.net>
1590 * gdb.reverse/s390-mvcle.c: New test.
1591 * gdb.reverse/s390-mvcle.exp: New file.
1592 * lib/gdb.exp: Enable reverse tests on s390*-linux.
1594 2015-11-02 Marcin KoĆcielnicki <koriakin@0x04.net>
1596 * gdb.reverse/readv-reverse.exp: Obvious typo fixed.
1598 2015-11-02 Marcin KoĆcielnicki <koriakin@0x04.net>
1600 * gdb.reverse/fstatat-reverse.exp: Set breakpoint on marker1 after
1602 * gdb.reverse/getresuid-reverse.exp: Likewise.
1603 * gdb.reverse/pipe-reverse.exp: Likewise.
1604 * gdb.reverse/readv-reverse.exp: Likewise.
1605 * gdb.reverse/recvmsg-reverse.exp: Likewise.
1606 * gdb.reverse/time-reverse.exp: Likewise.
1607 * gdb.reverse/waitpid-reverse.exp: Likewise and add KFAILs.
1609 2015-10-30 Yao Qi <yao.qi@linaro.org>
1611 * gdb.threads/wp-replication.c (watch_count_done): Remove.
1612 (empty_cycle): Remove.
1613 (main): Don't call empty_cycle. Don't use watch_count_done.
1614 * gdb.threads/wp-replication.exp: Don't set breakpoint on
1615 empty_cycle. Rewrite the code counting HW watchpoints.
1617 2015-10-30 Marcin KoĆcielnicki <koriakin@0x04.net>
1619 * gdb.reverse/fstatat-reverse.c: New test.
1620 * gdb.reverse/fstatat-reverse.exp: New file.
1621 * gdb.reverse/getresuid-reverse.c: New test.
1622 * gdb.reverse/getresuid-reverse.exp: New file.
1623 * gdb.reverse/pipe-reverse.c: New test.
1624 * gdb.reverse/pipe-reverse.exp: New file.
1625 * gdb.reverse/readv-reverse.c: New test.
1626 * gdb.reverse/readv-reverse.exp: New file.
1627 * gdb.reverse/recvmsg-reverse.c: New test.
1628 * gdb.reverse/recvmsg-reverse.exp: New file.
1629 * gdb.reverse/time-reverse.c: New test.
1630 * gdb.reverse/time-reverse.exp: New file.
1631 * gdb.reverse/waitpid-reverse.c: New test.
1632 * gdb.reverse/waitpid-reverse.exp: New file.
1634 2015-10-27 Jan Kratochvil <jan.kratochvil@redhat.com>
1636 * gdb.ada/access_to_packed_array.exp: Fix typos erroring the testfile.
1638 2015-10-26 Doug Evans <dje@google.com>
1641 * lib/dwarf.exp (_location): Add support for DW_OP_regx.
1642 * gdb.dwarf2/bad-regnum.c: New file.
1643 * gdb.dwarf2/bad-regnum.exp: New file.
1645 2015-10-26 Doug Evans <dje@google.com>
1648 * gdb.python/python.exp: Add test for symlink from .py file to .notpy
1651 2015-10-25 Jan Kratochvil <jan.kratochvil@redhat.com>
1653 * gdb.compile/compile.exp (compile code globalvar): Update expectation
1654 for a change by "Mention language in compile error message".
1656 2015-10-21 Simon Marchi <simon.marchi@polymtl.ca>
1659 * gdb.python/py-type.c (C::a_method): New.
1660 (C::a_const_method): New.
1661 (C::a_static_method): New.
1663 * gdb.python/py-type.exp (test_fields): Test getting fields
1664 from function and method.
1666 2015-10-21 Keven Boell <keven.boell@intel.com>
1668 * gdb.fortran/vla-alloc-assoc.exp: New file.
1669 * gdb.fortran/vla-datatypes.exp: New file.
1670 * gdb.fortran/vla-datatypes.f90: New file.
1671 * gdb.fortran/vla-history.exp: New file.
1672 * gdb.fortran/vla-ptype-sub.exp: New file.
1673 * gdb.fortran/vla-ptype.exp: New file.
1674 * gdb.fortran/vla-sizeof.exp: New file.
1675 * gdb.fortran/vla-sub.f90: New file.
1676 * gdb.fortran/vla-value-sub-arbitrary.exp: New file.
1677 * gdb.fortran/vla-value-sub-finish.exp: New file.
1678 * gdb.fortran/vla-value-sub.exp: New file.
1679 * gdb.fortran/vla-value.exp: New file.
1680 * gdb.fortran/vla-ptr-info.exp: New file.
1681 * gdb.mi/mi-vla-fortran.exp: New file.
1682 * gdb.mi/vla.f90: New file.
1684 2015-10-21 Sandra Loosemore <sandra@codesourcery.com>
1686 * gdb.base/freebpcmd.exp: Use with_timeout_factor instead
1687 of hardwired timeout value.
1689 2015-10-20 Jan Kratochvil <jan.kratochvil@redhat.com>
1690 Pedro Alves <palves@redhat.com>
1692 * gdb.dwarf2/dw2-regno-invalid.exp: New file.
1693 * lib/dwarf.exp (Dwarf): Add DW_OP_bregx.
1695 2015-10-19 Josh Stone <jistone@redhat.com>
1697 * gdb.base/catch-syscall.c: Include <sched.h>.
1698 (unknown_syscall): New variable.
1699 (main): Trigger a vfork and an unknown syscall.
1700 * gdb.base/catch-syscall.exp (vfork_syscalls): New variable.
1701 (unknown_syscall_number): Likewise.
1702 (check_call_to_syscall): Accept an optional syscall pattern.
1703 (check_return_from_syscall): Likewise.
1704 (check_continue): Likewise.
1705 (test_catch_syscall_without_args): Check for vfork and ENOSYS.
1706 (test_catch_syscall_skipping_return): New test toggling off 'catch
1707 syscall' to step over the syscall return, then toggling back on.
1708 (test_catch_syscall_mid_vfork): New test turning on 'catch syscall'
1709 during a PTRACE_EVENT_VFORK stop, in the middle of a vfork syscall.
1710 (do_syscall_tests): Call test_catch_syscall_without_args and
1711 test_catch_syscall_mid_vfork.
1712 (test_catch_syscall_without_args_noxml): Check for vfork and ENOSYS.
1713 (fill_all_syscalls_numbers): Initialize unknown_syscall_number.
1715 2015-10-19 Andrew Stubbs <ams@codesourcery.com>
1717 * gdb.cp/inherit.exp (print g_vB, print g_vC, print g_vD,
1718 print g_vE): Add new pass patterns.
1719 * gdb.cp/virtbase.exp (print *this, print *(D *) e): Allow GDB to
1720 print various symbol names for vptr fields.
1722 2015-10-12 Andrew Burgess <andrew.burgess@embecosm.com>
1724 * gdb.base/dbx.exp (test_func): Remove xfails, update expected
1727 2015-10-12 Yao Qi <yao.qi@linaro.org>
1729 * gdb.arch/disp-step-insn-reloc.exp: New test case.
1731 2015-10-12 Yao Qi <yao.qi@linaro.org>
1733 * lib/gdb.exp (support_displaced_stepping): Return 1 if target
1734 is aarch64*-*-linux*.
1736 2015-10-12 Yao Qi <yao.qi@linaro.org>
1738 * gdb.arch/insn-reloc.c (can_relocate_bcond): Rename to ...
1739 (can_relocate_bcond_true): ... it.
1740 (can_relocate_bcond_false): New function.
1742 (can_relocate_bl): Likewise.
1743 (testcases) [__aarch64__]: Add can_relocate_bcond_false and
1746 2015-10-12 Pierre-Marie de Rodat <derodat@adacore.com>
1748 * gdb.base/nested-addr.c: New file.
1749 * gdb.base/nested-addr.exp: New testcase.
1751 2015-10-09 Markus Metzger <markus.t.metzger@intel.com>
1753 * gdb.btrace/vdso.c (main): Remove breakpoint markers.
1754 * gdb.btrace/vdso.exp: Change stepping command to "next" and ignore
1755 its output. Ignore the output of "record goto begin" and instead
1756 check that GDB is replaying.
1758 2015-10-09 Pedro Alves <palves@redhat.com>
1760 * gdb.base/a2-run.exp (maybe_exp_continue): New procedure.
1761 (top level): Use it in the run with no args test.
1763 2015-10-08 Iain Buclaw <ibuclaw@gdcproject.org>
1765 * gdb.dlang/properties.exp: New file.
1767 2015-10-02 Sandra Loosemore <sandra@codesourcery.com>
1769 * gdb.dwarf2/staticvirtual.exp: Generalize regexp so it can match
1770 whether or not address 0x1000 is mapped on the target.
1772 2015-09-30 Simon Marchi <simon.marchi@ericsson.com>
1774 * gdb.python/py-type.exp: Do not run tests if binaries fail to
1777 2015-09-30 Markus Metzger <markus.t.metzger@intel.com>
1779 * gdb.btrace/tsx.exp: Consider multiple correct outputs in the record
1780 instruction-history test.
1782 2015-09-28 Doug Evans <dje@google.com>
1784 * gdb.base/gcore.c (array_func): Add reference to static_array.
1786 2015-09-25 Simon Marchi <simon.marchi@ericsson.com>
1788 * gdb.gdb/selftest.exp (do_steps_and_nexts): Adjust expected
1791 2015-09-24 Sandra Loosemore <sandra@codesourcery.com>
1793 * gdb.cp/classes.exp (test_enums): Generalize regexp to allow
1794 short or char as base type.
1796 2015-09-23 Sandra Loosemore <sandra@codesourcery.com>
1798 * gdb.cp/var-tag.exp (do_global_tests): Generalize opt_underlying
1799 to allow any size enum.
1801 2015-09-23 Pierre-Marie de Rodat <derodat@adacore.com>
1803 * gdb.ada/array_ptr_renaming.exp: New testcase.
1804 * gdb.ada/array_ptr_renaming/foo.adb: New file.
1805 * gdb.ada/array_ptr_renaming/pack.ads: New file.
1807 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1809 * gdb.trace/ftrace-lock.c: New file.
1810 * gdb.trace/ftrace-lock.exp: New file.
1812 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1814 * gdb.arch/insn-reloc.c: New file.
1815 * gdb.arch/ftrace-insn-reloc.exp: New file.
1817 2015-09-21 Pierre Langlois <pierre.langlois@arm.com>
1819 * gdb.trace/change-loc.h (func4) [__aarch64__]: Add a nop
1821 * gdb.trace/pendshr1.c (pendfunc): Likewise.
1822 * gdb.trace/pendshr2.c (pendfunc2): Likewise.
1823 * gdb.trace/range-stepping.c: Likewise.
1824 * gdb.trace/trace-break.c: Likewise.
1825 * gdb.trace/trace-mt.c (thread_function): Likewise.
1826 * gdb.trace/ftrace.c (marker): Likewise.
1827 * gdb.trace/trace-condition.c (marker): Likewise.
1828 * gdb.trace/ftrace.exp: Enable ftrace test if is_aarch64_target.
1829 * gdb.trace/trace-condition.exp: Set pcreg to "\$pc" if
1832 2015-09-18 Doug Evans <xdje42@gmail.com>
1834 * gdb.dwarf2/dw2-bad-unresolved.c: New file.
1835 * gdb.dwarf2/dw2-bad-unresolved.exp: New file.
1837 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1839 * gdb.base/dso2dso.exp: Don't use directory prefix when setting
1842 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1844 * gdb.mi/mi-pending.exp: Don't use directory prefix when setting
1845 the pending breakpoint. Remove timeout override for "Run till
1846 MI pending breakpoint on pendfunc3 on thread 2" test.
1848 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1850 * gdb.mi/mi-cli.exp: Don't require directory prefix in breakpoint
1853 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1855 * gdb.mi/mi-dprintf-pending.exp: Don't require directory prefix
1856 in breakpoint filename pattern.
1858 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1860 * gdb.base/global-var-nested-by-dso.exp: Call gdb_load_shlibs.
1862 2015-09-18 Sandra Loosemore <sandra@codesourcery.com>
1864 * gdb.linespec/explicit.exp: Check for readline support for
1865 tab-completion tests. Fix obvious typo.
1867 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1869 * gdb.btrace/multi-thread-step.exp: Test scheduler-locking on, step,
1872 2015-09-18 Markus Metzger <markus.t.metzger@intel.com>
1874 * gdb.btrace/non-stop.c: New.
1875 * gdb.btrace/non-stop.exp: New.
1877 2015-09-17 Pierre Langlois <pierre.langlois@arm.com>
1878 Yao Qi <yao.qi@linaro.org>
1880 * gdb.trace/trace-condition.c: New file.
1881 * gdb.trace/trace-condition.exp: New file.
1883 2015-09-16 Wei-cheng Wang <cole945@gmail.com>
1885 * gdb.trace/ftrace.exp: (test_ftrace_condition) New function
1886 for testing bytecode compilation.
1888 2015-09-16 Pedro Alves <palves@redhat.com>
1889 Sandra Loosemore <sandra@codesourcery.com>
1891 * gdb.threads/non-stop-fair-events.c (timeout): New global.
1892 (SECONDS): Redefine.
1893 (main): Call pthread_kill and alarm early.
1894 * gdb.threads/non-stop-fair-events.exp: Probe displaced stepping
1896 (test): If the target can't hardware step and doesn't support
1897 displaced stepping, increase the timeout.
1899 2015-09-16 Pedro Alves <palves@redhat.com>
1901 * gdb.threads/non-stop-fair-events.exp (gdb_test_no_anchor)
1902 (enable_debug): New procedures.
1903 (test): Use them. Bail out if waiting for threads fails.
1904 (top level): Bail out if a test fails.
1906 2015-09-16 Yao Qi <yao.qi@linaro.org>
1908 * gdb.asm/asm-source.exp: Set asm-arch for
1909 aarch64*-*-* target.
1910 * gdb.asm/aarch64.inc: New file.
1912 2015-09-15 Pierre-Marie de Rodat <derodat@adacore.com>
1914 * gdb.ada/array_of_variable_length.exp: New testcase.
1915 * gdb.ada/array_of_variable_length/foo.adb: New file.
1916 * gdb.ada/array_of_variable_length/pck.adb: New file.
1917 * gdb.ada/array_of_variable_length/pck.ads: New file.
1919 2015-09-15 Doug Evans <dje@google.com>
1921 * gdb.base/callfuncs.exp (do_function_calls): Handle clang naming
1922 of function static local variable.
1924 2015-09-15 Philippe Waroquiers <philippe.waroquiers@skynet.be>
1926 * gdb.threads/tls-so_extern.exp: New test file.
1927 * gdb.threads/tls-so_extern.c: New test file.
1928 * gdb.threads/tls-so_extern_main.c: New test file.
1930 2015-09-15 Jan Kratochvil <jan.kratochvil@redhat.com>
1932 * gdb.opt/solib-intra-step-lib.c: New file.
1933 * gdb.opt/solib-intra-step-main.c: New file.
1934 * gdb.opt/solib-intra-step.exp: New file.
1936 2015-09-15 Pedro Alves <palves@redhat.com>
1938 * gdb.threads/non-ldr-exc-3.exp (do_test): Use
1939 gdb_continue_to_breakpoint instead of gdb_test_multiple.
1941 2015-09-14 Pedro Alves <palves@redhat.com>
1943 * gdb.base/hook-stop-continue.c: Delete.
1944 * gdb.base/hook-stop-continue.exp: Delete.
1945 * gdb.base/hook-stop-frame.c: Delete.
1946 * gdb.base/hook-stop-frame.exp: Delete.
1947 * gdb.base/hook-stop.c: New file.
1948 * gdb.base/hook-stop.exp: New file.
1950 2015-09-14 Pierre-Marie de Rodat <derodat@adacore.com>
1952 * gdb.ada/access_to_packed_array.exp: New testcase.
1953 * gdb.ada/access_to_packed_array/foo.adb: New file.
1954 * gdb.ada/access_to_packed_array/pack.adb: New file.
1955 * gdb.ada/access_to_packed_array/pack.ads: New file.
1957 2015-09-14 Markus Metzger <markus.t.metzger@intel.com>
1959 * gdb.btrace/buffer-size.exp: Remove recording with unlimited BTS
1962 2015-09-11 Don Breazeal <donb@codesourcery.com>
1964 * gdb.base/foll-exec.c: Add copyright header. Fix
1966 * gdb.base/foll-exec.exp (zap_session): Delete proc.
1967 (do_exec_tests): Use clean_restart in place of zap_session,
1968 and for test initialization. Fix formatting issues. Use
1969 fail in place of perror.
1970 * gdb.base/pie-execl.exp (main): Use 'inferior_spawn_id' in
1971 an expect statement to match an expression with output from
1972 the program under debug.
1973 * gdb.threads/non-ldr-exc-1.exp (do_test, main): Add
1974 non-stop tests and use save_vars to enable non-stop in GDBFLAGS.
1975 * gdb.threads/non-ldr-exc-2.exp: Likewise.
1976 * gdb.threads/non-ldr-exc-3.exp: Likewise.
1977 * gdb.threads/non-ldr-exc-4.exp: Likewise.
1979 2015-09-09 Doug Evans <dje@google.com>
1981 * gdb.python/py-prettyprint.exp: Check result of run_lang_tests.
1983 2015-09-09 Doug Evans <dje@google.com>
1985 * gdb.base/pie-execl.exp: Fix result test of build_executable.
1987 2015-09-09 Doug Evans <dje@google.com>
1989 * gdb.base/savedregs.exp: Fix typo.
1991 2015-09-09 Pedro Alves <palves@redhat.com>
1993 * gdb.mi/mi-cli.exp: Add CLI finish tests.
1995 2015-09-08 Sandra Loosemore <sandra@codesourcery.com>
1997 * gdb.threads/hand-call-in-threads.exp: Make sure the thread
1998 command actually switches threads. Give up on remaining
1999 tests if target fails to stop at breakpoint.
2001 2015-09-03 Pierre-Marie de Rodat <derodat@adacore.com>
2003 * gdb.ada/funcall_char.exp: New testcase.
2004 * gdb.ada/funcall_char/foo.adb: New file.
2006 2015-09-01 Pierre-Marie de Rodat <derodat@adacore.com>
2008 * gdb.ada/complete.exp: Add "pck.ambiguous_func" to the relevant
2009 expected outputs. Add two testcases for completing ambiguous
2011 * gdb.ada/complete/aux_pck.adb: New file.
2012 * gdb.ada/complete/aux_pck.ads: New file.
2013 * gdb.ada/complete/foo.adb: Pull Aux_Pck and call the two
2014 Ambiguous_Func functions.
2015 * gdb.ada/complete/pck.ads: Add an Ambiguous_Func function.
2016 * gdb.ada/complete/pck.adb: Likewise.
2018 2015-08-27 Ulrich Weigand <uweigand@de.ibm.com>
2020 * lib/cell.exp (skip_cell_tests): Report UNRESOLVED on unexpected
2021 failures to run the test program under GDB.
2023 2015-08-26 Luis Machado <lgustavo@codesourcery.com>
2025 * gdb.compile/compile-ifunc.exp (with_test_prefix): Force language
2028 2015-08-26 Patrick Palka <patrick@parcs.ath.cx>
2030 * gdb.base/run-after-attach.exp: New test file.
2031 * gdb.base/run-after-attach.c: New test file.
2033 2015-08-26 Don Breazeal <donb@codesourcery.com>
2035 * gdb.base/foll-exec-2.c: New test program.
2036 * gdb.base/foll-exec-2.exp: New test.
2038 2015-08-25 Pierre-Marie de Rodat <derodat@adacore.com>
2040 * gdb.base/nested-subp1.exp: New file.
2041 * gdb.base/nested-subp1.c: New file.
2042 * gdb.base/nested-subp2.exp: New file.
2043 * gdb.base/nested-subp2.c: New file.
2044 * gdb.base/nested-subp3.exp: New file.
2045 * gdb.base/nested-subp3.c: New file.
2047 2015-08-24 Pedro Alves <palves@redhat.com>
2049 * gdb.server/connect-without-multi-process.c: New file.
2050 * gdb.server/connect-without-multi-process.exp: New file.
2052 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2054 * gdb.opt/inline-markers.c: Make z int.
2056 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2058 * gdb.opt/inline-markers.c: Make z volatile.
2060 2015-08-24 Luis Machado <lgustavo@codesourcery.com>
2062 * gdb.opt/inline-bt.c: New volatile global z.
2063 * gdb.opt/inline-cmds.c: Likewise.
2064 * gdb.opt/inline-locals.c: Likewise.
2065 * gdb.opt/inline-markers.c: New extern global z.
2067 (inline_fn): Likewise.
2069 2015-08-24 Pedro Alves <palves@redhat.com>
2071 * config/m32r-stub.exp: Remove file.
2072 * gdb.base/call-ar-st.exp: Remove reference to sparclet.
2073 * gdb.base/call-rt-st.exp: Likewise.
2074 * gdb.base/call-strs.exp: Likewise.
2075 * gdb.base/default.exp: Remove references to h8300-*-hms and
2077 * gdb.base/funcargs.exp: Remove reference to sparclet-*-*.
2079 2015-08-24 Andreas Arnez <arnez@linux.vnet.ibm.com>
2081 * gdb.base/gnu_vector.exp: Try compilation with "-mcpu=native
2082 -Wno-psabi" if "-mcpu=native" fails. For the tests with "finish"
2083 and "return" use KFAIL when GDB can not read/write the vector
2086 2015-08-21 Gary Benson <gbenson@redhat.com>
2088 * gdb.trace/pending.exp: Cope with remote transfer warnings.
2090 2015-08-20 Pedro Alves <palves@redhat.com>
2092 * gdb.server/solib-list.exp: No longer expect an interior stop in
2095 2015-08-20 Pedro Alves <palves@redhat.com>
2097 * gdb.server/connect-stopped-target.c: New file.
2098 * gdb.server/connect-stopped-target.exp: New file.
2100 2015-08-20 Pedro Alves <palves@redhat.com>
2102 * gdb.dwarf2/comp-unit-lang.exp: New file.
2103 * gdb.dwarf2/comp-unit-lang.c: New file.
2105 2015-08-20 Pierre-Marie de Rodat <derodat@adacore.com>
2107 * gdb.ada/attr_ref_and_charlit.exp: New testcase.
2108 * gdb.ada/attr_ref_and_charlit/foo.adb: New file.
2110 2015-08-19 Kevin Buettner <kevinb@redhat.com>
2112 * gdb.dwarf2/dw2-bad-mips-linkage-name.c: New file.
2113 * gdb.dwarf2/dw2-bad-mips-linkage-name.exp: New file.
2115 2015-08-18 Doug Evans <dje@google.com>
2116 Adrian Sendroiu <adrian.sendroiu@freescale.com>
2118 * lib/gdb.exp (skip_python_tests_prompt): Renamed from
2119 skip_python_tests. New arg prompt_regexp.
2120 (skip_python_tests): New function.
2121 * lib/mi-support.exp (mi_skip_python_tests): New function.
2122 * gdb.python/py-mi-objfile-gdb.py: New file.
2123 * gdb.python/py-mi-objfile.c: New file.
2124 * gdb.python/py-mi-objfile.exp: New file.
2126 2015-08-17 Keith Seitz <keiths@redhat.com>
2128 * gdb.linespec/explicit.exp: Move strace test from here ...
2129 * gdb.trace/strace.exp: ... to here.
2131 2015-08-15 Patrick Palka <patrick@parcs.ath.cx>
2133 * gdb.base/kill-detach-inferiors-cmd.exp: New test file.
2134 * gdb.base/kill-detach-inferiors-cmd.c: New test file.
2136 2015-08-14 Doug Evans <xdje42@gmail.com>
2138 * gdb.perf/lib/perftest/utils.py (select_file): Kill any existing
2139 inferior before selecting a new file.
2141 2015-08-14 Doug Evans <xdje42@gmail.com>
2143 * gdb.mi/mi-disassemble.exp: Update.
2144 * gdb.base/disasm-optim.S: New file.
2145 * gdb.base/disasm-optim.c: New file.
2146 * gdb.base/disasm-optim.h: New file.
2147 * gdb.base/disasm-optim.exp: New file.
2149 2015-08-14 Keith Seitz <keiths@redhat.com>
2151 * lib/mi-support.exp (mi_make_breakpoint): Add option/handling for
2154 2015-08-13 Joel Brobecker <brobecker@adacore.com>
2156 * gdb.base/dso2dso.exp: Improve the testcase's documentation.
2158 2015-08-13 Pierre-Marie de Rodat <derodat@adacore.com>
2160 * gdb.ada/fun_renaming.exp: New testcase.
2161 * gdb.ada/fun_renaming/fun_renaming.adb: New file.
2162 * gdb.ada/fun_renaming/pack.adb: New file.
2163 * gdb.ada/fun_renaming/pack.ads: New file.
2165 2015-08-12 Keith Seitz <keiths@redhat.com>
2167 * gdb.base/dso2dso.exp: Pass basename of source file in call to
2168 gdb_get_line_number.
2170 2015-08-12 Joel Brobecker <brobecker@adacore.com>
2172 * gdb.base/dso2dso-dso2.c, gdb.base/dso2dso-dso2.h,
2173 gdb.base/dso2dso-dso1.c, gdb.base/dso2dso-dso1.h, gdb.base/dso2dso.c,
2174 gdb.base/dso2dso.exp: New files.
2176 2015-08-12 Sergio Durigan Junior <sergiodj@redhat.com>
2177 Pedro Alves <palves@redhat.com>
2178 Keith Seitz <keiths@redhat.com>
2180 * gdb.base/checkpoint-ns.exp: Use save_vars to save and restore
2183 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2185 * gdb.base/gdbhistsize-history.exp
2186 (test_histsize_history_setting): Use save_vars.
2187 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
2189 (test_no_truncation_of_unlimited_history_file): Use save_vars.
2190 * gdb.base/readline.exp: Use save_vars.
2192 2015-08-12 Patrick Palka <patrick@parcs.ath.cx>
2194 * lib/gdb.exp (save_vars): New proc.
2196 2015-08-11 Keith Seitz <keiths@redhat.com>
2198 * gdb.base/help.exp: Update help_breakpoint_text.
2200 2015-08-11 Keith Seitz <keiths@redhat.com>
2202 * gdb.mi/mi-break.exp (test_explicit_breakpoints): New proc.
2203 (at toplevel): Call test_explicit_breakpoints.
2204 * gdb.mi/mi-dprintf.exp: Add tests for explicit dprintf
2206 * lib/mi-support.exp (mi_make_breakpoint): Add support for
2207 breakpoint conditions, "-cond".
2209 2015-08-11 Keith Seitz <keiths@redhat.com>
2211 * gdb.linespec/3explicit.c: New file.
2212 * gdb.linespec/cpexplicit.cc: New file.
2213 * gdb.linespec/cpexplicit.exp: New file.
2214 * gdb.linespec/explicit.c: New file.
2215 * gdb.linespec/explicit.exp: New file.
2216 * gdb.linespec/explicit2.c: New file.
2217 * gdb.linespec/ls-errs.exp: Add explicit location tests.
2218 * lib/gdb.exp (capture_command_output): Regexp-escape `command'
2219 before using in the matching pattern.
2220 Clarify that `prefix' is a regular expression.
2222 2015-08-11 Keith Seitz <keiths@redhat.com>
2224 * gdb.base/dprintf-pending.exp: Update dprintf "without format"
2226 Add tests for missing ",FMT" and ",".
2228 2015-08-10 Doug Evans <dje@google.com>
2229 Keith Seitz <keiths@redhat.com>
2232 * gdb.base/completion.exp: Add location completer tests.
2234 2015-08-07 Pedro Alves <palves@redhat.com>
2236 * gdb.arch/ppc64-atomic-inst.exp (do_test): New procedure, move
2238 (top level): Run do_test with and without displaced stepping.
2240 2015-08-07 Pedro Alves <palves@redhat.com>
2242 * gdb.base/valgrind-disp-step.c: New file.
2243 * gdb.base/valgrind-disp-step.exp: New file.
2245 2015-08-07 Pedro Alves <palves@redhat.com>
2247 * gdb.threads/step-over-lands-on-breakpoint.c (wait_threads):
2249 (main): Add alarm. Run an infinite loop instead of calling
2251 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): Change
2253 * gdb.threads/step-over-trips-on-watchpoint.c (wait_threads):
2255 (main): Add alarm. Run an infinite loop instead of calling
2257 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Change
2260 2015-08-07 Pedro Alves <palves@redhat.com>
2262 * gdb.base/checkpoint-ns.exp: New file.
2263 * gdb.base/checkpoint.exp: Pass explicit "checkpoint.c" to
2266 2015-08-07 Markus Metzger <markus.t.metzger@intel.com>
2268 * lib/gdb.exp (skip_tsx_tests, skip_btrace_pt_tests): New.
2269 * gdb.btrace/instruction_history.exp: Update.
2270 * gdb.btrace/tsx.exp: New.
2271 * gdb.btrace/tsx.c: New.
2273 2015-08-06 Pedro Alves <palves@redhat.com>
2275 * gdb.reverse/step-precsave.exp: Use with_timeout_factor to
2277 * gdb.reverse/until-precsave.exp: Bump timeouts.
2279 2015-08-06 Pedro Alves <palves@redhat.com>
2281 * gdb.base/valgrind-infcall.exp: Issue a "disconnect".
2283 2015-08-06 Pedro Alves <palves@redhat.com>
2286 * gdb.threads/process-dies-while-handling-bp.c: New file.
2287 * gdb.threads/process-dies-while-handling-bp.exp: New file.
2289 2015-08-06 Pedro Alves <palves@redhat.com>
2291 * gdb.threads/forking-threads-plus-breakpoint.exp: New file.
2292 * gdb.threads/forking-threads-plus-breakpoint.c: New file.
2294 2015-08-05 Pedro Alves <palves@redhat.com>
2296 * gdb.threads/next-while-other-thread-longjmps.c: New file.
2297 * gdb.threads/next-while-other-thread-longjmps.exp: New file.
2299 2015-08-03 Sandra Loosemore <sandra@codesourcery.com>
2301 * gdb.base/bp-permanent.exp: Report test as unsupported if
2302 the target cannot stop at the permanent breakpoint.
2304 2015-08-03 Doug Evans <dje@google.com>
2306 * gdb.perf/single-step.exp (SINGLE_STEP_COUNT): Change to 1000 from
2309 2015-08-03 Doug Evans <dje@google.com>
2311 * Makefile.in (workers/%.worker, build-perf): New rule.
2312 (GDB_PERFTEST_MODE): New variable.
2313 (check-perf): Use it.
2314 (clean): Clean up gdb.perf parallel build subdirs.
2315 * lib/build-piece.exp: New file.
2316 * lib/gdb.exp (make_gdb_parallel_path): New function
2317 (standard_output_file, standard_temp_file): Call it.
2318 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2320 * lib/cache.exp (gdb_do_cache): Call make_gdb_parallel_path.
2322 2015-08-03 Doug Evans <dje@google.com>
2324 * gdb.perf/lib/perftest/reporter.py (SUM_FILE_NAME): New global.
2325 (LOG_FILE_NAME): New global.
2326 (TextReporter.__init__): Initialize self.txt_sum.
2327 (TextReporter.report): Add support for multiple data-points.
2328 Move report to perftest.sum, put raw data in perftest.log.
2329 (TextReporter.start): Open sum and log files.
2330 (TextReporter.end): Close sum and log files.
2331 * gdb.perf/lib/perftest/testresult.py
2332 (SingleStatisticTestResult.record): Handle multiple data-points.
2334 2015-07-31 Pedro Alves <palves@redhat.com>
2336 * gdb.base/attach-pie-misread.exp: Rename $res to $test_spawn_id.
2337 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2338 kill_wait_spawned_process instead of explicit "kill -9".
2339 * gdb.base/attach-pie-noexec.exp: Adjust to spawn_wait_for_attach
2340 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2341 kill_wait_spawned_process.
2342 * gdb.base/attach-twice.exp: Likewise.
2343 * gdb.base/attach.exp: Likewise.
2344 (do_command_attach_tests): Use gdb_spawn_with_cmdline_opts and
2346 * gdb.base/solib-overlap.exp: Adjust to spawn_wait_for_attach
2347 returning a spawn id instead of a pid. Use spawn_id_get_pid and
2348 kill_wait_spawned_process.
2349 * gdb.base/valgrind-infcall.exp: Likewise.
2350 * gdb.multi/multi-attach.exp: Likewise.
2351 * gdb.python/py-prompt.exp: Likewise.
2352 * gdb.python/py-sync-interp.exp: Likewise.
2353 * gdb.server/ext-attach.exp: Likewise.
2354 * gdb.threads/attach-into-signal.exp (corefunc): Use
2355 spawn_wait_for_attach, spawn_id_get_pid and
2356 kill_wait_spawned_process.
2357 * gdb.threads/attach-many-short-lived-threads.exp: Adjust to
2358 spawn_wait_for_attach returning a spawn id instead of a pid. Use
2359 spawn_id_get_pid and kill_wait_spawned_process.
2360 * gdb.threads/attach-stopped.exp (corefunc): Use
2361 spawn_wait_for_attach, spawn_id_get_pid and
2362 kill_wait_spawned_process.
2363 * gdb.base/break-interp.exp: Rename $res to $test_spawn_id.
2364 Use spawn_id_get_pid. Wait for spawn id after eof. Use
2365 kill_wait_spawned_process instead of explicit "kill -9".
2366 * lib/gdb.exp (can_spawn_for_attach): Adjust comment.
2367 (kill_wait_spawned_process, spawn_id_get_pid): New procedures.
2368 (spawn_wait_for_attach): Use spawn instead of exec to spawn
2369 processes. Don't map cygwin/windows pids here. Now returns a
2372 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2374 * gdb.cp/var-tag.exp (do_global_tests): Revert broken commit
2375 4bc4d42859e3b42c79c89295ef39944bdb3e6753 and apply the
2378 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2380 * gdb.arch/ppc64-symtab-cordic.exp: Restrict to ppc64 targets.
2382 2015-07-30 Sandra Loosemore <sandra@codesourcery.com>
2385 2014-05-21 Mark Wielaard <mjw@redhat.com>
2387 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
2389 2015-07-30 Pedro Alves <palves@redhat.com>
2391 * linux-low.c (handle_extended_wait): Set the child's last
2392 reported status to TARGET_WAITKIND_STOPPED.
2394 2015-07-30 Pedro Alves <palves@redhat.com>
2397 * gdb.threads/fork-plus-threads.exp: Test that "info inferiors"
2398 only shows inferior 1.
2400 2015-07-30 Simon Marchi <simon.marchi@ericsson.com>
2401 Pedro Alves <palves@redhat.com>
2404 * gdb.threads/fork-plus-threads.c: New file.
2405 * gdb.threads/fork-plus-threads.exp: New file.
2407 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2409 * gdb.base/batch-preserve-term-settings.exp
2410 (test_terminal_settings_preserved_after_cli_exit): Use
2413 2015-07-29 Pedro Alves <palves@redhat.com>
2414 Don Breazeal <donb@codesourcery.com>
2416 * gdb.base/multi-forks.exp (continue_to_exit_bp_loc): Expect
2417 output from both inferior_spawn_id and gdb_spawn_id.
2419 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2421 * gdb.threads/attach-into-signal.exp (corefunc): Use
2422 with_test_prefix on nested loops, uniquefying the test messages.
2424 2015-07-29 Sergio Durigan Junior <sergiodj@redhat.com>
2426 * gdb.python/py-objfile.exp: Fix typo that snuck in from my last
2429 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2431 * gdb.base/batch-preserve-term-settings.exp (send_quit_command):
2433 (test_terminal_settings_preserved_after_sigterm): New test.
2435 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2437 * gdb.base/batch-preserve-term-settings.exp
2438 (test_terminal_settings_preserved_after_cli_exit): New test.
2440 2015-07-29 Patrick Palka <patrick@parcs.ath.cx>
2442 * gdb.base/batch-preserve-term-settings.exp: Remove top-level
2443 manipulation of saved_gdbflags.
2444 (test_terminal_settings_preserved): Remove global declaration of
2445 the unused variable pagination_prompt. Remove manipulation of
2446 saved_gdbflags. Use a local variable EXTRA_GDBFLAGS instead of
2449 2015-07-29 Pedro Alves <palves@redhat.com>
2451 * boards/gdbserver-base.exp: Don't set gdb,noinferiorio.
2453 2015-07-29 Pedro Alves <palves@redhat.com>
2455 * gdb.base/interrupt.exp: Revert back to checking gdb,noinferiorio
2458 2015-07-29 Pedro Alves <palves@redhat.com>
2460 * gdb.base/call-ar-st.c: Include "../lib/unbuffer_output.c".
2461 (main): Call gdb_unbuffer_output.
2462 * gdb.base/call-rt-st.c: Include "../lib/unbuffer_output.c".
2463 (main): Call gdb_unbuffer_output.
2464 * gdb.base/call-strs.c: Include "../lib/unbuffer_output.c".
2465 (main): Call gdb_unbuffer_output.
2466 * gdb.base/call-strs.exp: Adjust to step over the
2467 gdb_unbuffer_output call.
2468 * gdb.base/catch-gdb-caused-signals.c: Include
2469 "../lib/unbuffer_output.c".
2470 (main): Call gdb_unbuffer_output.
2471 * gdb.base/dprintf.c: Include "../lib/unbuffer_output.c".
2472 (main): Call gdb_unbuffer_output.
2473 * gdb.base/ending-run.c: Include "../lib/unbuffer_output.c".
2474 (main): Call gdb_unbuffer_output.
2475 * gdb.base/run.c: Include "../lib/unbuffer_output.c".
2476 (main): Call gdb_unbuffer_output.
2477 * gdb.base/shlib-call.exp: Adjust to step over the
2478 gdb_unbuffer_output call.
2479 * gdb.base/shmain.c: Include "../lib/unbuffer_output.c".
2480 (main): Call gdb_unbuffer_output.
2481 * gdb.base/sizeof.c: Include "../lib/unbuffer_output.c".
2482 (main): Call gdb_unbuffer_output.
2483 * gdb.base/varargs.c: Include "../lib/unbuffer_output.c".
2484 (main): Rename to ...
2486 (main): Reimplement.
2487 * gdb.base/varargs.exp: Run to test instead of to main.
2488 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2489 (main): Call gdb_unbuffer_output.
2491 2015-07-29 Pedro Alves <palves@redhat.com>
2493 * gdb.mi/mi-dprintf.exp (mi_expect_dprintf): New procedure,
2494 factore out from mi_continue_dprintf. For call-style dprintfs,
2495 expect dprintf output out of $inferior_spawn_id.
2496 (mi_continue_dprintf): Use mi_expect_dprintf.
2497 * gdb.mi/mi-dprintf.c: Include "../lib/unbuffer_output.c".
2498 (main): Call gdb_unbuffer_output.
2500 2015-07-29 Pedro Alves <palves@redhat.com>
2502 * lib/mi-support.exp (mi_inferior_spawn_id): Delete.
2503 (default_mi_gdb_start): Set inferior_spawn_id instead of
2504 mi_inferior_spawn_id. If $inferior_spawn_id is not set, set it to
2506 (mi_gdb_test): Always expect inferior output from both
2507 $inferior_spawn_id and $gdb_spawn_id.
2509 2015-07-29 Pedro Alves <palves@redhat.com>
2511 * gdb.gdb/selftest.exp (test_with_self): Update comment. Use
2512 send_inferior and $inferior_spawn_id.
2514 2015-07-29 Pedro Alves <palves@redhat.com>
2516 * gdb.gdb/complaints.exp (test_initial_complaints)
2517 (test_serial_complaints, test_short_complaints): Use
2519 (test_empty_complaint): Handle $inferior_spawn_id !=
2522 2015-07-29 Pedro Alves <palves@redhat.com>
2524 * gdb.base/varargs.exp: Use gdb_test_stdio.
2526 2015-07-29 Pedro Alves <palves@redhat.com>
2528 * gdb.base/shlib-call.exp: Use gdb_test_stdio.
2530 2015-07-29 Pedro Alves <palves@redhat.com>
2532 * gdb.base/ending-run.exp: Use gdb_test_stdio.
2534 2015-07-29 Pedro Alves <palves@redhat.com>
2536 * gdb.base/call-rt-st.exp (print_struct_call): Split "result"
2537 parameter into two new parameters, "inf_result" and "gdb_result".
2538 Expect inferior output and gdb output from $inferior_spawn_id and
2539 $gdb_spawn_id, respectively. Adjust all callers.
2541 2015-07-29 Pedro Alves <palves@redhat.com>
2543 * gdb.base/call-ar-st.exp: Use gdb_test_stdio+multi_line instead
2544 of gdb_test_sequence.
2546 2015-07-29 Pedro Alves <palves@redhat.com>
2548 * gdb.base/a2-run.exp (saw_usage, saw_exit_wrapper)
2549 (saw_spurious_output): Expect inferior output from
2550 $inferior_spawn_id. Use gdb_test_stdio.
2552 2015-07-29 Pedro Alves <palves@redhat.com>
2554 * gdb.base/dprintf.exp: Use standard_testfile. Change
2555 prepare_for_testing call.
2556 (srcfile): Don't set.
2557 (restart): New procedure.
2558 (test_dprintf): New procecure, use to continue over dprintfs.
2559 (test_call, test_agent): New procedures, tests moved here.
2560 Restart gdb and recreate dprintfs. Adjust expected output.
2562 2015-07-29 Pedro Alves <palves@redhat.com>
2564 * gdb.base/catch-gdb-caused-signals.exp: Use gdb_test_stdio.
2566 2015-07-29 Pedro Alves <palves@redhat.com>
2568 * gdb.base/call-strs.exp: Use gdb_test_stdio instead of gdb_test.
2570 2015-07-29 Pedro Alves <palves@redhat.com>
2572 * gdb.base/sizeof.exp (check_sizeof, check_valueof): Use
2575 2015-07-29 Pedro Alves <palves@redhat.com>
2577 * lib/gdb.exp (gdb_test_stdio): New procedure.
2579 2015-07-29 Pedro Alves <palves@redhat.com>
2581 * gdb.base/restore.exp (restore_tests): Use gdb_continue_to_end.
2583 2015-07-29 Pedro Alves <palves@redhat.com>
2585 * gdb.base/call-signal-resume.exp: Remove check for
2586 gdb,noinferiorio. Don't expect "no signal". Use gdb_test.
2587 * gdb.base/unwindonsignal.exp: Likewise.
2588 * gdb.base/call-signals.c (gen_signal): Remove printf call.
2589 * gdb.base/unwindonsignal.c (gen_signal): Likewise.
2591 2015-07-29 Pedro Alves <palves@redhat.com>
2593 * gdb.base/siginfo-addr.c (pass): New function.
2594 (handler): Call it iff si_addr is correct.
2595 * gdb.base/siginfo-addr.exp: Remove gdb_skip_stdio_test check.
2596 Set a breakpoint at "pass" and continue to it.
2598 2015-07-28 Sergio Durigan Junior <sergiodj@redhat.com>
2600 * gdb.python/py-objfile.exp: Make some tests have unique names.
2601 * gdb.python/py-pp-registration.exp: Likewise.
2603 2015-07-28 Pedro Alves <palves@redhat.com>
2605 * gdb.server/server-exec-info.exp: Issue a "disconnect".
2607 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2609 * gdb.mi/mi-pending.c (thread_func): Replace return with return NULL.
2611 2015-07-27 Simon Marchi <simon.marchi@ericsson.com>
2613 * gdb.mi/mi-watch.exp (test_watchpoint_triggering): Remove xfail.
2615 2015-07-27 Patrick Palka <patrick@parcs.ath.cx>
2617 * gdb.base/gdb-sigterm-2.exp: New test.
2619 2015-07-25 Doug Evans <xdje42@gmail.com>
2622 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2623 (workers/%.worker, build-perf): New rule.
2624 (GDB_PERFTEST_MODE): New variable.
2625 (check-perf): Use it.
2626 (clean): Clean up gdb.perf parallel build subdirs.
2627 * lib/build-piece.exp: New file.
2628 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2629 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2631 (standard_temp_file): Ditto.
2632 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2635 2015-07-24 Doug Evans <dje@google.com>
2637 * gdb.perf/lib/perftest/utils.py: New file.
2638 * gdb.perf/gm-hello.cc: New file.
2639 * gdb.perf/gm-pervasive-typedef.cc: New file.
2640 * gdb.perf/gm-pervasive-typedef.h: New file.
2641 * gdb.perf/gm-std.cc: New file.
2642 * gdb.perf/gm-std.h: New file.
2643 * gdb.perf/gm-use-cerr.cc: New file.
2644 * gdb.perf/gm-utils.h: New file.
2645 * gdb.perf/gmonster-null-lookup.py: New file.
2646 * gdb.perf/gmonster-pervasive-typedef.py: New file.
2647 * gdb.perf/gmonster-print-cerr.py: New file.
2648 * gdb.perf/gmonster-ptype-string.py: New file.
2649 * gdb.perf/gmonster-runto-main.py: New file.
2650 * gdb.perf/gmonster-select-file.py: New file.
2651 * gdb.perf/gmonster1-null-lookup.exp: New file.
2652 * gdb.perf/gmonster1-pervasive-typedef.exp: New file.
2653 * gdb.perf/gmonster1-print-cerr.exp: New file.
2654 * gdb.perf/gmonster1-ptype-string.exp: New file.
2655 * gdb.perf/gmonster1-runto-main.exp: New file.
2656 * gdb.perf/gmonster1-select-file.exp: New file.
2657 * gdb.perf/gmonster1.cc: New file.
2658 * gdb.perf/gmonster1.exp: New file.
2659 * gdb.perf/gmonster2-null-lookup.exp: New file.
2660 * gdb.perf/gmonster2-pervasive-typedef.exp: New file.
2661 * gdb.perf/gmonster2-print-cerr.exp: New file.
2662 * gdb.perf/gmonster2-ptype-string.exp: New file.
2663 * gdb.perf/gmonster2-runto-main.exp: New file.
2664 * gdb.perf/gmonster2-select-file.exp: New file.
2665 * gdb.perf/gmonster2.cc: New file.
2666 * gdb.perf/gmonster2.exp: New file.
2668 2015-07-24 Doug Evans <dje@google.com>
2670 * gdb.perf/README: New file.
2671 * lib/perftest.exp (tcl_string_list_to_python_list): New function.
2672 * lib/gen-perf-test.exp: New file.
2674 2015-07-24 Doug Evans <dje@google.com>
2676 * lib/perftest.exp (PerfTest::compile): Unconditionally call body.
2677 (PerfTest::startup): New function.
2678 (PerfTest::run): Return result of calling body.
2679 (PerfTest::assemble): Rewrite.
2680 * gdb.perf/backtrace.exp (PerfTest::assemble): Update function result.
2681 * gdb.perf/disassemble.exp (PerfTest::assemble): Ditto.
2682 * gdb.perf/single-step.exp (PerfTest::assemble): Ditto.
2683 * gdb.perf/skip-prologue.exp (PerfTest::assemble): Ditto.
2684 * gdb.perf/solib.exp (PerfTest::assemble): Ditto.
2686 2015-07-24 Doug Evans <dje@google.com>
2688 * lib/gdb.exp (clean_restart): Make executable optional.
2690 2015-07-24 Doug Evans <dje@google.com>
2692 * gdb.base/watchpoint.exp (test_complex_watchpoint): Remove
2693 compiler_info references.
2694 * gdb.cp/temargs.exp: Ditto.
2695 * lib/gdb.exp: Unset compiler_info instead of setting to "unknown".
2696 (get_compiler_info): Early exit if already computed. Set compiler_info
2697 to "unknown" if there was a problem.
2698 (test_compiler_info): Add function comment. Call get_compiler_info.
2700 2015-07-24 Doug Evans <dje@google.com>
2702 * Makefile.in (check/%.exp): Pass directory for GDB_PARALLEL.
2703 (workers/%.worker, build-perf): New rule.
2704 (GDB_PERFTEST_MODE): New variable.
2705 (check-perf): Use it.
2706 (clean): Clean up gdb.perf parallel build subdirs.
2707 * lib/build-piece.exp: New file.
2708 * lib/cache.exp (gdb_do_cache): Include $GDB_PARALLEL in path name.
2709 * lib/gdb.exp (standard_output_file): Include $GDB_PARALLEL in path
2711 (standard_temp_file): Ditto.
2712 (GDB_PARALLEL handling): Make outputs,temp,cache directories as subdirs
2715 2015-07-24 Doug Evans <dje@google.com>
2717 * lib/future.exp (gdb_default_target_compile): New option
2719 * lib/gdb.exp (gdb_compile): Undo debian's change in default of
2722 2015-07-24 Sergio Durigan Junior <sergiodj@redhat.com>
2724 * gdb.base/catch-syscall.exp: Call gdb_exit before
2727 2015-07-24 Pedro Alves <palves@redhat.com>
2729 * gdb.python/py-events.exp: Accept output between the stop event
2731 * gdb.python/py-evsignal.exp: Likewise.
2732 * gdb.python/py-evthreads.exp: Likewise.
2734 2015-07-24 Pedro Alves <palves@redhat.com>
2737 * gdb.threads/non-ldr-exit.c: New file.
2738 * gdb.threads/non-ldr-exit.exp: New file.
2740 2015-07-24 Yao Qi <yao.qi@linaro.org>
2742 * gdb.server/ext-wrapper.exp: Test --wrapper option when
2745 2015-07-24 Yao Qi <yao.qi@linaro.org>
2747 * gdb.server/ext-restart.exp: New file.
2749 2015-07-24 Yao Qi <yao.qi@linaro.org>
2751 * lib/gdbserver-support.exp (gdbserver_start_extended): Add
2753 * gdb.server/ext-wrapper.exp: New file.
2755 2015-07-23 Doug Evans <dje@google.com>
2757 * gdb.dwarf2/dw2-dummy-cu.S: New file.
2758 * gdb.dwarf2/dw2-dummy-cu.exp: New file.
2760 2015-07-23 Pierre-Marie de Rodat <derodat@adacore.com>
2762 * gdb.ada/var_arr_typedef.exp: New testcase.
2763 * gdb.ada/var_arr_typedef/pack.adb: New file.
2764 * gdb.ada/var_arr_typedef/pack.ads: New file.
2765 * gdb.ada/var_arr_typedef/var_arr_typedef.adb: New file.
2767 2015-07-20 Joel Brobecker <brobecker@adacore.com>
2769 * gdb.ada/info_exc.exp: Adjust "info exceptions" expected output.
2771 2015-07-16 Jan Kratochvil <jan.kratochvil@redhat.com>
2773 * gdb.arch/i386-biarch-core.exp: Replace istarget
2774 by "complete set gnutarget". Remove expectation for the "core-file"
2777 2015-07-15 Jan Kratochvil <jan.kratochvil@redhat.com>
2779 Revert the previous commit:
2780 Tests for validate symbol file using build-id.
2782 2015-07-15 Aleksandar Ristovski <aristovski@qnx.com
2784 Tests for validate symbol file using build-id.
2785 * gdb.base/solib-mismatch-lib.c: New file.
2786 * gdb.base/solib-mismatch-libmod.c: New file.
2787 * gdb.base/solib-mismatch.c: New file.
2788 * gdb.base/solib-mismatch.exp: New file.
2790 2015-07-15 Sandra Loosemore <sandra@codesourcery.com>
2792 * gdb.base/sigaltstack.exp (finish_test): Add kfail for
2794 * gdb.base/sigbpt.exp (stepi_out): Likewise.
2795 * gdb.base/siginfo.exp: Likewise.
2796 * gdb.base/sigstep.exp (advance, advancei): Likewise.
2798 2015-07-15 Pierre Langlois <pierre.langlois@arm.com>
2800 * gdb.base/range-stepping.exp (gdb_range_stepping_enabled):
2802 * lib/range-stepping-support.exp (gdb_range_stepping_enabled):
2804 * gdb.trace/range-stepping.exp: Check that the target supports
2807 2015-07-14 Jan Kratochvil <jan.kratochvil@redhat.com>
2809 * gdb.arch/i386-biarch-core.exp: Fix comment typo.
2811 2015-07-14 Pedro Alves <palves@redhat.com>
2813 * gdb.base/killed-outside.exp: New file.
2814 * gdb.base/killed-outside.c: New file.
2816 2015-07-10 Jan Kratochvil <jan.kratochvil@redhat.com>
2818 * gdb.asm/asm-source.exp (f at main): Stop at gdbasm_enter.
2820 * gdb.asm/asmsrc1.s: Add comment "mark: main enter".
2822 2015-07-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
2824 * gdb.base/gnu_vector.exp: On x86 and x86_64 targets, skip the
2825 infcall tests instead of setting up for KFAIL.
2827 2015-07-10 Markus Metzger <markus.t.metzger@intel.com>
2829 * gdb.btrace/record_goto-step.exp: New.
2831 2015-07-08 Jan Kratochvil <jan.kratochvil@redhat.com>
2834 * gdb.compile/compile.c (struct struct_type): Add volatile to
2836 * gdb.compile/compile.exp
2837 (compile code struct_object.selffield = &struct_object): Skip further
2838 struct_object tests if this one xfails.
2840 2015-07-08 Robert O'Callahan <robert@ocallahan.org>
2843 * gdb.trace/ax.exp: Add test.
2845 2015-07-07 Yao Qi <yao.qi@linaro.org>
2847 * gdb.arch/aarch64-atomic-inst.exp: Check is_aarch64_target
2848 instead of istarget "aarch64*-*-*".
2849 * gdb.arch/aarch64-fp.exp: Likewise.
2850 * gdb.base/float.exp: Likewise.
2851 * gdb.reverse/aarch64.exp: Likewise.
2852 * lib/gdb.exp (is_aarch64_target): New proc.
2854 2015-07-07 Yao Qi <yao.qi@linaro.org>
2856 * lib/gdb.exp (is_aarch32_target): New proc.
2857 * gdb.arch/arm-bl-branch-dest.exp: Check is_aarch32_target
2858 instead of "istarget "arm*-*-*"".
2859 * gdb.arch/arm-disp-step.exp: Likewise.
2860 * gdb.arch/thumb-bx-pc.exp: Likewise.
2861 * gdb.arch/thumb-prologue.exp: Likewise.
2862 * gdb.arch/thumb-singlestep.exp: Likewise.
2863 * gdb.base/disp-step-syscall.exp: Likewise.
2864 * gdb.base/float.exp: Likewise.
2866 2015-07-07 Yao Qi <yao.qi@linaro.org>
2868 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch):
2869 Set arch1, arch2, syscall1_name, syscall2_name and syscall_number.
2871 2015-07-07 Yao Qi <yao.qi@linaro.org>
2873 * gdb.multi/multi-arch-exec.exp: Set march1 and march2 to "" if target
2874 is aarch64. If target is aarch64, set compiler=${ARM_CC_FOR_TARGET}
2876 * gdb.multi/multi-arch.exp: Likewise.
2878 2015-07-07 Simon Marchi <simon.marchi@ericsson.com>
2880 * gdb.python/py-lazy-string.exp: Add missing parentheses to
2883 2015-07-07 Yao Qi <yao.qi@linaro.org>
2885 * gdb.arch/thumb-singlestep.exp: Do one more single step.
2887 2015-06-30 Martin Galvan <martin.galvan@tallertechnologies.com>
2889 * lib/gdb.exp (test_class_help): Remove the unneeded escaping of
2890 '[' and ']' characters.
2892 2015-06-30 Iain Buclaw <ibuclaw@gdcproject.org>
2894 * gdb.dlang/demangle.exp: Sync tests from libiberty testsuite.
2896 2015-06-29 Pedro Alves <palves@redhat.com>
2899 * gdb.threads/hand-call-new-thread.c: New file.
2900 * gdb.threads/hand-call-new-thread.c: New file.
2902 2015-06-26 Keith Seitz <keiths@redhat.com>
2903 Doug Evans <dje@google.com>
2906 * gdb.cp/var-tag-2.cc: New file.
2907 * gdb.cp/var-tag-3.cc: New file.
2908 * gdb.cp/var-tag-4.cc: New file.
2909 * gdb.cp/var-tag.cc: New file.
2910 * gdb.cp/var-tag.exp: New file.
2912 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2914 * gdb.base/history-duplicates.exp: New test.
2916 2015-06-26 Patrick Palka <patrick@parcs.ath.cx>
2918 * gdb.base/completion.exp: Test the completion of the "focus"
2921 2015-06-26 Jan Kratochvil <jan.kratochvil@redhat.com>
2923 * gdb.arch/amd64-prologue-skip.S: New file.
2924 * gdb.arch/amd64-prologue-skip.exp: New file.
2926 2015-06-25 Simon Marchi <simon.marchi@ericsson.com>
2928 * gdb.python/py-prettyprint.exp (run_lang_tests): Add
2929 is_address_zero_readable check.
2931 2015-06-24 Peter Bergner <bergner@vnet.ibm.com>
2933 * gdb.arch/powerpc-power.exp <rfebb>: Fixup test results.
2934 * gdb.arch/powerpc-power.s <rfebb>: Likewise.
2936 2015-06-24 Yao Qi <yao.qi@linaro.org>
2938 * lib/gdb.exp (supports_get_siginfo_type): Return 1 for all
2941 2015-06-24 Yao Qi <yao.qi@linaro.org>
2943 * lib/gdb.exp (supports_get_siginfo_type): New proc.
2944 * gdb.base/siginfo-obj.exp: Invoke supports_get_siginfo_type.
2945 * gdb.base/siginfo-thread.exp: Likewise.
2947 2015-06-22 Yao Qi <yao.qi@linaro.org>
2949 * boards/remote-gdbserver-on-localhost.exp: Add comments.
2951 2015-06-22 Yao Qi <yao.qi@linaro.org>
2953 * lib/gdb.exp (skip_hw_breakpoint_tests): Return 0 for target
2955 (skip_hw_watchpoint_tests): Likewise.
2957 2015-06-18 Patrick Palka <patrick@parcs.ath.cx>
2959 * gdb.base/gdbinit-history.exp: Test the interaction between
2960 setting GDBHISTSIZE and setting the history size via .gdbinit.
2962 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2965 * gdb.base/gdbhistsize-history.exp: New test.
2967 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2969 * gdb.base/gdbinit-history.exp: Replace occurrences of HISTSIZE
2971 * gdb.base/readline.exp: Likewise.
2973 2015-06-17 Yao Qi <yao.qi@linaro.org>
2975 * lib/gdb.exp (get_build_id): Move braces and "else" to the same
2978 2015-06-17 Patrick Palka <patrick@parcs.ath.cx>
2980 * gdb.base/gdbinit-history.exp: Add test case to check that
2981 an unlimited history file does not get truncated on exit.
2983 2015-06-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
2985 * gdb.base/gnu_vector.c: Include stdarg.h and stdio.h.
2986 (VECTOR): New macro. Use it...
2987 (int4, uint4, char4, float4, int2, longlong2, float2, double2):
2988 ...for these typedefs.
2989 (int8, char1, int1, double1): New typedefs.
2990 (struct just_int2, struct two_int2): New structures.
2991 (add_some_intvecs, add_many_charvecs, add_various_floatvecs)
2992 (add_structvecs, add_singlevecs): New functions.
2993 (main): Call add_some_intvecs twice.
2994 * gdb.base/gnu_vector.exp: Drop GCC version check; just attempt
2995 the compile and exit upon failure. Try compiling for the "native"
2996 architecture. Test inferior function calls with vector arguments
2997 and vector return value handling with "finish" and "return".
2999 2015-06-10 Jon Turney <jon.turney@dronecode.org.uk>
3001 * gdb.base/sepdebug.exp: Add EXEEXT where needed.
3002 * lib/gdb.exp (get_build_id): Teach how to extract build-id from a
3004 * lib/future.exp (gdb_find_objdump): Add gdb_find_objdump.
3006 2015-06-12 Antoine Tremblay <antoine.tremblay@ericsson.com>
3008 PR breakpoints/16465
3009 * gdb.mi/mi-dprintf-pending.c: New file.
3010 * gdb.mi/mi-dprintf-pending.exp: New test.
3011 * gdb.mi/mi-dprintf-pendshr.c: New file.
3013 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3014 Mircea Gherzan <mircea.gherzan@intel.com>
3016 * gdb.arch/i386-mpx-map.c: New file.
3017 * gdb.arch/i386-mpx-map.exp: New File.
3019 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3021 * gdb.arch/i386-mpx.c (have_mpx): Indentation fixed.
3022 * gdb.arch/i386-mpx.exp: Indentation fixed.
3024 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3026 * gdb.arch/i386-mpx.c: Added final return to the have_mpx
3027 function and improved indentation.
3028 * gdb.arch/i386-mpx.exp: Exchanging gdb_send and gdb_expect for
3029 gdb_test_multiple. Added additional tests to skip the test.
3031 2015-06-10 Walfred Tedeschi <walfred.tedeschi@intel.com>
3033 * gdb.arch/i386-avx512.c: Change path in include file.
3034 * gdb.arch/i386-avx512.exp: Change include dir path
3036 * gdb.arch/i386-mpx.c: Change path in include file.
3037 * gdb.arch/i386-mpx.exp: Change include dir path compilation
3040 2015-06-04 Jan Kratochvil <jan.kratochvil@redhat.com>
3042 * gdb.compile/compile-print.exp (compile print *vararray@3)
3043 (compile print *vararrayp@3): Change xfail to kfail compile/18489.
3045 2015-06-03 Jan Kratochvil <jan.kratochvil@redhat.com>
3047 * gdb.compile/compile.exp (keep jit in memory): Rename to ...
3048 (do not keep jit in memory): ... this.
3049 (expect 5): Change it to ...
3050 (expect no 5): ... this.
3052 2015-06-02 Simon Marchi <simon.marchi@ericsson.com>
3055 * gdb.mi/mi-detach.exp: New file.
3057 2015-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
3060 * gdb.arch/amd64-tailcall-self.S: New file.
3061 * gdb.arch/amd64-tailcall-self.c: New file.
3062 * gdb.arch/amd64-tailcall-self.exp: New file.
3064 2015-05-28 Don Breazeal <donb@codesourcery.com>
3066 * gdb.base/foll-vfork.exp (main): Disable exec-dependent
3067 tests for remote targets by checking is_target_gdbserver.
3069 2015-05-27 Doug Evans <dje@google.com>
3071 * gdb.dwarf2/opaque-type-lookup-2.c: New file.
3072 * gdb.dwarf2/opaque-type-lookup.c: New file.
3073 * gdb.dwarf2/opaque-type-lookup.exp: New file.
3075 2015-05-26 Doug Evans <dje@google.com>
3077 * gdb.cp/iostream.cc: New file.
3078 * gdb.cp/iostream.exp: New file.
3080 2015-05-26 Doug Evans <dje@google.com>
3082 * gdb.dwarf2/dw2-op-call.exp: Update.
3083 * gdb.dwarf2/dw4-sig-types.exp: Update.
3084 * gdb.dwarf2/implptr.exp: Update.
3085 * gdb.mi/mi-cmd-param-changed.exp: Update.
3087 2015-05-26 Doug Evans <dje@google.com>
3089 * gdb.python/py-lazy-string.c: New file.
3090 * gdb.python/py-lazy-string.exp: New file.
3091 * gdb.python/py-prettyprint.c (lazystring) <len>: New member.
3092 (main): Update. Add estring3.
3093 * gdb.python/py-prettyprint.exp: Add tests for strings at address 0.
3094 * gdb.python/py-prettyprint.py (pp_ls): Handle length.
3096 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3097 Yao Qi <yao.qi@linaro.org>
3099 * gdb.reverse/aarch64.c: New.
3100 * gdb.reverse/aarch64.exp: New.
3102 2015-05-26 Omair Javaid <omair.javaid@linaro.org>
3104 * lib/gdb.exp (supports_process_record): Return true for aarch64*-linux*.
3105 (supports_reverse): Likewise.
3107 2015-05-22 Patrick Palka <patrick@parcs.ath.cx>
3109 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3110 Use with_test_prefix.
3112 2015-05-21 Andrew Burgess <andrew.burgess@embecosm.com>
3114 * gdb.base/completion.exp: Add test for completion of layout
3117 2015-05-20 Andrew Burgess <andrew.burgess@embecosm.com>
3119 * lib/gdb.exp (skip_tui_tests): New proc.
3120 * gdb.base/tui-layout.exp: Check skip_tui_tests.
3122 2015-05-19 Pedro Alves <palves@redhat.com>
3124 * gdb.base/gdbinit-history.exp (test_gdbinit_history_setting):
3125 Save the whole env array instead of just HOME. Unset HISTSIZE in
3126 the environment while testing. Restore whole environment
3129 2015-05-16 Doug Evans <xdje42@gmail.com>
3131 * gdb.guile/scm-ports.c: New file.
3132 * gdb.guile/scm-ports.exp: Add memory port tests.
3134 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3136 * gdb.compile/compile-print.c: New file.
3137 * gdb.compile/compile-print.exp: New file.
3139 2015-05-16 Jan Kratochvil <jan.kratochvil@redhat.com>
3141 * gdb.compile/compile-ops.exp: Cast param to void.
3142 * gdb.compile/compile.exp: Complete type for _gdb_expr.
3143 (compile code struct_object.selffield = &struct_object): Add xfail.
3145 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3147 * gdb.ada/arr_enum_with_gap: New testcase.
3149 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3151 * gdb.ada/byte_packed_arr: New testcase.
3153 2015-05-15 Joel Brobecker <brobecker@adacore.com>
3155 * gdb.ada/pckd_neg: New testcase.
3157 2015-05-13 Patrick Palka <patrick@parcs.ath.cx>
3160 * gdb.base/gdbinit-history.exp: New test.
3161 * gdb.base/gdbinit-history/unlimited/.gdbinit: New file.
3162 * gdb.base/gdbinit-history/zero/.gdbinit: New file.
3164 2015-05-09 Siva Chandra Reddy <sivachandra@google.com>
3166 * gdb.python/py-xmethods.cc: Enhance test case.
3167 * gdb.python/py-xmethods.exp: New tests.
3168 * gdb.python/py-xmethods.py (A_indexoper): New xmethod worker
3170 (B_indexoper): Likewise.
3171 (global_dm_list) : Add new xmethod worker functions.
3173 2015-05-08 Sergio Durigan Junior <sergiodj@redhat.com>
3175 * gdb.base/coredump-filter.exp: Correctly unset
3176 "coredump_var_addr" array.
3178 2015-05-08 Pedro Alves <palves@redhat.com>
3180 * gdb.server/non-existing-program.exp: Unset spawn_id.
3182 2015-05-08 Siva Chandra Reddy <sivachandra@google.com>
3185 * gdb.python/py-xmethods.exp: Add tests.
3187 2015-05-08 Yao Qi <yao.qi@linaro.org>
3190 * gdb.base/coredump-filter.c (set_coredump_filter): New function.
3191 * gdb.base/coredump-filter.exp (do_save_core): Call inferior
3192 function set_coredump_filter, and remove remote_exec call.
3193 Remove argument ipid. Callers update.
3194 (top level): Don't get inferior's PID.
3196 2015-05-08 Andreas Arnez <arnez@linux.vnet.ibm.com>
3198 * gdb.base/watch_thread_num.exp: Skip test on targets without
3201 2015-05-06 Pedro Alves <palves@redhat.com>
3204 * gdb.server/non-existing-program.exp: New file.
3206 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3208 * gdb.ada/out_of_line_in_inlined.exp: Add run and "bt" tests.
3210 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3212 * gdb.ada/out_of_line_in_inlined: New testcase.
3214 2015-05-05 Joel Brobecker <brobecker@adacore.com>
3216 * gdb.ada/var_rec_arr: New testcase.
3218 2015-04-30 Yao Qi <yao.qi@linaro.org>
3220 * gdb.base/break-idempotent.exp: If
3221 skip_hw_watchpoint_multi_tests returns true, skip the tests
3222 on "rwatch" and "awatch".
3224 2015-04-30 Yao Qi <yao.qi@linaro.org>
3226 * gdb.base/relativedebug.exp: Invoke gdb command
3227 "info sharedlibrary", and if libc.so doesn't have debug info,
3230 2015-04-29 Doug Evans <dje@google.com>
3232 * gdb.python/py-xmethods.exp: Add ptype tests.
3233 * gdb.python/py-xmethods.py (E_method_char_worker): Add
3234 get_result_type method.
3236 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3238 * gdb.base/watch-bitfields.exp: Switch to software watchpoints if
3239 the target does not support hardware watchpoints.
3241 2015-04-29 Luis Machado <lgustavo@codesourcery.com>
3243 * gdb.base/break-always.exp: Abort testing if writing to memory
3246 2015-04-28 Doug Evans <dje@google.com>
3248 * gdb.python/py-pp-maint.py: Move "replace" testing to ...
3249 * gdb.python/py-pp-registration.exp: ... here. New file.
3250 * gdb.python/py-pp-registration.c: New file.
3251 * gdb.python/py-pp-registration.py: New file.
3253 2015-04-28 Doug Evans <dje@google.com>
3255 * gdb.python/py-bad-printers.c: New file.
3256 * gdb.python/py-bad-printers.py: New file.
3257 * gdb.python/py-bad-printers.exp: New file.
3259 2015-04-28 Sasha Smundak <asmundak@google.com>
3261 * gdb.python/py-type.exp: New test.
3263 2015-04-28 Andy Wingo <wingo@igalia.com>
3265 * gdb.python/py-parameter.exp:
3266 * gdb.guile/scm-parameter.exp: Escape the path that we are
3267 matching against, as it might contain characters that are special
3268 to regular expressions.
3270 2015-04-27 Joel Brobecker <brobecker@adacore.com>
3272 * gdb.ada/rec_comp: New testcase.
3274 2015-04-26 Sergio Durigan Junior <sergiodj@redhat.com>
3276 * gdb.base/coredump-filter.exp: Clear variable "coredump_var_addr"
3279 2015-04-24 Andrew Burgess <andrew.burgess@embecosm.com>
3281 * gdb.base/dump.exp: Add *.verilog files to all_files list. Add
3282 new tests for verilog output.
3284 2015-04-24 Yao Qi <yao.qi@linaro.org>
3286 * boards/remote-gdbserver-on-localhost.exp: New file.
3288 2015-04-23 Pedro Alves <palves@redhat.com>
3290 * gdb.base/interrupt.exp: Use an indirect spawn id list holding
3291 $inferior_spawn_id instead of $inferior_spawn_id directly. On
3292 "end of file", remove $inferior_spawn_id from the indirect list.
3294 2015-04-23 Pedro Alves <palves@redhat.com>
3296 * gdb.base/interrupt.exp: Rename saw_eof to saw_end_of_file.
3298 2015-04-23 Pedro Alves <palves@redhat.com>
3300 * lib/gdb.exp (gdb_test_multiple): Match eof/full_buffer/timeout
3301 on $any_spawn_id instead of only on $gdb_spawn_id.
3303 2015-04-21 Pierre Muller <muller@sourceware.org>
3306 * lib/pascal.exp (gpc_compile): Add new option "class".
3307 (fpc_compile): Likewise.
3308 * gdb.pascal/case-insensitive-symbols.pas: New file.
3309 * gdb.pascal/case-insensitive-symbols.exp: New file.
3311 2015-04-20 Gary Benson <gbenson@redhat.com>
3313 * gdb.base/attach.exp: Fix three extended remote failures.
3315 2015-04-17 Gary Benson <gbenson@redhat.com>
3317 * gdb.server/server-exec-info.exp: Inhibit GDB from accessing
3318 the main executable over the remote protocol.
3320 2015-04-16 Pedro Alves <palves@redhat.com>
3322 * boards/native-extended-gdbserver.exp (mi_gdb_start): Don't start
3323 a new gdbserver if gdbserver_reconnect_p is set.
3325 2015-04-16 Pedro Alves <palves@redhat.com>
3327 * lib/gdbserver-support.exp (gdb_exit): If gdbserver_reconnect_p
3328 is set, don't exit gdbserver.
3330 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3332 * gdb.arch/s390-vregs.S (change_vrs): Replace exrl by an
3333 appropriate .insn, such that an older assembler can be used.
3334 * gdb.arch/s390-vregs.exp: Add the compile flag -mzarch, to enable
3335 the z/Architecture instruction set on 31-bit targets as well.
3337 2015-04-16 Andreas Arnez <arnez@linux.vnet.ibm.com>
3339 * gdb.go/handcall.exp: Remove all logic related to the first
3340 breakpoint and rely on go_runto_main instead.
3341 * gdb.go/strings.exp: Likewise.
3342 * gdb.go/unsafe.exp: Likewise.
3343 * gdb.go/hello.exp: Likewise. Also rename the remaining
3344 breakpoint marker to "breakpoint 1".
3345 * gdb.go/handcall.go: Remove comment "set breakpoint 1 here".
3346 * gdb.go/strings.go: Likewise.
3347 * gdb.go/unsafe.go: Likewise.
3348 * gdb.go/hello.go: Likewise. Also remove the second occurrence of
3349 "set breakpoint 2 here" and rename the remaining breakpoint marker
3352 2015-04-15 Simon Marchi <simon.marchi@ericsson.com>
3354 * gdb.python/py-framefilter.py (ErrorFilter.filter): Use map function
3355 if itertools.imap is not present.
3356 * gdb.python/py-objfile.exp: Add parentheses.
3357 * gdb.python/py-type.exp: Same.
3358 * gdb.python/py-unwind-maint.py: Same.
3360 2015-04-15 Yao Qi <yao.qi@linaro.org>
3362 * gdb.dwarf2/dynarr-ptr.exp (assemble): Use $ptr_size instead
3363 of ":$ptr_size" and set its form explicitly.
3365 2015-04-15 Pedro Alves <palves@redhat.com>
3366 Yao Qi <yao.qi@linaro.org>
3368 * gdb.base/watch-bitfields.exp (test_watch_location): Increase
3369 timeout by factor of 4.
3370 (test_regular_watch): Likewise.
3371 * gdb.base/watchpoint-solib.exp: Use with_timeout_factor.
3372 * gdb.reverse/sigall-reverse.exp: Likewise.
3373 * gdb.reverse/until-precsave.exp: Likewise.
3374 * lib/gdb.exp (with_timeout_factor): New proc.
3375 (gdb_expect): Move some code to ...
3376 (get_largest_timeout): ... here. New procedure.
3378 2015-04-14 Luis Machado <lgustavo@codesourcery.com>
3380 * gdb.base/bp-permanent.exp (test): Reinstate correct test message.
3382 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3384 * gdb.base/bp-permanent.exp (test): Handle the case of being unable
3385 to write to the .text section.
3387 2015-04-13 Luis Machado <lgustavo@codesourcery.com>
3389 * gdb.base/coredump-filter.exp: Restrict test to Linux systems only.
3390 Handle the case of targets that do not provide PID information.
3392 2015-04-13 Yao Qi <yao.qi@linaro.org>
3394 * lib/gdbserver-support.exp (gdb_exit): Catch exception
3395 and use expect instead of gdb_expect.
3397 2015-04-13 Sergio Durigan Junior <sergiodj@redhat.com>
3399 * gdb.base/coredump-filter.exp: Rename variable "addr" to
3400 "coredump_var_addr" to avoid naming conflict with other testcases.
3402 2015-04-10 Pedro Alves <palves@redhat.com>
3404 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp: Use
3405 gdb_test_sequence and gdb_assert.
3407 2015-04-10 Pedro Alves <palves@redhat.com>
3409 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Use
3410 test messages that don't include the breakpoint address.
3412 2015-04-10 Yao Qi <yao.qi@linaro.org>
3414 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): Return
3415 false for some offset and width combinations which aren't
3416 supported by linux kernel.
3418 2015-04-10 Pedro Alves <palves@redhat.com>
3420 * gdb.threads/step-over-lands-on-breakpoint.exp (do_test): New
3421 procedure, factored out from ...
3422 (top level): ... here. Add "set displaced-stepping" testing axis.
3423 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): New
3424 parameter "displaced". Use it.
3425 (top level): Use foreach and add "set displaced-stepping" testing
3428 2015-04-10 Pedro Alves <palves@redhat.com>
3430 * gdb.threads/step-over-trips-on-watchpoint.c (child_function):
3432 * gdb.threads/step-over-trips-on-watchpoint.exp (do_test): Find
3433 both the address of the instruction that triggers the watchpoint
3434 and the address of the instruction immediately after, and use
3435 those addresses for the test. Fix comment.
3437 2015-04-10 Pedro Alves <palves@redhat.com>
3439 * gdb.base/sigstep.exp (breakpoint_to_handler)
3440 (breakpoint_to_handler_entry): New parameter 'displaced'. Use it.
3441 Test "backtrace" in handler.
3442 (breakpoint_over_handler): New parameter 'displaced'. Use it.
3443 (top level): Add new "displaced" test axis to
3444 breakpoint_to_handler, breakpoint_to_handler_entry and
3445 breakpoint_over_handler.
3447 2015-04-10 Pedro Alves <palves@redhat.com>
3450 * gdb.threads/multiple-step-overs.exp: Remove expected eof.
3452 2015-04-10 Yao Qi <yao.qi@linaro.org>
3454 * gdb.arch/arm-disp-step.S (main): Call test_add_rn_pc.
3455 (test_add_rn_pc): New function.
3456 * gdb.arch/arm-disp-step.exp (test_add_rn_pc): New proc.
3457 (top level): Invoke test_add_rn_pc.
3459 2015-04-10 Pedro Alves <palves@redhat.com>
3462 * gdb.base/step-over-no-symbols.exp: New file.
3464 2015-04-09 Andy Wingo <wingo@igalia.com>
3466 * gdb.guile/scm-frame.exp: Add frame-read-register tests, modelled
3467 after the Python tests.
3469 2015-04-08 Keith Seitz <keiths@redhat.com>
3472 * gdb.python/py-completion.exp: New tests for completion.
3473 * gdb.python/py-completion.py (CompleteLimit1): New class.
3474 (CompleteLimit2): Likewise.
3475 (CompleteLimit3): Likewise.
3476 (CompleteLimit4): Likewise.
3477 (CompleteLimit5): Likewise.
3478 (CompleteLimit6): Likewise.
3479 (CompleteLimit7): Likewise.
3481 2015-04-08 Pedro Alves <palves@redhat.com>
3485 * gdb.threads/multiple-step-overs.c (sigusr1_handler): New
3487 (main): Install it as SIGUSR1 handler.
3488 * gdb.threads/multiple-step-overs.exp (setup): Remove 'prefix'
3489 parameter. Always use "setup" as prefix. Toggle "set
3490 displaced-stepping" off/on depending on global. Don't switch to
3492 (top level): Add displaced stepping "off/on" test axis. Update
3493 "setup" calls. Wrap each subtest with with_test_prefix. Test
3494 continuing with a queued signal in each thread.
3496 2015-04-08 Pedro Alves <palves@redhat.com>
3498 * gdb.trace/actions.exp: Use gdb_load before gdb_run_cmd.
3499 * gdb.trace/infotrace.exp: Use gdb_load before gdb_run_cmd. Use
3500 gdb_breakpoint instead of gdb_test that doesn't expect anything.
3501 Return early if running to main fails.
3502 * gdb.trace/while-stepping.exp: Likewise.
3504 2015-04-07 Pedro Alves <palves@redhat.com>
3506 * gdb.base/interrupt.exp: Don't skip if $inferior_spawn_id !=
3507 $gdb_spawn_id. Use send_inferior and $inferior_spawn_id to
3508 interact with inferior program.
3510 2015-04-07 Pedro Alves <palves@redhat.com>
3512 * lib/gdb.exp (inferior_spawn_id): New global.
3513 (gdb_test_multiple): Handle "-i". Reset the spawn id to GDB's
3514 spawn id after processing the user code.
3515 (default_gdb_start): Set inferior_spawn_id.
3516 (send_inferior): New procedure.
3517 * lib/gdbserver-support.exp (gdbserver_start): Set
3519 (close_gdbserver, gdb_exit): Unset inferior_spawn_id.
3521 2015-04-07 Pedro Alves <palves@redhat.com>
3523 * lib/gdb.exp (gdb_finish): Delete persistent gdbserver handling.
3524 * lib/gdbserver-support.exp (gdbserver_start): Make
3525 $server_spawn_id global.
3526 (gdbserver_start): Don't wait for gdbserver's spawn id with
3528 (close_gdbserver): New procedure.
3529 (gdb_exit): Rename the default version and reimplement.
3531 2015-04-07 Pedro Alves <palves@redhat.com>
3533 * lib/gdb.exp (gdb_test_multiple): When processing an argument,
3534 append the substituted item, not the original item.
3536 2015-04-07 Pedro Alves <palves@redhat.com>
3538 * gdb.base/interrupt.exp: Use gdb_test_multiple instead of
3541 2015-04-07 Pedro Alves <palves@redhat.com>
3543 * gdb.base/interrupt.exp: Don't handle the case of the inferior
3544 output appearing once only.
3546 2015-04-07 Pedro Alves <palves@redhat.com>
3548 * gdb.trace/actions.exp: Use gdb_breakpoint instead of gdb_test
3549 that doesn't expect anything. Return early if running to main
3552 2015-04-07 Yao Qi <yao.qi@linaro.org>
3554 * gdb.threads/non-stop-fair-events.c (SECONDS): New macro.
3555 (child_function): Call alarm.
3556 (main): Move call to alarm into the loop.
3557 * gdb.threads/non-stop-fair-events.exp: Build program with
3560 2015-04-06 Doug Evans <xdje42@gmail.com>
3562 * lib/pascal.exp (gpc_compile): Rename dest arg to destfile.
3563 Fix dest parameter to board_info.
3564 (fpc_compile): Ditto.
3565 (gdb_compile_pascal): Rename dest arg to destfile.
3567 2015-04-03 Pierre-Marie de Rodat <derodat@adacore.com>
3569 * gdb.ada/funcall_ref.exp: New file.
3570 * gdb.ada/funcall_ref/foo.adb: New file.
3572 2015-04-02 Yao Qi <yao.qi@linaro.org>
3574 * gdb.threads/no-unwaited-for-left.exp: Set up kfail if target
3577 2015-04-02 Gary Benson <gbenson@redhat.com>
3579 * gdb.base/break-probes.exp: Cope with "target:" sysroot.
3581 2015-04-01 Sasha Smundak <asmundak@google.com>
3583 * gdb.python/py-unwind-maint.c: New file.
3584 * gdb.python/py-unwind-maint.exp: New test.
3585 * gdb.python/py-unwind-maint.py: New file.
3586 * gdb.python/py-unwind.c: New file.
3587 * gdb.python/py-unwind.exp: New test.
3588 * gdb.python/py-unwind.py: New test.
3590 2015-04-01 Pedro Alves <palves@redhat.com>
3592 * gdb.threads/manythreads.exp (interrupt_and_wait): Pass $message
3593 to fail instead of non-existent $test.
3595 2015-04-01 Pedro Alves <palves@redhat.com>
3597 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): Append space to
3598 GDBFLAGS if not empty.
3600 2015-04-01 Pierre-Marie de Rodat <derodat@adacore.com>
3602 * gdb.ada/complete.exp: Remove "multi_line".
3603 * gdb.ada/info_exc.exp: Remove "multi_line".
3604 * gdb.ada/packed_tagged.exp: Remove "multi_line".
3605 * gdb.ada/ptype_field.exp: Remove "multi_line".
3606 * gdb.ada/sym_print_name.exp: Remove "multi_line".
3607 * gdb.ada/tagged.exp: Remove "multi_line".
3608 * gdb.btrace/buffer-size.exp: Replace [join [list ...]] with
3610 * gdb.btrace/delta.exp: Likewise.
3611 * gdb.btrace/exception.exp: Likewise.
3612 * gdb.btrace/function_call_history.exp: Likewise.
3613 * gdb.btrace/instruction_history.exp: Likewise.
3614 * gdb.btrace/nohist.exp: Likewise.
3615 * gdb.btrace/record_goto.exp: Likewise.
3616 * gdb.btrace/segv.exp: Likewise.
3617 * gdb.btrace/stepi.exp: Likewise.
3618 * gdb.btrace/tailcall.exp: Likewise.
3619 * gdb.btrace/unknown_functions.exp: Likewise.
3620 * gdb.dwarf2/dw2-undefined-ret-addr.exp: Likewise.
3621 * lib/gdb.exp: Add the "multi_line" helper.
3623 2015-04-01 Pedro Alves <palves@redhat.com>
3625 * gdb.threads/tid-reuse.c: New file.
3626 * gdb.threads/tid-reuse.exp: New file.
3628 2015-03-31 Sergio Durigan Junior <sergiodj@redhat.com>
3631 * gdb.base/coredump-filter.c: New file.
3632 * gdb.base/coredump-filter.exp: Likewise.
3634 2015-03-27 Petr Machata <pmachata@redhat.com>
3636 * lib/dwarf.exp (Dwarf::_handle_DW_FORM): Handle DW_FORM_sec_offset.
3637 (Dwarf::_line_count, Dwarf::_line_saw_file): New variables.
3638 (Dwarf::assemble): Initialize them.
3639 (Dwarf::lines): New function.
3641 2015-03-26 Jon Turney <jon.turney@dronecode.org.uk>
3643 * lib/gdb.exp (gdb_target_symbol_prefix_flags): Don't set
3644 SYMBOL_PREFIX for x86_64-*-cygwin.
3646 2015-03-26 Andy Wingo <wingo@igalia.com>
3649 * gdb.dwarf2/dw2-intercu.S (one, two): Add variables that have a
3650 const_value but not a location.
3651 * gdb.dwarf2/dw2-intercu.exp: Add tests that constants without
3652 location defined in non-main CUs are visible.
3654 2015-03-26 Yao Qi <yao.qi@linaro.org>
3657 * gdb.linespec/break-asm-file0.s (func): New label .Lfunc_2.
3658 Add a line number entry for the same line.
3659 * gdb.linespec/break-asm-file1.s (func): New label .Lfunc_2.
3660 Add a line number entry for the same line.
3662 2015-03-26 Yao Qi <yao.qi@linaro.org>
3664 * gdb.linespec/break-asm-file0.s (func2): Use nop instead of
3666 (func): Likewise. Add .Lfunc_1 label.
3668 * gdb.linespec/break-asm-file1.s (func3): Use nop instead of
3673 2015-03-26 Yao Qi <yao.qi@linaro.org>
3675 * gdb.linespec/break-asm-file.exp: Don't call prepare_for_testing.
3676 Call gdb_compile instead to compile each .s files without debug
3679 2015-03-26 Yao Qi <yao.qi@linaro.org>
3681 * gdb.base/savedregs.exp (process_saved_regs): Make
3682 "Saved registers:" optional in the pattern.
3684 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3686 * gdb.btrace/next.exp: Merged into step.exp.
3687 * gdb.btrace/finish.exp: Merged into step.exp.
3688 * gdb.btrace/nexti.exp: Merged into stepi.exp.
3689 * gdb.btrace/step.exp: Use record_goto.c as test file. Avoid using
3690 "record goto" and checking the exact replay position.
3691 * gdb.btrace/stepi.exp: Choose test file based on target. Do not
3692 check for "Recording format" in "info record" output.
3693 * gdb.btrace/record_goto.exp: Choose test file based on target.
3694 * gdb.btrace/x86-record_goto.S: Renamed into ...
3695 * gdb.btrace/x86_64-record_goto.S: ... this.
3696 * gdb.btrace/i686-record_goto.S: New.
3697 * gdb.btrace/x86-tailcall.S: Renamed into ...
3698 * gdb.btrace/x86_64-tailcall.S: ... this.
3699 * gdb.btrace/i686-tailcall.S: New.
3700 * gdb.btrace/x86-tailcall.c: Renamed into ...
3701 * gdb.btrace/tailcall.c: ... this. Split "return ++answer" into two
3702 separate statements. Update test.
3703 * gdb.btrace/delta.exp: Use record_goto.c as test file.
3704 * gdb.btrace/gcore.exp: Use record_goto.c as test file.
3705 * gdb.btrace/nohist.exp: Use record_goto.c as test file.
3706 * gdb.btrace/tailcall.exp: Choose test file based on target.
3707 * gdb.btrace/Makefile.in: Remove next, finish, and nexti.
3709 2015-03-25 Markus Metzger <markus.t.metzger@intel.com>
3711 * gdb.btrace/exception.exp: Increase BTS buffer size.
3713 2015-03-24 Pedro Alves <palves@redhat.com>
3715 * gdb.threads/no-unwaited-for-left.exp: Test "thread apply all".
3717 2015-03-24 Pedro Alves <palves@redhat.com>
3719 * gdb.threads/schedlock.exp (test_step): No longer expect that
3720 "set scheduler-locking step" with "next" over a function call runs
3723 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3725 * gdb.mi/mi-pending.exp: Fix output of breakpoint test.
3727 2015-03-24 Antoine Tremblay <antoine.tremblay@ericsson.com>
3729 PR breakpoints/16466
3730 * gdb.mi/Makefile.in: Add mi-pendshr2.sl to cleanup.
3731 * gdb.mi/mi-pending.c (thread_func): New function.
3732 (int main): Add threading support required.
3733 * gdb.mi/mi-pending.exp: Add tests for this issue.
3734 * gdb.mi/mi-pendshr.c (pendfunc1): Remove stdio dependency.
3735 (pendfunc2): Remove stdio dependency.
3736 * gdb.mi/mi-pendshr2.c: New file.
3738 2015-03-23 Keith Seitz <keiths@redhat.com>
3740 * gdb.linespec/keywords.c: New file.
3741 * gdb.linespec/keywords.exp: New file.
3743 2015-03-23 Keith Seitz <keiths@redhat.com>
3746 * gdb.dwarf2/staticvirtual.exp: New test.
3748 2015-03-20 Jan Kratochvil <jan.kratochvil@redhat.com>
3750 * Makefile.in (ALL_SUBDIRS): Remove gdb.hp.
3751 * README: Remove HP-UX and gdb.hp.
3753 * configure: Regenerate.
3754 * configure.ac (AC_OUTPUT): Remove gdb.hp/Makefile,
3755 gdb.hp/gdb.objdbg/Makefile, gdb.hp/gdb.base-hp/Makefile,
3756 gdb.hp/gdb.aCC/Makefile, gdb.hp/gdb.compat/Makefile,
3757 gdb.hp/gdb.defects/Makefile.
3758 * gdb.hp/Makefile.in: File deleted.
3759 * gdb.hp/gdb.aCC/Makefile.in: File deleted.
3760 * gdb.hp/gdb.aCC/optimize.c: File deleted.
3761 * gdb.hp/gdb.aCC/optimize.exp: File deleted.
3762 * gdb.hp/gdb.aCC/run.c: File deleted.
3763 * gdb.hp/gdb.aCC/watch-cmd.exp: File deleted.
3764 * gdb.hp/gdb.base-hp/Makefile.in: File deleted.
3765 * gdb.hp/gdb.base-hp/callfwmall.c: File deleted.
3766 * gdb.hp/gdb.base-hp/callfwmall.exp: File deleted.
3767 * gdb.hp/gdb.base-hp/dollar.c: File deleted.
3768 * gdb.hp/gdb.base-hp/dollar.exp: File deleted.
3769 * gdb.hp/gdb.base-hp/genso-thresh.c: File deleted.
3770 * gdb.hp/gdb.base-hp/hwwatchbus.c: File deleted.
3771 * gdb.hp/gdb.base-hp/hwwatchbus.exp: File deleted.
3772 * gdb.hp/gdb.base-hp/pxdb.c: File deleted.
3773 * gdb.hp/gdb.base-hp/pxdb.exp: File deleted.
3774 * gdb.hp/gdb.base-hp/reg-pa64.exp: File deleted.
3775 * gdb.hp/gdb.base-hp/reg-pa64.s: File deleted.
3776 * gdb.hp/gdb.base-hp/reg.exp: File deleted.
3777 * gdb.hp/gdb.base-hp/reg.s: File deleted.
3778 * gdb.hp/gdb.base-hp/sized-enum.c: File deleted.
3779 * gdb.hp/gdb.base-hp/sized-enum.exp: File deleted.
3780 * gdb.hp/gdb.base-hp/so-thresh.exp: File deleted.
3781 * gdb.hp/gdb.base-hp/so-thresh.mk: File deleted.
3782 * gdb.hp/gdb.base-hp/so-thresh.sh: File deleted.
3783 * gdb.hp/gdb.compat/Makefile.in: File deleted.
3784 * gdb.hp/gdb.compat/average.c: File deleted.
3785 * gdb.hp/gdb.compat/sum.c: File deleted.
3786 * gdb.hp/gdb.compat/xdb.c: File deleted.
3787 * gdb.hp/gdb.compat/xdb0.c: File deleted.
3788 * gdb.hp/gdb.compat/xdb0.h: File deleted.
3789 * gdb.hp/gdb.compat/xdb1.c: File deleted.
3790 * gdb.hp/gdb.compat/xdb1.exp: File deleted.
3791 * gdb.hp/gdb.compat/xdb2.exp: File deleted.
3792 * gdb.hp/gdb.compat/xdb3.exp: File deleted.
3793 * gdb.hp/gdb.defects/Makefile.in: File deleted.
3794 * gdb.hp/gdb.defects/bs14602.c: File deleted.
3795 * gdb.hp/gdb.defects/bs14602.exp: File deleted.
3796 * gdb.hp/gdb.defects/solib-d.c: File deleted.
3797 * gdb.hp/gdb.defects/solib-d.exp: File deleted.
3798 * gdb.hp/gdb.defects/solib-d1.c: File deleted.
3799 * gdb.hp/gdb.defects/solib-d2.c: File deleted.
3800 * gdb.hp/gdb.objdbg/Makefile.in: File deleted.
3801 * gdb.hp/gdb.objdbg/objdbg01.exp: File deleted.
3802 * gdb.hp/gdb.objdbg/objdbg01/x1.cc: File deleted.
3803 * gdb.hp/gdb.objdbg/objdbg01/x2.cc: File deleted.
3804 * gdb.hp/gdb.objdbg/objdbg01/x3.cc: File deleted.
3805 * gdb.hp/gdb.objdbg/objdbg01/x3.h: File deleted.
3806 * gdb.hp/gdb.objdbg/objdbg02.exp: File deleted.
3807 * gdb.hp/gdb.objdbg/objdbg02/x1.cc: File deleted.
3808 * gdb.hp/gdb.objdbg/objdbg02/x2.cc: File deleted.
3809 * gdb.hp/gdb.objdbg/objdbg02/x3.cc: File deleted.
3810 * gdb.hp/gdb.objdbg/objdbg03.exp: File deleted.
3811 * gdb.hp/gdb.objdbg/objdbg03/x1.cc: File deleted.
3812 * gdb.hp/gdb.objdbg/objdbg03/x2.cc: File deleted.
3813 * gdb.hp/gdb.objdbg/objdbg03/x3.cc: File deleted.
3814 * gdb.hp/gdb.objdbg/objdbg04.exp: File deleted.
3815 * gdb.hp/gdb.objdbg/objdbg04/x.h: File deleted.
3816 * gdb.hp/gdb.objdbg/objdbg04/x1.cc: File deleted.
3817 * gdb.hp/gdb.objdbg/objdbg04/x2.cc: File deleted.
3818 * gdb.hp/gdb.objdbg/tools/symaddr: File deleted.
3819 * gdb.hp/gdb.objdbg/tools/symaddr.pa64: File deleted.
3820 * gdb.hp/gdb.objdbg/tools/test-objdbg.cc: File deleted.
3821 * gdb.hp/tools/odump: File deleted.
3823 2015-03-19 Pedro Alves <palves@redhat.com>
3825 * gdb.threads/continue-pending-status.exp (saw_thread_2)
3826 (saw_thread_3): New globals.
3827 (top level): Increment them when an event for the corresponding
3829 (no thread starvation): New test.
3831 2015-03-19 Pedro Alves <palves@redhat.com>
3833 * gdb.threads/continue-pending-status.c: New file.
3834 * gdb.threads/continue-pending-status.exp: New file.
3836 2015-03-18 Pedro Alves <palves@redhat.com>
3838 * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall):
3839 Use gdb_is_target_remote instead of is_remote. Use
3840 gdb_test_multiple instead of gdb_expect. Exit early if
3841 gdb_test_multiple hits its internal matches. Tighten stepi tests
3842 expected output. Fail on exit with any signal, instead of just
3845 2015-03-18 Yao Qi <yao.qi@linaro.org>
3848 * gdb.base/catch-syscall.c [!SYS_pipe] (pipe2_syscall): New
3850 * gdb.base/catch-syscall.exp: Don't skip it on
3851 aarch64*-*-linux* target. Remove elements in all_syscalls.
3852 (test_catch_syscall_multi_arch): Skip it on aarch64*-linux*
3854 (setup_all_syscalls): New proc.
3856 2015-03-16 Yao Qi <yao.qi@linaro.org>
3858 * gdb.base/watchpoint-reuse-slot.exp (valid_addr_p): New proc.
3859 (top level): Skip tests if valid_addr_p returns false for
3862 2015-03-11 Andy Wingo <wingo@igalia.com>
3864 * gdb.guile/scm-objfile.exp: Add objfile-progspace test.
3866 2015-03-11 Yao Qi <yao.qi@linaro.org>
3868 * gdb.base/catch-syscall.exp: Fix typo in comments.
3870 2015-03-11 Yao Qi <yao.qi@linaro.org>
3872 * gdb.base/catch-syscall.exp: Skip it on HP-UX target.
3874 2015-03-09 Pedro Alves <palves@redhat.com>
3876 * dg-extract-results.py: Delete.
3878 2015-03-09 Pedro Alves <palves@redhat.com>
3880 Merge dg-extract-results.sh from GCC upstream (r218843).
3882 2014-12-17 Sergio Durigan Junior <sergiodj@redhat.com>
3883 * dg-extract-results.sh: Use --text with grep to avoid issues with
3884 binary files. Fall back to cat -v, if that doesn't work.
3886 2015-03-05 Pedro Alves <palves@redhat.com>
3888 * gdb.base/bp-permanent.exp: Tighten "next over setup" regex.
3890 2015-03-04 Simon Marchi <simon.marchi@ericsson.com>
3892 * lib/mi-support.exp (mi_expect_interrupt): Accept
3893 alternative event for when in all-stop mode.
3895 2015-03-04 Pedro Alves <palves@redhat.com>
3897 * gdb.threads/thread-specific-bp.exp: Delete "info threads" test.
3899 2015-03-04 Mark Kettenis <kettenis@gnu.org>
3901 * gdb.base/foll-fork.exp: Enable on *-*-openbsd*.
3903 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3905 * gdb.base/breakpoint-in-ro-region.exp (test_single_step): In the
3906 regexps for GDB's current line display, accept a hex address
3907 preceding the line number.
3909 2015-03-04 Andreas Arnez <arnez@linux.vnet.ibm.com>
3911 * gdb.base/catch-syscall.exp (test_catch_syscall_multi_arch): Set
3912 the 'arch1' variable for "s390*-linux*" targets.
3914 2015-03-04 Pedro Alves <palves@redhat.com>
3916 * gdb.threads/clone-thread_db.c: Include unistd.h and pthread.h.
3917 (main): Pass missing retval argument to pthread_join call.
3919 2015-03-02 Pedro Alves <palves@redhat.com>
3921 * gdb.threads/thread-execl.exp (do_test): Handle non-stop.
3922 (top level): Call do_test with non-stop as well.
3924 2015-03-02 Pedro Alves <palves@redhat.com>
3926 * lib/gdb.exp (gdb_test_multiple) <internal error>: Set result to
3929 2015-03-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
3931 * gdb.arch/s390-vregs.exp: New test.
3932 * gdb.arch/s390-vregs.S: New file.
3934 2015-02-27 Pedro Alves <palves@redhat.com>
3936 * gdb.gdb/python-interrupts.exp (test_python_interrupts): Adjust
3937 call to catch_command_errors.
3938 * gdb.gdb/python-selftest.exp (selftest_python): Adjust call to
3939 catch_command_errors.
3941 2015-02-27 Pedro Alves <palves@redhat.com>
3943 * gdb.gdb/complaints.exp (test_initial_complaints): Also accept
3944 "true" for boolean result.
3945 * gdb.gdb/selftest.exp (test_with_self): Also accept full
3948 2015-02-27 Pedro Alves <palves@redhat.com>
3950 * lib/unbuffer_output.c: New file.
3951 * gdb.base/interrupt.c: Include "../lib/unbuffer_output.c".
3952 (main): Call gdb_unbuffer_output.
3954 2015-02-27 Yao Qi <yao.qi@linaro.org>
3956 * gdb.base/catch-syscall.exp: Don't skip it on hppa*-hp-hpux*
3959 2015-02-26 Doug Evans <dje@google.com>
3961 * gdb.cp/class2.cc (Dbase, D): New classes.
3962 (main): New local delta.
3963 * gdb.cp/class2.exp: Test printing delta.
3964 * gdb.cp/classes.cc (DynamicBase2, DynamicBar): New classes.
3965 (dynbar): New global.
3966 * gdb.cp/classes.exp (test_ptype_class_objects): Test ptype DynamicBar.
3968 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3970 * gdb.compile/compile-ifunc.c: New file.
3971 * gdb.compile/compile-ifunc.exp: New file.
3973 2015-02-26 Antoine Tremblay <antoine.tremblay@ericsson.com>
3975 * gdb.base/structs.exp: Check for correct struct on finish.
3977 2015-02-26 Yao Qi <yao.qi@linaro.org>
3979 * lib/dwarf.exp (function_range): Adjust pattern when $func_length
3982 2015-02-26 Jan Kratochvil <jan.kratochvil@redhat.com>
3984 * gdb.arch/cordic.ko.bz2: New file.
3985 * gdb.arch/cordic.ko.debug.bz2: New file.
3986 * gdb.arch/ppc64-symtab-cordic.exp: New file.
3988 2015-02-25 Yao Qi <yao.qi@linaro.org>
3990 * gdb.xml/tdesc-regs.exp: Set core-regs to aarch64-core.xml for
3991 aarch64*-*-* target.
3993 2015-02-23 Pedro Alves <palves@redhat.com>
3995 * lib/gdb.exp (delete_breakpoints): Rewrite using
3998 2015-02-23 Pedro Alves <palves@redhat.com>
4000 * gdb.base/info-os.c: Include stdlib.h.
4002 2015-02-22 Doug Evans <xdje42@gmail.com>
4005 * gdb.ada/exec_changed.exp: Add second test where symbol lookup cache
4006 is read after symbols have been re-read.
4007 * gdb.ada/exec_changed/first.adb (First): New procedure Break_Me.
4008 * gdb.ada/exec_changed/second.adb (Second): Ditto.
4010 2015-02-21 Doug Evans <dje@google.com>
4012 * gdb.cp/anon-ns.exp: Add test for ptype '(anonymous namespace)'.
4014 2015-02-21 Jan Kratochvil <jan.kratochvil@redhat.com>
4017 * gdb.arch/i386-biarch-core.core.bz2: New file.
4018 * gdb.arch/i386-biarch-core.exp: New file.
4020 2015-02-21 Pedro Alves <palves@redhat.com>
4022 * gdb.threads/multi-create-ns-info-thr.exp: Return early if
4025 2015-02-20 Pedro Alves <palves@redhat.com>
4027 * gdb.base/solib-corrupted.exp: Expect "stap" as first column of
4030 2015-02-20 Pedro Alves <palves@redhat.com>
4032 * gdb.threads/multi-create-ns-info-thr.exp: New file.
4034 2015-02-20 Pedro Alves <palves@redhat.com>
4036 * gdb.trace/no-attach-trace.exp: Don't run to main. Do
4037 clean_restart before gdb_target_supports_trace.
4039 2015-02-20 Pedro Alves <palves@redhat.com>
4042 * gdb.threads/clone-thread_db.c: New file.
4043 * gdb.threads/clone-thread_db.exp: New file.
4045 2015-02-19 Antoine Tremblay <antoine.tremblay@ericsson.com>
4047 PR breakpoints/16812
4048 * gdb.base/catch-gdb-caused-signals.c: New file.
4049 * gdb.base/catch-gdb-caused-signals.exp: New file.
4051 2015-02-18 Jose E. Marchesi <jose.marchesi@oracle.com>
4053 * configure: Regenerated.
4054 * configure.ac: Use GDB_AC_TRANSFORM.
4055 * aclocal.m4: sinclude ../transform.m4.
4057 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4059 * lib/dtrace.exp: New file.
4060 * gdb.base/dtrace-probe.exp: Likewise.
4061 * gdb.base/dtrace-probe.d: Likewise.
4062 * gdb.base/dtrace-probe.c: Likewise.
4063 * lib/pdtrace.in: Likewise.
4064 * configure.ac: Output variables with the transformed names of
4065 the strip, readelf, as and nm tools. AC_SUBST lib/pdtrace.in.
4066 * configure: Regenerated.
4068 2015-02-17 Jose E. Marchesi <jose.marchesi@oracle.com>
4070 * gdb.base/stap-probe.exp (stap_test): Remove "SystemTap" from
4071 expected message when trying to access $_probe_* convenience
4072 variables while not on a probe.
4074 2015-02-11 Jan Kratochvil <jan.kratochvil@redhat.com>
4076 * gdb.python/py-framefilter.exp (pagination quit - *): New tests.
4078 2015-02-11 Pedro Alves <pedro@codesourcery.com>
4080 * gdb.threads/step-bg-decr-pc-switch-thread.c: New file.
4081 * gdb.threads/step-bg-decr-pc-switch-thread.exp: New file.
4083 2015-02-10 Doug Evans <xdje42@gmail.com>
4085 * lib/gdb.exp (gdb_load): Always return a result.
4087 2015-02-10 Pedro Alves <palves@redhat.com>
4089 * gdb.threads/signal-sigtrap.c: New file.
4090 * gdb.threads/signal-sigtrap.exp: New file.
4092 2015-02-10 Antoine Tremblay <antoine.tremblay@ericsson.com>
4094 * gdb.trace/no-attach-trace.c: New file.
4095 * gdb.trace/no-attach-trace.exp: New file.
4097 2015-02-09 Mark Wielaard <mjw@redhat.com>
4099 * gdb.dwarf2/atomic.c: New file.
4100 * gdb.dwarf2/atomic-type.exp: Likewise.
4102 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4104 * gdb.btrace/buffer-size.exp: Update "info record" output.
4105 * gdb.btrace/delta.exp: Update "info record" output.
4106 * gdb.btrace/enable.exp: Update "info record" output.
4107 * gdb.btrace/finish.exp: Update "info record" output.
4108 * gdb.btrace/instruction_history.exp: Update "info record" output.
4109 * gdb.btrace/next.exp: Update "info record" output.
4110 * gdb.btrace/nexti.exp: Update "info record" output.
4111 * gdb.btrace/step.exp: Update "info record" output.
4112 * gdb.btrace/stepi.exp: Update "info record" output.
4113 * gdb.btrace/nohist.exp: Update "info record" output.
4115 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4117 * gdb.btrace/buffer-size: New.
4119 2015-02-09 Markus Metzger <markus.t.metzger@intel.com>
4121 * gdb.btrace/delta.exp: Update "info record" output.
4122 * gdb.btrace/enable.exp: Update "info record" output.
4123 * gdb.btrace/finish.exp: Update "info record" output.
4124 * gdb.btrace/instruction_history.exp: Update "info record" output.
4125 * gdb.btrace/next.exp: Update "info record" output.
4126 * gdb.btrace/nexti.exp: Update "info record" output.
4127 * gdb.btrace/step.exp: Update "info record" output.
4128 * gdb.btrace/stepi.exp: Update "info record" output.
4129 * gdb.btrace/nohist.exp: Update "info record" output.
4131 2015-02-06 Simon Marchi <simon.marchi@ericsson.com>
4134 * gdb.base/ena-dis-br.exp: Test "enable count" for bad user input.
4136 2015-02-06 Pedro Alves <palves@redhat.com>
4138 * gdb.threads/attach-many-short-lived-threads.c (SECONDS): New
4140 (seconds_left, again): New globals.
4141 (main): Wait seconds_left in a 1-second sleep loop instead of
4142 sleeping 180 seconds. If 'again' is set, reset the seconds
4144 * gdb.threads/attach-many-short-lived-threads.exp (test): Set
4145 'again' in the inferior before detaching. Print the seconds left.
4146 (options): New global.
4147 (top level): Build program with -DTIMEOUT=$timeout.
4149 2015-02-06 Pedro Alves <palves@redhat.com>
4151 * gdb.base/gdb-sigterm.c (main): Use the TIMEOUT define to
4152 determine how many seconds to pass to 'alarm'.
4153 * gdb.base/gdb-sigterm.exp (top level): Build program with
4155 (do_test): Return success/failure indication. Add more verbose
4156 logging. Don't fail if 200 single steps are seen. Instead, fail
4157 when the test times out.
4158 (passes): New global.
4159 (top level): Break the testing loop if testing fails on any
4160 iteration. Use gdb_assert.
4162 2015-02-04 Don Breazeal <donb@codesourcery.com>
4164 * gdb.base/info-os.c (shmid, semid, msqid): Make variables static
4165 and initialize them.
4166 (ipc_cleanup): New function.
4167 (main): Don't declare shmid, semid, and msqid. Add a call to
4168 atexit so that we call ipc_cleanup on exit.
4170 2015-02-04 Pedro Alves <palves@redhat.com>
4172 * boards/native-extended-gdbserver.exp: Remove any target variant
4173 specifications from the board name before clearing the isremote
4174 flag from board_info.
4176 2015-01-31 Doug Evans <xdje42@gmail.com>
4178 * gdb.base/maint.exp <maint print type argc>: Update expected output.
4180 2015-01-31 Gary Benson <gbenson@redhat.com>
4182 * gdb.base/completion.exp: Disable completion limiting for
4183 existing tests. Add new tests to check completion limiting.
4184 * gdb.linespec/ls-errs.exp: Disable completion limiting.
4186 2015-01-31 Doug Evans <xdje42@gmail.com>
4188 * gdb.ada/dyn_arrayidx.exp: Add additional_flags=-gnat12.
4190 2015-01-31 Doug Evans <xdje42@gmail.com>
4192 * gdb.guile/scm-section-script.c: Add duplicate inlined section script
4193 entries. Duplicate file section script entries.
4194 * gdb.guile/scm-section-script.exp: Add tests for duplicate entries,
4195 inlined entries. Add test for safe-path rejection.
4196 * gdb.python/py-section-script.c: Add duplicate inlined section script
4197 entries. Duplicate file section script entries.
4198 * gdb.python/py-section-script.exp: Add tests for duplicate entries,
4199 inlined entries. Add test for safe-path rejection.
4201 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4203 * gdb.ada/disc_arr_bound: New testcase.
4205 2015-01-29 Joel Brobecker <brobecker@adacore.com>
4207 * gdb.ada/mi_var_array: New testcase.
4209 2015-01-27 Doug Evans <dje@google.com>
4211 * gdb.python/py-objfile.exp: Add tests for objfile.username.
4212 Add test for objfile.filename, objfile.username after objfile
4215 2015-01-26 Joel Brobecker <brobecker@adacore.com>
4217 * gdb.python/py-lookup-type.exp (test_lookup_type): Change
4218 the second test to print the name attribute of value
4219 returned by the call to gdb.lookup_type, and adjust
4220 the expected output accordingly.
4222 2015-01-25 Mark Wielaard <mjw@redhat.com>
4224 * gdb.arch/i386-bp_permanent.c (standard): New declaration.
4225 * gdb.base/disp-step-fork.c: Include unistd.h.
4226 * gdb.base/siginfo-obj.c: Include stdio.h.
4227 * gdb.base/siginfo-thread.c: Likewise.
4228 * gdb.mi/non-stop.c: Include unistd.h.
4229 * gdb.mi/nsthrexec.c: Include stdio.h.
4230 * gdb.mi/pthreads.c: Include unistd.h.
4231 * gdb.modula2/unbounded1.c (main): Declare returns int.
4232 * gdb.reverse/consecutive-reverse.c: Likewise.
4233 * gdb.threads/create-fail.c: Include unistd.h.
4234 * gdb.threads/killed.c: Likewise.
4235 * gdb.threads/linux-dp.c: Likewise.
4236 * gdb.threads/non-ldr-exc-1.c: Include stdio.h and string.h.
4237 * gdb.threads/non-ldr-exc-2.c: Likewise.
4238 * gdb.threads/non-ldr-exc-3.c: Likewise.
4239 * gdb.threads/non-ldr-exc-4.c: Likewise.
4240 * gdb.threads/pthreads.c: Include unistd.h.
4241 (main): Declare returns int.
4242 * gdb.threads/tls-main.c (foo): New declaration.
4243 * gdb.threads/watchpoint-fork-mt.c: Define _GNU_SOURCE.
4245 2015-01-23 Simon Marchi <simon.marchi@ericsson.com>
4247 * gdb.mi/mi-var-list-children-invalid-grandchild.c: New file.
4248 * gdb.mi/mi-var-list-children-invalid-grandchild.exp: New file.
4250 2015-01-15 Mark Wielaard <mjw@redhat.com>
4252 * gdb.base/noreturn-return.c: New file.
4253 * gdb.base/noreturn-return.exp: New file.
4254 * gdb.base/noreturn-finish.c: New file.
4255 * gdb.base/noreturn-finish.exp: New file.
4257 2015-01-23 Pedro Alves <palves@redhat.com>
4259 * gdb.threads/continue-pending-after-query.c: New file.
4260 * gdb.threads/continue-pending-after-query.exp: New file.
4262 2015-01-22 Anders Granlund <anders.granlund@ericsson.com>
4263 Simon Marchi <simon.marchi@ericsson.com>
4265 * gdb.base/statistics.exp: Assign spawn id to gdb_spawn_id.
4266 * gdb.base/valgrind-db-attach.exp: Same.
4267 * gdb.base/valgrind-infcall.exp: Same.
4268 * lib/mi-support.exp (default_mi_gdb_start): Same.
4269 * lib/prompt.exp (default_prompt_gdb_start): Same.
4270 * lib/gdb.exp (default_gdb_spawn): Same.
4271 (gdb_interact): New.
4274 2015-01-22 Jan Kratochvil <jan.kratochvil@redhat.com>
4276 * gdb.compile/compile.exp (pointer to jit function): New test.
4278 2015-01-17 Wei-cheng Wang <cole945@gmail.com>
4280 * lib/gdb.exp (supports_process_record): Return true for
4282 (supports_reverse): Likewise.
4284 2015-01-15 Don Breazeal <donb@codesourcery.com>
4286 * gdb.base/attach-pie-noexec.exp: Use can_spawn_for_attach
4287 instead of checking whether the target board is remote and
4288 use spawn_wait_for_attach instead of exec/sleep.
4289 * gdb.base/attach-twice.exp: Likewise.
4291 2015-01-15 Joel Brobecker <brobecker@adacore.com>
4293 * gdb.ada/var_arr_attrs: New testcase.
4295 2015-01-14 Pedro Alves <palves@redhat.com>
4296 Joel Brobecker <brobecker@adacore.com>
4299 * gdb.base/bp-cmds-execution-x-script.c: New file.
4300 * gdb.base/bp-cmds-execution-x-script.exp: New file.
4301 * gdb.base/bp-cmds-execution-x-script.gdb: New file.
4303 2015-01-14 Pedro Alves <palves@redhat.com>
4306 * gdb.base/batch-preserve-term-settings.c: New file.
4307 * gdb.base/batch-preserve-term-settings.exp: New file.
4309 2015-01-13 Doug Evans <dje@google.com>
4311 * gdb.python/py-objfile.exp: Test gdb.lookup_objfile on symlinked
4314 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4316 * Makefile.in (clean mostlyclean): Do not delete *.py.
4318 2015-01-13 Joel Brobecker <brobecker@adacore.com>
4320 * gdb.python/py-lookup-type.exp: New file.
4322 2015-01-12 Pedro Alves <palves@redhat.com>
4324 * gdb.python/py-prompt.exp: When the board can't spawn for attach,
4325 restore GDBFLAGS before returning.
4327 2015-01-12 Jan Kratochvil <jan.kratochvil@redhat.com>
4329 * gdb.python/py-frame.exp (test Frame.read_register(rip)): Use
4330 is_amd64_regs_target and is_x86_like_target.
4332 2015-01-11 Doug Evans <xdje42@gmail.com>
4334 * lib/dwarf.exp (Dwarf): Flag an error if a numeric attribute value
4335 is given without an explicit form.
4336 * gdb.dwarf2/arr-subrange.exp: Specify forms for all numeric
4338 * gdb.dwarf/corrupt.exp: Ditto.
4339 * gdb.dwarf2/enum-type.exp: Ditto.
4340 * gdb.trace/entry-values.exp: Ditto.
4341 * gdb.trace/unavailable-dwarf-piece.exp: Ditto.
4343 2015-01-11 Doug Evans <xdje42@gmail.com>
4346 * gdb.base/maint.exp: Remove references to "maint demangle".
4347 * gdb.cp/demangle.exp: Update. "maint demangle" -> "demangle".
4348 Add tests for explicitly specifying language to demangle.
4349 * gdb.dlang/demangle.exp: Ditto.
4351 2015-01-09 Pedro Alves <palves@redhat.com>
4353 * gdb.threads/non-stop-fair-events.c: New file.
4354 * gdb.threads/non-stop-fair-events.exp: New file.
4356 2015-01-09 Pedro Alves <palves@redhat.com>
4358 * gdb.base/annota1.exp (thread_test): Use srcfile and binfile from
4359 the global scope. Set a breakpoint after all threads are started
4360 rather than stepping over two source lines. Expect the prompt.
4361 * gdb.base/watch_thread_num.c (threads_started_barrier): New
4364 (main): Use threads_started_barrier to wait for all threads to
4365 start. Main thread no longer calls thread_function. Exit after
4367 (loop): New function.
4368 (thread_function): Wait on threads_started_barrier barrier. Call
4369 'loop' at each iteration.
4370 * gdb.base/watch_thread_num.exp: Continue to breakpoint after all
4371 threads have started, instead of hardcoding number of "next"
4372 steps. Use an access watchpoint instead of a write watchpoint.
4374 2015-01-09 Pedro Alves <palves@redhat.com>
4376 * gdb.threads/ia64-sigill.c (threads_started_barrier): New global.
4377 (thread_func): Wait on barrier.
4378 (main): Wait for all threads to start before stopping GDB.
4379 * gdb.threads/siginfo-threads.c (threads_started_barrier): New
4381 (thread1_func, thread2_func): Wait on barrier.
4382 (main): Wait for all threads to start before stopping GDB.
4383 * gdb.threads/watchthreads-reorder.c (threads_started_barrier):
4385 (thread1_func, thread2_func): Wait on barrier.
4386 (main): Wait for all threads to start before stopping GDB.
4388 2015-01-09 Pedro Alves <palves@redhat.com>
4390 * gdb.threads/attach-many-short-lived-threads.c: New file.
4391 * gdb.threads/attach-many-short-lived-threads.exp: New file.
4393 2014-01-09 Pedro Alves <palves@redhat.com>
4395 * gdb.threads/fork-thread-pending.exp: Switch to the main thread
4396 instead of to thread 2.
4397 * gdb.threads/signal-command-multiple-signals-pending.c (main):
4398 Add barrier around each pthread_create call instead of around all
4400 * gdb.threads/signal-command-multiple-signals-pending.exp (test):
4401 Set a break on thread_function and have the child threads hit it
4404 2015-01-09 Pedro Alves <palves@redhat.com>
4406 * lib/gdb.exp (can_spawn_for_attach): New procedure.
4407 (spawn_wait_for_attach): Error out if can_spawn_for_attach returns
4409 * gdb.base/attach.exp: Use can_spawn_for_attach instead of
4410 checking whether the target board is remote.
4411 * gdb.multi/multi-attach.exp: Likewise.
4412 * gdb.python/py-sync-interp.exp: Likewise.
4413 * gdb.server/ext-attach.exp: Likewise.
4414 * gdb.python/py-prompt.exp: Use can_spawn_for_attach before the
4415 tests that need to attach, instead of checking whether the target
4416 board is remote at the top of the file.
4418 2015-01-08 Yao Qi <yao@codesourcery.com>
4420 * gdb.trace/entry-values.exp: Set call_insn for MIPS target.
4422 2015-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
4424 Fix testcase compilation.
4425 * gdb.arch/i386-avx512.exp (comp_flags): Remove /common.
4427 2015-01-06 Joel Brobecker <brobecker@adacore.com>
4429 * gdb.python/py-type.exp: Add a couple test about empty
4430 array creation, and negative-length array creation.
4432 2015-01-02 Doug Evans <xdje42@gmail.com>
4434 * gdb.cp/nsalias.exp: Fix output of external/declaration flags.
4436 2015-01-02 Doug Evans <dje@google.com>
4438 * gdb.dwarf2/dw4-sig-types.exp: Also pass -fdebug-types-section to gcc.
4440 2014-12-29 Yao Qi <yao@codesourcery.com>
4442 * gdb.trace/entry-values.exp: Update comments. Rename variable
4443 bar_call_foo to returned_from_foo.
4445 2014-12-20 Mihail-Marian Nistor <mihail.nistor@freescale.com>
4448 * gdb.linespec/break-asm-file.c: New file.
4449 * gdb.linespec/break-asm-file.exp: New file.
4450 * gdb.linespec/break-asm-file0.s: New file.
4451 * gdb.linespec/break-asm-file1.s: New file.
4453 2014-12-18 Nigel Stephens <nigel@mips.com>
4454 Maciej W. Rozycki <macro@codesourcery.com>
4456 * gdb.base/float.exp: Handle the new output from "info float" on
4459 2014-12-17 Jan Kratochvil <jan.kratochvil@redhat.com>
4461 Fix MinGW compilation.
4462 * gdb.compile/compile-ops.exp: Update untested message if
4463 !skip_compile_feature_tests.
4464 * gdb.compile/compile-setjmp.exp: Likewise.
4465 * gdb.compile/compile-tls.exp: Likewise.
4466 * gdb.compile/compile.exp: Likewise.
4467 * lib/gdb.exp (skip_compile_feature_tests): Check also "Command not
4468 supported on this host".
4470 2014-12-16 Doug Evans <xdje42@gmail.com>
4472 * boards/stabs.exp: New file.
4474 2014-12-16 Andreas Arnez <arnez@vnet.linux.ibm.com>
4476 * gdb.base/completion.exp: Adjust to format changes of "maint
4477 print user-registers".
4479 2014-12-16 Catalin Udma <catalin.udma@freescale.com>
4482 * gdb.arch/aarch64-fp.c: New file.
4483 * gdb.arch/aarch64-fp.exp: New file.
4485 2014-12-15 Sergio Durigan Junior <sergiodj@redhat.com>
4487 Merge dg-extract-results.{sh,py} from GCC upstream (r210243,
4488 r210637, r210913, r211666, r215400, r215817).
4490 2014-05-08 Richard Sandiford <rdsandiford@googlemail.com>
4491 * dg-extract-results.py: New file.
4492 * dg-extract-results.sh: Use it if the environment seems
4495 2014-05-20 Richard Sandiford <rdsandiford@googlemail.com>
4497 * dg-extract-results.py (parse_run): Handle warnings that
4498 are printed before a test harness is run.
4500 2014-05-25 Richard Sandiford <rdsandiford@googlemail.com>
4502 * dg-extract-results.py (Named): Remove __cmp__ method.
4503 (output_variation): Use a key to sort variation.harnesses.
4505 2014-06-14 Richard Sandiford <rdsandiford@googlemail.com>
4507 * dg-extract-results.py: For Python 3, force sys.stdout to
4508 handle surrogate escape sequences.
4509 (safe_open): New function.
4510 (output_segment, main): Use it.
4512 2014-09-19 Segher Boessenkool <segher@kernel.crashing.org>
4514 * dg-extract-results.py (Prog.result_re): Include options
4517 2014-10-02 Segher Boessenkool <segher@kernel.crashing.org>
4519 * dg-extract-results.py (output_variation): Always sort if
4522 2014-12-15 Simon Marchi <simon.marchi@ericsson.com>
4524 * lib/gdb.exp (default_gdb_start): After starting gdb, loop
4525 as long as we get pagination notifications.
4527 2014-12-15 Jason Merrill <jason@redhat.com>
4529 * Makefile.in (check-gdb.%): Restore.
4530 * README: Mention it.
4532 2014-12-13 Joel Brobecker <brobecker@adacore.com>
4534 * gdb.ada/str_uninit: New testcase.
4536 2014-12-13 Jan Kratochvil <jan.kratochvil@redhat.com>
4539 * gdb.base/vla-stub-define.c: New file.
4540 * gdb.base/vla-stub.c: New file.
4541 * gdb.base/vla-stub.exp: New file.
4543 2014-12-12 Phil Muldoon <pmuldoon@redhat.com>
4544 Jan Kratochvil <jan.kratochvil@redhat.com>
4545 Tom Tromey <tromey@redhat.com>
4547 * configure.ac: Add gdb.compile/.
4548 * configure: Regenerate.
4549 * gdb.compile/Makefile.in: New file.
4550 * gdb.compile/compile-ops.exp: New file.
4551 * gdb.compile/compile-ops.c: New file.
4552 * gdb.compile/compile-tls.c: New file.
4553 * gdb.compile/compile-tls.exp: New file.
4554 * gdb.compile/compile-constvar.S: New file.
4555 * gdb.compile/compile-constvar.c: New file.
4556 * gdb.compile/compile-mod.c: New file.
4557 * gdb.compile/compile-nodebug.c: New file.
4558 * gdb.compile/compile-setjmp-mod.c: New file.
4559 * gdb.compile/compile-setjmp.c: New file.
4560 * gdb.compile/compile-setjmp.exp: New file.
4561 * gdb.compile/compile-shlib.c: New file.
4562 * gdb.compile/compile.c: New file.
4563 * gdb.compile/compile.exp: New file.
4564 * lib/gdb.exp (skip_compile_feature_tests): New proc.
4566 2014-12-12 Tom Tromey <tromey@redhat.com>
4568 * lib/dwarf.exp (_location): Ignore blank lines. Allow comments.
4569 Handle DW_OP_pick, DW_OP_skip, DW_OP_bra.
4571 2014-12-12 Doug Evans <dje@google.com>
4573 * lib/gdb-python.exp (get_python_valueof): New function.
4574 * gdb.python/py-objfile.exp: Add tests for gdb.lookup_objfile.
4576 2014-12-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
4578 * gdb.base/completion.exp: Add test for completion of "info
4581 2014-12-12 Maciej W. Rozycki <macro@codesourcery.com>
4583 * gdb.base/func-ptrs.c: New file.
4584 * gdb.base/func-ptrs.exp: New file.
4586 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4588 PR breakpoints/17012
4589 * gdb.base/dprintf-detach.c: New file.
4590 * gdb.base/dprintf-detach.exp: New file.
4592 2014-12-10 Simon Marchi <simon.marchi@ericsson.com>
4594 * gdb.trace/qtro.exp: Replace gdbserver detection code by...
4595 * lib/gdb.exp (target_is_gdbserver): New procedure.
4597 2014-12-08 Doug Evans <dje@google.com>
4599 * gdb.python/py-objfile.exp: Add tests for objfile.owner.
4601 2014-12-05 Yao Qi <yao@codesourcery.com>
4603 * gdb.guile/scm-error.exp: Remove the third argument to
4604 gdb_remote_download.
4605 * gdb.guile/scm-frame-args.exp: Likewise.
4606 * gdb.guile/scm-section-script.exp: Likewise.
4608 2014-12-05 Yao Qi <yao@codesourcery.com>
4610 * gdb.arch/i386-bp_permanent.exp: Use standard_testfile.
4612 2014-12-04 Doug Evans <dje@google.com>
4614 * gdb.python/py-objfile.exp: Add tests for
4615 objfile.add_separate_debug_file.
4617 2014-12-04 Doug Evans <dje@google.com>
4619 * lib/gdb.exp (get_build_id): New function.
4620 (build_id_debug_filename_get): Rewrite to use it.
4621 * gdb.python/py-objfile.exp: Add test for objfile.build_id.
4623 2014-12-04 Maciej W. Rozycki <macro@codesourcery.com>
4625 * gdb.cp/expand-psymtabs-cxx.exp: Accept any address of
4626 `method(long)', not just 0x0.
4627 * gdb.cp/nsalias.exp: Align code labels to 4.
4628 * gdb.dwarf2/dw2-canonicalize-type.S (main): Expand to 4-bytes.
4629 * gdb.dwarf2/dw2-empty-pc-range.S (main): Likewise.
4630 * gdb.dwarf2/pr11465.S (_ZN1N1cE): Likewise.
4631 * gdb.dwarf2/dw2-case-insensitive.c (START_INSNS): New macro.
4632 (cu_text_start, FUNC_lang_start): Use `START_INSNS'.
4633 * gdb.dwarf2/dw2-stack-boundary.exp: Accept noise in complaints.
4635 2014-12-02 Doug Evans <dje@google.com>
4638 * gdb.cp/anon-ns.cc: Move guts of this file to ...
4639 * gdb.cp/anon-ns2.cc: ... here. New file.
4640 * gdb.cp/anon-ns.exp: Update.
4642 2014-12-02 Nick Bull <nicholaspbull@gmail.com>
4644 * gdb.python/py-events.py (inferior_call_handler): New.
4645 (register_changed_handler, memory_changed_handler): New.
4646 (test_events.invoke): Register new handlers.
4647 * gdb.python/py-events.exp: Add tests for inferior call,
4648 memory_changed and register_changed events.
4650 2014-12-02 Andreas Arnez <arnez@linux.vnet.ibm.com>
4652 * gdb.base/execl-update-breakpoints.exp: Specify the link address
4653 with '-Ttext-segment' instead of '-Ttext'. Fall back to '-Ttext'
4654 if the linker doesn't understand this.
4656 2014-12-01 Simon Marchi <simon.marchi@ericsson.com>
4658 * gdb.python/python.exp: Change expected reply to help().
4660 2014-12-01 Yao Qi <yao@codesourcery.com>
4662 * configure.ac: Remove AC_ARG_ENABLE for gdbtk. Don't invoke
4663 AC_CONFIG_SUBDIRS(gdb.gdbtk).
4664 * configure: Re-generated.
4666 2014-11-28 Siva Chandra Reddy <sivachandra@google.com>
4668 * gdb.cp/chained-calls.cc: New file.
4669 * gdb.cp/chained-calls.exp: New file.
4670 * gdb.cp/smartp.exp: Remove KFAIL for "p c2->inta".
4672 2014-11-28 Simon Marchi <simon.marchi@ericsson.com>
4674 * gdb.ada/py_range.exp: Add parentheses to python calls to print.
4675 * gdb.dwarf2/symtab-producer.exp: Same.
4676 * gdb.gdb/python-interrupts.exp: Same.
4677 * gdb.gdb/python-selftest.exp: Same.
4678 * gdb.python/py-linetable.exp: Same.
4679 * gdb.python/py-type.exp: Same.
4680 * gdb.python/py-value-cc.exp: Same.
4681 * gdb.python/py-value.exp: Same.
4683 2014-11-28 Yao Qi <yao@codesourcery.com>
4685 * gdb.base/break-probes.exp: Match library name prefixed with
4688 2014-11-27 Simon Marchi <simon.marchi@ericsson.com>
4690 * gdb.python/py-linetable.exp: Escape properly sorted(fset)
4691 test expected output. Add parentheses for the call to print.
4692 Remove L suffix from integers.
4694 2014-11-26 Doug Evans <dje@google.com>
4696 * gdb.dwarf2/dw2-op-out-param.S: Fix comment.
4698 2014-11-22 Yao Qi <yao@codesourcery.com>
4700 * gdb.trace/entry-values.c: Remove asms.
4701 (foo): Add foo_label.
4702 (bar): Add bar_label.
4703 * gdb.trace/entry-values.exp: Remove code computing foo's
4704 length and bar's length.
4705 (Dwarf::assemble): Invoke function_range for bar and use
4706 MACRO_AT_func for foo.
4708 2014-11-22 Yao Qi <yao@codesourcery.com>
4710 * gdb.dwarf2/dw2-compdir-oldgcc.S: Define label .Lgcc42_procstart
4711 and .Lgcc43_procstart. Use .Lgcc42_procstart instead of gcc42.
4712 Use .Lgcc43_procstart instead of gcc43.
4714 2014-11-21 Joel Brobecker <brobecker@adacore.com>
4716 * gdb.ada/n_arr_bound: New testcase.
4718 2014-11-20 Sergio Durigan Junior <sergiodj@redhat.com>
4720 PR breakpoints/10737
4721 * gdb.base/catch-syscall.exp (do_syscall_tests): Call
4722 test_catch_syscall_multi_arch.
4723 (test_catch_syscall_multi_arch): New function.
4725 2014-11-20 Doug Evans <xdje42@gmail.com>
4727 * gdb.base/maint.exp: Update expected output.
4729 2014-11-19 Andreas Arnez <arnez@linux.vnet.ibm.com>
4731 * gdb.base/bp-permanent.c (NOP): Define as 2-byte instead of
4732 4-byte instruction on S390.
4734 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4736 * gdb.ada/arr_arr: New testcase.
4738 2014-11-19 Joel Brobecker <brobecker@adacore.com>
4740 * gdb.ada/pkd_arr_elem: New Testcase.
4742 2014-11-18 Luis Machado <lgustavo@codesourcery.com>
4744 * gdb.reverse/break-precsave: Expect completion message for
4746 * gdb.reverse/consecutive-precsave.exp: Likewise.
4747 * gdb.reverse/finish-precsave.exp: Likewise.
4748 * gdb.reverse/i386-precsave.exp: Likewise.
4749 * gdb.reverse/machinestate-precsave.exp: Likewise.
4750 * gdb.reverse/sigall-precsave.exp: Likewise.
4751 * gdb.reverse/solib-precsave.exp: Likewise.
4752 * gdb.reverse/step-precsave.exp: Likewise.
4753 * gdb.reverse/until-precsave.exp: Likewise.
4754 * gdb.reverse/watch-precsave.exp: Likewise.
4756 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4758 * gdb.base/bp-permanent.c: Include unistd.h.
4759 * gdb.python/py-framefilter-mi.c (main): Add return type.
4760 * gdb.python/py-framefilter.c (main): Likewise.
4761 * gdb.trace/actions-changed.c (main): Likewise.
4763 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4765 * gdb.mi/until.c: Add eye-catchers.
4766 * gdb.mi/mi-until.exp: Refer to eye-catchers instead of literal
4769 2014-11-17 Andreas Arnez <arnez@linux.vnet.ibm.com>
4771 * gdb.base/condbreak.exp: Drop references to removed non-prototype
4772 function header variants in break1.c.
4773 * gdb.base/ena-dis-br.exp: Likewise.
4774 * gdb.base/hbreak2.exp: Likewise.
4775 * gdb.reverse/until-precsave.exp: Drop references to removed
4776 non-prototype function header variants in ur1.c.
4777 * gdb.reverse/until-reverse.exp: Likewise.
4779 2014-11-17 Petr Machata <pmachata@redhat.com>
4781 * lib/dwarf.exp (Dwarf::cu, Dwarf::tu): Emit
4782 ${_cu_offset_size} bytes abbrev offset.
4784 2014-11-15 Doug Evans <xdje42@gmail.com>
4787 * gdb.base/line-symtabs.exp: New file.
4788 * gdb.base/line-symtabs.c: New file.
4789 * gdb.base/line-symtabs.h: New file.
4791 2014-11-14 Yao Qi <yao@codesourcery.com>
4793 * gdb.dwarf2/dw2-ifort-parameter.c: Remove inline asm.
4794 (func): Add label func_label.
4795 * gdb.dwarf2/dw2-ifort-parameter.exp (Dwarf::assemble):
4796 Replace low_pc and high_pc with MACRO_AT_range.
4797 Replace name, low_pc and high_pc with MACRO_AT_func.
4799 2014-11-14 Yao Qi <yao@codesourcery.com>
4801 * gdb.dwarf2/implptr-optimized-out.exp (Dwarf::assemble):
4802 Replace name, low_pc and high_pc with MACRO_AT_func.
4804 2014-11-14 Yao Qi <yao@codesourcery.com>
4806 * gdb.dwarf2/implptr-optimized-out.exp: Use Dwarf::assemble to
4807 produce debug information.
4808 * gdb.dwarf2/implptr-optimized-out.S: Removed.
4810 2014-11-14 Yao Qi <yao@codesourcery.com>
4812 * gdb.dwarf2/dwz.exp: Remove the code to compile main.c to
4813 object and get function length.
4814 (Dwarf::assemble): Replace name, low_pc and high_pc attributes
4816 (top-level): Replace gdb_compile and clean_restart with
4817 prepare_for_testing.
4818 * gdb.dwarf2/main.c (main): Add label main_label.
4820 2014-11-14 Yao Qi <yao@codesourcery.com>
4822 * lib/dwarf.exp (function_range): New procedure.
4823 (Dwarf::_handle_macro_at_func): New procedure.
4824 (Dwarf::_handle_macro_at_range): New procedure.
4825 (Dwarf): Handle MACRO_AT_func and MACRO_AT_range.
4827 2014-11-14 Yao Qi <yao@codesourcery.com>
4829 * lib/dwarf.exp (_handle_DW_TAG): Move some code to ...
4830 (_handle_attribute): New procedure.
4832 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4834 * gdb.ada/cond_lang/foo.c (callme): Add return type.
4835 * gdb.base/call-sc.c (zed): Likewise.
4836 * gdb.base/checkpoint.c (main): Likewise.
4837 * gdb.base/dump.c (main): Likewise.
4838 * gdb.base/gcore.c (main): Likewise.
4839 * gdb.base/huge.c (main): Likewise.
4840 * gdb.base/multi-forks.c (main): Likewise.
4841 * gdb.base/pr10179-a.c (main): Likewise.
4842 * gdb.base/savedregs.c (main): Likewise.
4843 * gdb.base/sigaltstack.c (main): Likewise.
4844 * gdb.base/siginfo.c (main): Likewise.
4845 * gdb.base/structs.c (zed): Likewise.
4846 * gdb.mi/mi-stack.c (callee3, callee2, callee1, main): Likewise.
4847 * gdb.mi/mi-syn-frame.c (main): Likewise.
4848 * gdb.mi/until.c (foo, main): Likewise.
4849 * gdb.base/global-var-nested-by-dso.c (b_main, c_main): Declare.
4850 * gdb.base/solib-weak.c (foo): Declare.
4851 * gdb.base/attach-twice.c: Include stdio.h.
4852 * gdb.base/weaklib1.c: Likewise.
4853 * gdb.base/weaklib2.c: Likewise.
4854 * gdb.base/catch-signal-fork.c: Include stdio.h and sys/wait.h.
4855 * gdb.mi/mi-condbreak-call-thr-state-mt.c: Include stdio.h and
4857 * gdb.base/attach-pie-misread.c: Include stdlib.h.
4858 * gdb.mi/mi-exit-code.c: Likewise.
4859 * gdb.base/break-interp-lib.c: Include string.h.
4860 * gdb.base/coremaker.c: Likewise.
4861 * gdb.base/testenv.c: Likewise.
4862 * gdb.python/py-finish-breakpoint.c: Likewise.
4863 * gdb.base/inferior-died.c: Include sys/wait.h.
4864 * gdb.base/fileio.c: Include time.h.
4865 * gdb.base/async-shell.c: Include unistd.h.
4866 * gdb.base/dprintf-non-stop.c: Likewise.
4867 * gdb.base/info-os.c: Likewise.
4868 * gdb.mi/mi-console.c: Likewise.
4869 * gdb.mi/watch-nonstop.c: Likewise.
4870 * gdb.python/py-events.c: Likewise.
4871 * gdb.base/async.c (baz): Move up before its invocation.
4872 * gdb.base/code_elim2.c (my_global_func): Likewise.
4873 * gdb.base/skip-solib-lib.c (multiply): Likewise.
4874 * gdb.base/advance.c (func2): Likewise.
4876 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4878 * gdb.base/annota1.c: Remove #ifdef PROTOTYPES, keep prototyped
4880 * gdb.base/annota3.c: Likewise.
4881 * gdb.base/async.c: Likewise.
4882 * gdb.base/average.c: Likewise.
4883 * gdb.base/call-ar-st.c: Likewise.
4884 * gdb.base/call-rt-st.c: Likewise.
4885 * gdb.base/call-sc.c: Likewise.
4886 * gdb.base/call-strs.c: Likewise.
4887 * gdb.base/ending-run.c: Likewise.
4888 * gdb.base/execd-prog.c: Likewise.
4889 * gdb.base/exprs.c: Likewise.
4890 * gdb.base/foll-exec.c: Likewise.
4891 * gdb.base/foll-fork.c: Likewise.
4892 * gdb.base/foll-vfork.c: Likewise.
4893 * gdb.base/funcargs.c: Likewise.
4894 * gdb.base/gcore.c: Likewise.
4895 * gdb.base/jump.c: Likewise.
4896 * gdb.base/langs0.c: Likewise.
4897 * gdb.base/langs1.c: Likewise.
4898 * gdb.base/langs2.c: Likewise.
4899 * gdb.base/mips_pro.c: Likewise.
4900 * gdb.base/nodebug.c: Likewise.
4901 * gdb.base/opaque0.c: Likewise.
4902 * gdb.base/opaque1.c: Likewise.
4903 * gdb.base/recurse.c: Likewise.
4904 * gdb.base/run.c: Likewise.
4905 * gdb.base/scope0.c: Likewise.
4906 * gdb.base/scope1.c: Likewise.
4907 * gdb.base/setshow.c: Likewise.
4908 * gdb.base/setvar.c: Likewise.
4909 * gdb.base/shmain.c: Likewise.
4910 * gdb.base/shr1.c: Likewise.
4911 * gdb.base/shr2.c: Likewise.
4912 * gdb.base/sigall.c: Likewise.
4913 * gdb.base/signals.c: Likewise.
4914 * gdb.base/so-indr-cl.c: Likewise.
4915 * gdb.base/solib2.c: Likewise.
4916 * gdb.base/structs.c: Likewise.
4917 * gdb.base/sum.c: Likewise.
4918 * gdb.base/vforked-prog.c: Likewise.
4919 * gdb.base/watchpoint.c: Likewise.
4920 * gdb.reverse/shr2.c: Likewise.
4921 * gdb.reverse/until-reverse.c: Likewise.
4922 * gdb.reverse/ur1.c: Likewise.
4923 * gdb.reverse/watch-reverse.c: Likewise.
4925 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4927 * gdb.base/sepdebug.c: Remove #ifdef PROTOTYPES, keep prototyped
4929 * gdb.base/sepdebug.exp: Drop references to removed code.
4931 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4933 * gdb.base/list0.h: Remove #ifdef PROTOTYPES, keep prototyped
4934 variant. Preserve original line numbering.
4935 * gdb.base/list1.c: Likewise.
4937 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4939 * gdb.base/break.c: Remove #ifdef PROTOTYPES, keep prototyped
4941 * gdb.base/break1.c: Likewise.
4942 * gdb.base/break.exp: Drop references to removed code.
4944 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4946 * gdb.base/solib1.c: Remove #ifdef PROTOTYPES, keep prototyped
4949 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4951 * gdb.base/callfuncs.exp (perform_all_tests): Re-indent.
4953 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4955 * gdb.base/callfuncs.exp: Remove 'prototypes' variable. Move main
4956 logic into perform_all_tests() and invoke it with and without
4957 function header prototypes.
4958 (do_function_calls): Remove conditional XFAIL for PR 5318.
4959 (rerun_and_prepare): Remove duplicate code.
4960 (perform_all_tests): New. Main logic moved here.
4962 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4964 * gdb.base/callfuncs.c (t_float_many_args): Fix syntax error in
4965 code guarded by #ifdef NO_PROTOTYPES.
4966 (t_double_many_args): Likewise.
4967 (DEF_FUNC_MANY_ARGS_1): Likewise.
4968 (DEF_FUNC_VALUES_1): Likewise.
4969 (t_structs_ldc): Renamed from t_structs_fc in conditional code
4970 guarded by #ifdef PROTOTYPES.
4972 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4974 * gdb.mi/mi-console.c: Add eye-catcher.
4975 * gdb.mi/mi-console.exp (semihosted_string): Refer to eye-catcher
4976 instead of literal line number.
4978 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4980 * gdb.base/shr2.c: Add eye-catcher.
4981 * gdb.base/shlib-call.exp: Refer to eye-catcher instead of literal
4984 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4986 * gdb.base/jump.c: Add eye-catchers.
4987 * gdb.base/jump.exp: Refer to eye-catchers instead of literal line
4990 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4992 * gdb.base/execd-prog.c: Add eye-catchers.
4993 * gdb.base/foll-exec.c: Likewise.
4994 * gdb.base/foll-exec.exp: Refer to eye-catchers instead of literal
4997 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
4999 * gdb.base/ending-run.c: Add eye-catchers.
5000 * gdb.base/ending-run.exp: Refer to eye-catchers instead of
5001 literal line numbers.
5003 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5005 * gdb.base/call-rt-st.c: Add eye-catchers.
5006 * gdb.base/call-rt-st.exp: Refer to eye-catchers instead of
5007 literal line numbers.
5009 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5011 * gdb.base/call-ar-st.c: Add eye-catchers.
5012 * gdb.base/call-ar-st.exp: Refer to eye-catchers instead of
5013 literal line numbers.
5015 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5017 * gdb.base/average.c: Add eye-catchers.
5018 * gdb.base/sum.c: Likewise.
5019 * gdb.base/dbx.exp: Use eye-catchers to determine line numbers for
5020 regexps dynamically.
5022 2014-11-13 Andreas Arnez <arnez@linux.vnet.ibm.com>
5024 * gdb.base/solib1.c: Add eye-catchers.
5025 * gdb.base/so-impl-ld.exp: Match against eye-catchers instead of
5026 literal line numbers.
5028 2014-11-12 Pedro Alves <palves@redhat.com>
5030 * gdb.threads/leader-exit.exp: Test sending ctrl-c works after the
5033 2014-11-12 Pedro Alves <palves@redhat.com>
5035 * gdb.arch/i386-bp_permanent.c: New file.
5036 * gdb.arch/i386-bp_permanent.exp: Don't skip on x86_64.
5037 (srcfile): Set to i386-bp_permanent.c.
5038 (top level): Adjust to work in both 32-bit and 64-bit modes. Test
5039 that stepi does not execute the 'leave' instruction, instead of
5040 testing it does execute.
5041 * gdb.base/bp-permanent.c: New file.
5042 * gdb.base/bp-permanent.exp: New file.
5044 2014-11-10 Doug Evans <xdje42@gmail.com>
5047 * gdb.base/symtab-search-order.exp: New file.
5048 * gdb.base/symtab-search-order.c: New file.
5049 * gdb.base/symtab-search-order-1.c: New file.
5050 * gdb.base/symtab-search-order-shlib-1.c: New file.
5052 2014-11-07 Pedro Alves <palves@redhat.com>
5055 * gdb.base/sigstep.exp (in_handler_map) <si+advance>: xfail
5058 2014-11-03 Siva Chandra Reddy <sivachandra@google.com>
5061 * gdb.cp/pr17494.cc: New file.
5062 * gdb.cp/pr17494.exp: New file.
5064 2014-11-02 Yao Qi <yao@codesourcery.com>
5066 * gdb.python/python.exp: Get working directory and match the
5067 output of "set extended-prompt \\w " with it.
5069 2014-10-30 Doug Evans <dje@google.com>
5071 * gdb.python/py-objfile.exp: Add tests for setting random attributes
5073 * gdb.python/py-progspace.exp: Add tests for setting random attributes
5076 2014-10-30 Janis Johnson <janisjo@codesourcery.com>
5078 * gdb.base/fullpath-expand.exp: Skip for a remote host.
5079 * gdb.base/realname-expand.exp: Likewise.
5080 * gdb.linespec/macro-relative.exp: Likewise.
5082 2014-10-29 Pedro Alves <palves@redhat.com>
5085 * gdb.threads/schedlock.c (some_function): New function.
5086 (call_function): New global.
5087 (MAYBE_CALL_SOME_FUNCTION): New macro.
5088 (thread_function): Call it.
5089 * gdb.threads/schedlock.exp (get_args): Add description parameter,
5090 and use it instead of a global counter. Adjust all callers.
5091 (get_current_thread): Use "find current thread" for test message
5092 here rather than having all callers pass down the same string.
5093 (goto_loop): New procedure, factored out from ...
5094 (my_continue): ... this.
5095 (step_ten_loops): Change parameter from test message to command to
5097 (list_count): Delete global.
5098 (check_result): New procedure, factored out from duplicate top
5100 (continue tests): Wrap in with_test_prefix.
5101 (test_step): New procedure, factored out from duplicate top level
5103 (top level): Test "step" in combination with all scheduler-locking
5104 modes. Test "next" in combination with all scheduler-locking
5105 modes, and in combination with stepping over a function call or
5107 * gdb.threads/next-bp-other-thread.c: New file.
5108 * gdb.threads/next-bp-other-thread.exp: New file.
5110 2014-10-29 Pedro Alves <palves@redhat.com>
5113 * gdb.python/python.exp: Test a multi-line command that spawns
5115 * gdb.base/multi-line-starts-subshell.exp: New file.
5117 2014-10-29 Yao Qi <yao@codesourcery.com>
5119 * gdb.base/fileio.exp: Make directories on host.
5121 2014-10-29 Yao Qi <yao@codesourcery.com>
5123 * gdb.base/fileio.c (test_write): Close the file.
5125 2014-10-28 Pedro Alves <palves@redhat.com>
5128 * gdb.base/sigstep.c (no_handler): New global.
5129 (main): If 'no_handler is true, set the signal handlers to
5131 * gdb.base/sigstep.exp (breakpoint_over_handler): Add
5132 with_sw_watch and no_handler parameters. Handle them.
5133 (top level) <stepping over handler when stopped at a breakpoint
5134 test>: Add a test axis for testing with a software watchpoint, and
5135 another for testing with the signal handler set to SIG_IGN.
5136 * gdb.base/step-sw-breakpoint-adjust-pc.c: New file.
5137 * gdb.base/step-sw-breakpoint-adjust-pc.exp: New file.
5139 2014-10-28 Pedro Alves <palves@redhat.com>
5142 * gdb.base/sigstep.c (handler): Add a few more writes to 'done'.
5143 * gdb.base/sigstep.exp (other_handler_location): New global.
5144 (advance): Support stepping into the signal handler, and running
5145 commands while in the handler.
5146 (in_handler_map): New global.
5147 (top level): In the advance test, add combinations for getting
5148 into the handler with stepping commands, and for running commands
5149 in the handler. Add comment descripting the advancei tests.
5151 2014-10-28 Pedro Alves <palves@redhat.com>
5153 * gdb.base/sigstep.exp: Use build_executable instead of
5154 prepare_for_testing.
5155 (top level): Move code that starts GDB, runs to main and creates a
5157 (restart): ... this new procedure.
5158 (top level): Move backtrace from signal handler test to ...
5159 (validate_backtrace): ... this new procedure.
5160 (advance, advancei): Rename parameter from 'i' to 'cmd'. Use
5161 with_test_prefix. Always restart GDB.
5162 (skip_to_handler): Rename parameter from 'i' to 'cmd'. Use
5163 with_test_prefix. Always restart GDB. No need to delete
5164 breakpoints after the test.
5165 (test_skip_handler): Remove prefix parameter.
5166 (skip_over_handler, breakpoint_to_handler)
5167 (breakpoint_to_handler_entry, breakpoint_over_handler): Rename
5168 parameter from 'i' to 'cmd'. Use with_test_prefix. Always
5169 restart GDB. No need to delete breakpoints after the test.
5170 (top level): Use foreach to call the test procedures with
5173 2014-10-28 Pedro Alves <palves@redhat.com>
5175 * gdb.base/sigaltstack.exp: Update to use Bugzilla bug numbers
5176 instead of GNATS numbers.
5177 * gdb.base/sigbpt.exp: Likewise.
5178 * gdb.base/siginfo.exp: Likewise.
5179 * gdb.base/sigstep.exp: Likewise.
5181 2014-10-27 Pedro Alves <palves@redhat.com>
5183 * gdb.base/sigstep.c (dummy): New global.
5184 (main): Issue a couple writes to the new global.
5185 * gdb.base/sigstep.exp (get_next_pc, test_skip_handler): New
5187 (skip_over_handler): Use test_skip_handler.
5188 (top level): Call skip_over_handler for stepi and nexti too.
5189 (breakpoint_over_handler): Use test_skip_handler.
5190 (top level): Call breakpoint_over_handler for stepi and nexti too.
5192 2014-10-27 Yao Qi <yao@codesourcery.com>
5194 * gdb.trace/tfile.c (adjust_function_address)
5195 [__powerpc64__ && _CALL_ELF != 2]: Get function address from
5196 function descriptor.
5198 2014-10-24 Don Breazeal <donb@codesourcery.com>
5200 * gdb.base/foll-fork.exp (test_follow_fork,
5201 catch_fork_child_follow): Check for updated fork messages emitted
5203 * gdb.base/foll-vfork.exp (vfork_parent_follow_through_step,
5204 vfork_parent_follow_to_bp, vfork_and_exec_child_follow_to_main_bp,
5205 vfork_and_exec_child_follow_through_step): Check for updated vfork
5206 messages emitted from infrun.c.
5208 2014-10-24 Pedro Alves <palves@redhat.com>
5210 * gdb.base/corefile.exp: Remove references to ultrix.
5211 * gdb.base/interrupt.exp: Likewise.
5212 * gdb.base/whatis.exp: Likewise.
5213 * gdb.gdb/selftest.exp: Likewise.
5214 * gdb.threads/manythreads.exp: Likewise.
5215 * gdb.threads/print-threads.exp: Likewise.
5216 * gdb.threads/pthreads.exp:: Likewise.
5217 * gdb.threads/schedlock.exp: Likewise.
5219 2014-10-24 Siva Chandra Reddy <sivachandra@google.com>
5221 * gdb.cp/non-trivial-retval.cc: Add a test case.
5222 * gdb.cp/non-trivial-retval.exp: Add a test.
5224 2014-10-20 Yao Qi <yao@codesourcery.com>
5226 * gdb.python/py-objfile-script-gdb.py.in: Rename it to ...
5227 * gdb.python/py-objfile-script-gdb.py: New file.
5228 * gdb.python/py-objfile-script.exp: Update reference to
5229 py-objfile-script-gdb.py.in. Use gdb_remote_donwload instead
5230 of remote_download. Remove the dest file.
5232 2014-10-20 Yao Qi <yao@codesourcery.com>
5234 * gdb.base/checkpoint.exp: Don't remove file copied on host.
5235 * gdb.base/step-line.exp: Likewise.
5236 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
5237 * gdb.dwarf2/dw2-basic.exp: Likewise.
5238 * gdb.dwarf2/dw2-compressed.exp: Likewise.
5239 * gdb.dwarf2/dw2-filename.exp: Likewise.
5240 * gdb.dwarf2/dw2-intercu.exp: Likewise.
5241 * gdb.dwarf2/dw2-intermix.exp: Likewise.
5242 * gdb.dwarf2/dw2-producer.exp: Likewise.
5243 * gdb.dwarf2/mac-fileno.exp: Likewise.
5244 * gdb.python/py-frame-args.exp: Likewise.
5245 * gdb.python/py-framefilter.exp: Likewise.
5246 * gdb.python/py-mi.exp: Likewise.
5247 * gdb.python/py-objfile-script.exp: Likewise
5248 * gdb.python/py-pp-integral.exp: Likewise.
5249 * gdb.python/py-pp-re-notag.exp: Likewise.
5250 * gdb.python/py-prettyprint.exp: Likewise.
5251 * gdb.python/py-section-script.exp: Likewise.
5252 * gdb.python/py-typeprint.exp: Likewise.
5253 * gdb.python/py-xmethods.exp: Likewise.
5254 * gdb.stabs/weird.exp: Likewise.
5255 * gdb.xml/tdesc-regs.exp: Likewise.
5257 2014-10-18 Kwok Cheung Yeung <kcy@codesourcery.com>
5259 * gdb.dwarf2/dw2-dir-file-name.exp (addr_len): New.
5260 (out_cu): Use addr_len for the size of addresses.
5261 (out_line): Likewise. Size DW_LNE_set_address instruction
5262 according to addr_len.
5263 * gdb.dwarf2/dw2-dir-file-name.c (START_INSNS): New.
5264 (FUNC): Add START_INSNS to definition.
5266 2014-10-18 Yao Qi <yao@codesourcery.com>
5268 * gdb.base/argv0-symlink.exp: Check argv[0] value if
5269 gdb_has_argv0 return true.
5270 * gdb.guile/scm-value.exp (test_value_in_inferior): Don't
5271 check [target_info exists noargs], check [gdb_has_argv0]
5273 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5274 * lib/gdb.exp (gdb_has_argv0, gdb_has_argv0_1): New
5277 2014-10-17 Doug Evans <dje@google.com>
5279 * gdb.python/py-events.exp: Update expected output for clear_objfiles
5281 * gdb.python/py-events.py: Add clear_objfiles event.
5283 2014-10-17 Doug Evans <dje@google.com>
5285 * gdb.python/py-objfile.exp: Test progspace attribute.
5287 2014-10-17 Luis Machado <lgustavo@codesourcery.com>
5289 * gdb.guile/scm-breakpoint.exp: Do not assume any
5290 directory separators when matching source file paths.
5291 * gdb.python/py-breakpoint.exp: Likewise.
5292 * gdb.reverse/break-precsave.exp: Likewise.
5293 * gdb.reverse/break-reverse.exp: Likewise.
5294 * gdb.reverse/consecutive-precsave.exp: Likewise.
5295 * gdb.reverse/finish-precsave.exp: Likewise.
5296 * gdb.reverse/finish-reverse-bkpt.exp: Likewise.
5297 * gdb.reverse/finish-reverse.exp: Likewise.
5298 * gdb.reverse/i386-precsave.exp: Likewise.
5299 * gdb.reverse/i387-env-reverse.exp: Likewise.
5300 * gdb.reverse/i387-stack-reverse.exp: Likewise.
5301 * gdb.reverse/machinestate-precsave.exp: Likewise.
5302 * gdb.reverse/machinestate.exp: Likewise.
5303 * gdb.reverse/sigall-precsave.exp: Likewise.
5304 * gdb.reverse/solib-precsave.exp: Likewise.
5305 * gdb.reverse/step-precsave.exp: Likewise.
5306 * gdb.reverse/until-precsave.exp: Likewise.
5307 * gdb.reverse/watch-precsave.exp: Likewise.
5308 * gdb.reverse/watch-reverse.exp: Likewise.
5310 2014-10-17 Yao Qi <yao@codesourcery.com>
5312 * lib/gdb.exp (gdb_skip_xml_test): Copy trivial.xml to host.
5313 * gdb.xml/tdesc-regs.exp: Copy single-reg.xml to host.
5315 2014-10-17 Pedro Alves <palves@redhat.com>
5318 * gdb.base/bg-execution-repeat.c: New file.
5319 * gdb.base/bg-execution-repeat.exp: New file.
5321 2014-10-17 Pedro Alves <palves@redhat.com>
5324 * gdb.base/continue-all-already-running.c: New file.
5325 * gdb.base/continue-all-already-running.exp: New file.
5327 2014-10-17 Pedro Alves <palves@redhat.com>
5330 * gdb.base/annota-input-while-running.c: New file.
5331 * gdb.base/annota-input-while-running.exp: New file.
5333 2014-10-17 Pedro Alves <palves@redhat.com>
5335 * gdb.base/callfuncs.exp: emove references to osf.
5336 * gdb.base/sigall.exp: Likewise.
5337 * gdb.gdb/selftest.exp: Likewise.
5338 * gdb.hp/gdb.base-hp/callfwmall.exp: Likewise.
5339 * gdb.mi/non-stop.c: Likewise.
5340 * gdb.mi/pthreads.c: Likewise.
5341 * gdb.reverse/sigall-precsave.exp: Likewise.
5342 * gdb.reverse/sigall-reverse.exp: Likewise.
5343 * gdb.threads/pthreads.c: Likewise.
5344 * gdb.threads/pthreads.exp: Likewise.
5346 2014-10-17 Yao Qi <yao@codesourcery.com>
5348 * gdb.base/commands.exp (gdbvar_complex_if_while_test): Don't
5349 check 'target_info exists noargs'.
5350 (test_command_prompt_position): Likewise.
5351 (progvar_simple_if_test): Don't check 'target_info exists noargs'.
5353 (progvar_simple_while_test): Likewise.
5354 (progvar_complex_if_while_test): Likewise.
5355 (if_while_breakpoint_command_test): Likewise.
5356 (infrun_breakpoint_command_test): Likewise.
5357 (breakpoint_command_test): Likewise.
5358 (watchpoint_command_test): Likewise.
5359 (bp_deleted_in_command_test): Likewise.
5360 (temporary_breakpoint_commands): Likewise.
5362 2014-10-16 Yao Qi <yao@codesourcery.com>
5364 * gdb.base/remotetimeout.exp: Remove noargs checking.
5366 2014-10-15 Pedro Alves <palves@redhat.com>
5369 * gdb.base/breakpoint-in-ro-region.c (main): Add more instructions.
5370 * gdb.base/breakpoint-in-ro-region.exp
5371 (probe_target_hardware_step): New procedure.
5372 (top level): Probe hardware stepping and hardware breakpoint
5373 support. Test stepping through a read-only region, with both
5374 "breakpoint auto-hw" on and off and both "always-inserted" on and
5377 2014-10-15 Iain Buclaw <ibuclaw@gdcproject.org>
5379 * gdb.dlang/demangle.exp: Update for demangling changes.
5381 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5383 * gdb.cp/non-trivial-retval.cc: Add new test cases.
5384 * gdb.cp/non-trivial-retval.exp: Add new tests.
5386 2014-10-15 Siva Chandra Reddy <sivachandra@google.com>
5390 * gdb.cp/non-trivial-retval.cc: New file.
5391 * gdb.cp/non-trivial-retval.exp: New file.
5393 2014-10-15 Yao Qi <yao@codesourcery.com>
5395 * gdb.python/py-parameter.exp: Don't match $srcdir/$subdir on
5398 2014-10-15 Yao Qi <yao@codesourcery.com>
5400 * gdb.python/py-symbol.exp: Match file base name if host is
5401 remote, otherwise match file name with dir name.
5402 * gdb.python/py-symtab.exp: Likewise.
5403 * gdb.python/python.exp: Likewise.
5405 2014-10-15 Yao Qi <yao@codesourcery.com>
5407 * gdb.python/py-symbol.exp: Remove trailing ".*" in the
5409 * gdb.python/py-symtab.exp: Likewise.
5410 * gdb.python/python.exp: Remove trailing ".*". Fix typo
5413 2014-10-14 Joel Brobecker <brobecker@adacore.com>
5415 * gdb.ada/addr_arith: New testcase.
5417 2014-10-14 Maciej W. Rozycki <macro@codesourcery.com>
5419 * gdb.dwarf2/dw2-case-insensitive-debug.S: Handle 64-bit pointers.
5420 * gdb.dwarf2/dw2-case-insensitive.exp: Update accordingly.
5421 * gdb.dwarf2/dw2-skip-prologue.S: Handle 64-bit pointers.
5422 * gdb.dwarf2/dw2-skip-prologue.exp: Update accordingly.
5424 2014-10-14 Sergio Durigan Junior <sergiodj@redhat.com>
5426 * gdb.arch/stap-eval-lang-ada.S: Likewise.
5427 * gdb.arch/stap-eval-lang-ada.c: Likewise.
5428 * gdb.arch/stap-eval-lang-ada.exp: New file.
5430 2014-10-14 Yao Qi <yao@codesourcery.com>
5432 * gdb.mi/mi-var-child.c (nothing1): New function.
5433 (nothing2): New function.
5434 (do_children_tests): Set function pointers by nothing1 and
5436 * gdb.mi/mi-var-child.exp: Step over new added statements.
5437 Update test to match the new output.
5438 * gdb.mi/var-cmd.c (nothing1): New function.
5439 (nothing2): New function.
5440 (do_children_tests): Set function pointers by nothing1 and
5442 * gdb.mi/mi-var-display.exp: Update test to match output.
5443 Step to the line specified by $line_dct_nothing.
5444 Increase the number of lines to step.
5446 2014-10-14 Yao Qi <yao@codesourcery.com>
5448 * gdb.mi/mi-var-child.exp: Use mi_varobj_update to simplify
5450 * gdb.mi/mi2-var-child.exp: Likewise.
5452 2014-10-13 Doug Evans <dje@google.com>
5454 * gdb.python/py-objfile.exp: Change name of file name test.
5456 2014-10-13 Doug Evans <dje@google.com>
5458 * gdb.dwarf2/dw2-op-out-param.S: Make DW_FORM_ref4 values be the offset
5459 from the start of the CU.
5461 2014-10-13 Jan Kratochvil <jan.kratochvil@redhat.com>
5462 Yao Qi <yao@codesourcery.com>
5464 Fix "save breakpoints" for "catch" command.
5465 * gdb.base/catch-signal.exp: Add gdb_breakpoint "main".
5466 Remove -nonewline. Match also the added "main" line.
5468 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5470 Fix "save breakpoints" for "disable $bpnum" command.
5471 * gdb.base/save-bp.c (main): Add label.
5472 * gdb.base/save-bp.exp: Add 8th disabled breakpoint. Match it.
5474 2014-10-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5476 * gdb.base/save-bp.exp (info break): Use gdb_test_sequence.
5478 2014-10-11 Yao Qi <yao@codesourcery.com>
5480 * gdb.server/server-kill.exp: Execute command
5481 "set remote trace-status-packet on" before "tstatus".
5483 2014-10-11 Yao Qi <yao@codesourcery.com>
5485 * gdb.server/server-kill.c: Include sys/types.h and unistd.h.
5486 (main): Call getppid.
5487 * gdb.server/server-kill.exp: Set breakpoint on line "i = 0;"
5488 and continue to it. Read variable "server_pid".
5490 2014-10-11 Yao Qi <yao@codesourcery.com>
5492 * gdb.server/server-kill.exp: Remove "delete_breakpoints".
5494 2014-10-11 Yao Qi <yao@codesourcery.com>
5496 * gdb.threads/thread-find.exp: Don't execute command
5498 * gdb.threads/attach-into-signal.exp (corefunc): Likewise.
5499 * gdb.threads/linux-dp.exp: Don't check the condition
5500 $threads_created equals to zero.
5502 2014-10-10 Pedro Alves <palves@redhat.com>
5504 * gdb.base/bigcore.exp: Remove references to IRIX.
5505 * gdb.base/funcargs.exp: Likewise.
5506 * gdb.base/interrupt.exp: Likewise.
5507 * gdb.base/mips_pro.exp: Likewise.
5508 * gdb.base/nodebug.exp: Likewise.
5509 * gdb.base/setvar.exp: Likewise.
5510 * lib/gdb.exp (gdb_compile_shlib): Remove mips-sgi-irix* case.
5512 2014-10-10 Jan Kratochvil <jan.kratochvil@redhat.com>
5513 Pedro Alves <palves@redhat.com>
5516 * gdb.base/vdso-warning.c: New file.
5517 * gdb.base/vdso-warning.exp: New file.
5519 2014-10-02 Doug Evans <dje@google.com>
5521 * gdb.base/structs.c (main): Don't run forever.
5523 2014-10-02 Pedro Alves <palves@redhat.com>
5525 * gdb.threads/manythreads.exp (interrupt_and_wait): New procedure.
5526 (top level) <stop threads 1, stop threads 2>: Use it.
5528 2014-10-02 Pedro Alves <palves@redhat.com>
5530 * gdb.threads/break-while-running.exp (test): Add new
5531 'update_thread_list' argument. Skip "info threads" if false.
5532 (top level): Add new 'update_thread_list' axis.
5534 2014-10-02 Pedro Alves <palves@redhat.com>
5536 PR breakpoints/17431
5537 * gdb.base/execl-update-breakpoints.c: New file.
5538 * gdb.base/execl-update-breakpoints.exp: New file.
5540 2014-10-01 Pedro Alves <palves@redhat.com>
5542 * gdb.base/breakpoint-in-ro-region.c: New file.
5543 * gdb.base/breakpoint-in-ro-region.exp: New file.
5545 2014-10-01 Simon Marchi <simon.marchi@ericsson.com>
5547 * gdb.mi/mi-exit-code.exp: New file.
5548 * gdb.mi/mi-exit-code.c: New file.
5550 2014-09-30 Yao Qi <yao@codesourcery.com>
5552 * lib/prelink-support.exp (build_executable_own_libs): Error if
5553 the target isn't native.
5555 2014-09-30 Yao Qi <yao@codesourcery.com>
5557 * gdb.threads/dlopen-libpthread.exp: Skip it if isnative is
5560 2014-09-22 Pedro Alves <palves@redhat.com>
5562 * gdb.threads/break-while-running.exp: New file.
5563 * gdb.threads/break-while-running.c: New file.
5565 2014-09-19 Yao Qi <yao@codesourcery.com>
5567 * gdb.dwarf2/dw2-var-zero-addr.exp: Move test into new proc test.
5568 Invoke test. Restart GDB with --readnow and invoke test again.
5570 2014-09-19 Yao Qi <yao@codesourcery.com>
5572 * gdb.base/break-on-linker-gcd-function.exp: Move test into new
5573 proc set_breakpoint_on_gcd_function. Invoke
5574 set_breakpoint_on_gcd_function. Restart GDB with --readnow and
5575 invoke set_breakpoint_on_gcd_function again.
5577 2014-09-18 Doug Evans <dje@google.com>
5579 * gdb.dwarf2/symtab-producer.exp: New file.
5581 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5583 * gdb.base/global-var-nested-by-dso-solib1.c: New file.
5584 * gdb.base/global-var-nested-by-dso-solib2.c: Likewise.
5585 * gdb.base/global-var-nested-by-dso.c: Likewise.
5586 * gdb.base/global-var-nested-by-dso.exp: Likewise.
5588 2014-09-16 Sergio Durigan Junior <sergiodj@redhat.com>
5589 Pedro Alves <palves@redhat.com>
5591 * gdb.base/watch-bitfields.exp: Pass string other than test file
5592 name to prepare_for_testing.
5593 (watch): New procedure.
5594 (expect_watchpoint): Use with_test_prefix.
5595 (top level): Factor out tests to ...
5596 (test_watch_location, test_regular_watch): ... these new
5597 procedures, and use with_test_prefix and gdb_continue_to_end.
5599 2014-09-16 Patrick Palka <patrick@parcs.ath.cx>
5601 PR breakpoints/12526
5602 * gdb.base/watch-bitfields.exp: New file.
5603 * gdb.base/watch-bitfields.c: New file.
5605 2014-09-16 Pedro Alves <palves@redhat.com>
5607 * gdb.base/watchpoint-stops-at-right-insn.exp (test): Compare
5608 software and hardware addresses, not software address against
5611 2014-09-16 Pedro Alves <palves@redhat.com>
5613 * gdb.base/watchpoint-stops-at-right-insn.c: New file.
5614 * gdb.base/watchpoint-stops-at-right-insn.exp: New file.
5616 2014-09-16 Pedro Alves <palves@redhat.com>
5618 * config/vx.exp, config/vxworks.exp, config/vxworks29k.exp: Delete
5620 * gdb.base/a2-run.exp: Remove all code guarded by istarget
5621 "*-*-vxworks*" throughout.
5622 * gdb.base/break.exp: Likewise.
5623 * gdb.base/default.exp: Likewise.
5624 * gdb.base/scope.exp: Likewise.
5625 * gdb.base/sepdebug.exp: Likewise.
5626 * gdb.base/break.c: Remove all code guarded by #ifdef vxworks
5628 * gdb.base/run.c: Likewise.
5629 * gdb.base/sepdebug.c: Likewise.
5630 * gdb.hp/gdb.aCC/run.c: Likewise.
5631 * gdb.reverse/until-reverse.c: Likewise.
5632 * lib/gdb.exp (gdb_compile): Remove is_vxworks branch.
5634 2014-09-16 Yao Qi <yao@codesourcery.com>
5636 * boards/local-remote-host-native.exp: New file.
5638 2014-09-14 Doug Evans <xdje42@gmail.com>
5640 * gdb.threads/queue-signal.c (thread_count): New variable.
5641 (thread_count_mutex, thread_count_condvar): New variables.
5642 (incr_thread_count, wait_all_threads_running): New functions.
5643 (main): Wait for all threads to be in their thread functions.
5645 2014-09-13 Doug Evans <xdje42@gmail.com>
5647 * gdb.threads/queue-signal.c: New file.
5648 * gdb.threads/queue-signal.exp: New file.
5650 2014-09-13 Doug Evans <xdje42@gmail.com>
5652 * lib/gdb.exp (gdb_prompt): Add comment and change initial value to
5653 be consistent with what default_gdb_init uses.
5654 (with_gdb_prompt): Change form of PROMPT argument from a regexp to
5655 the plain text of the prompt. Add some logging printfs.
5656 * gdb.perf/disassemble.exp: Update call to with_gdb_prompt.
5658 2014-09-12 Pedro Alves <palves@redhat.com>
5660 * gdb.arch/gdb1558.exp: Replace uses of gdb_expect after
5661 gdb_run_cmd with gdb_test_multiple or gdb_test throughout.
5662 * gdb.arch/i386-size-overlap.exp: Likewise.
5663 * gdb.arch/i386-size.exp: Likewise.
5664 * gdb.arch/i386-unwind.exp: Likewise.
5665 * gdb.base/a2-run.exp: Likewise.
5666 * gdb.base/break.exp: Likewise.
5667 * gdb.base/charset.exp: Likewise.
5668 * gdb.base/chng-syms.exp: Likewise.
5669 * gdb.base/commands.exp: Likewise.
5670 * gdb.base/dbx.exp: Likewise.
5671 * gdb.base/find.exp: Likewise.
5672 * gdb.base/funcargs.exp: Likewise.
5673 * gdb.base/jit-simple.exp: Likewise.
5674 * gdb.base/reread.exp: Likewise.
5675 * gdb.base/sepdebug.exp: Likewise.
5676 * gdb.base/step-bt.exp: Likewise.
5677 * gdb.cp/mb-inline.exp: Likewise.
5678 * gdb.cp/mb-templates.exp: Likewise.
5679 * gdb.objc/basicclass.exp: Likewise.
5680 * gdb.threads/killed.exp: Likewise.
5682 2014-09-12 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
5685 * gdb.arch/powerpc-stackless.S: New file.
5686 * gdb.arch/powerpc-stackless.exp: New file.
5688 2014-09-12 Jan Kratochvil <jan.kratochvil@redhat.com>
5690 * gdb.base/attach.c: Include unistd.h.
5691 (main): Call alarm. Add label postloop.
5692 * gdb.base/attach.exp (do_attach_tests): Use gdb_get_line_number,
5693 gdb_breakpoint, gdb_continue_to_breakpoint.
5694 (test_command_line_attach_run): Kill ${testpid} in one exit path.
5696 2014-09-11 Pedro Alves <palves@redhat.com>
5699 * lib/gdb.exp (gdb_spawn_with_cmdline_opts): New procedure.
5700 * gdb.base/attach.exp (test_command_line_attach_run): New
5702 (top level): Call it.
5704 2014-09-11 Pedro Alves <palves@redhat.com>
5706 * lib/gdb.exp (spawn_wait_for_attach): New procedure.
5707 * gdb.base/attach.exp (do_attach_tests, do_call_attach_tests)
5708 (do_command_attach_tests): Use spawn_wait_for_attach.
5709 * gdb.base/solib-overlap.exp: Likewise.
5710 * gdb.multi/multi-attach.exp: Likewise.
5711 * gdb.python/py-prompt.exp: Likewise.
5712 * gdb.python/py-sync-interp.exp: Likewise.
5713 * gdb.server/ext-attach.exp: Likewise.
5715 2014-09-11 Gabriel Krisman Bertazi <gabriel@krisman.be>
5717 * gdb.fortran/array-element.exp: Remove unexpected "continue"
5718 command in testcase. Simplify testcase.
5720 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5722 * gdb.dwarf2/dynarr-ptr.exp: Add a few ptype tests.
5724 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5726 * gdb.dwarf2/dynarr-ptr.exp: Add 'first, 'last and 'length tests.
5728 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5730 * gdb.dwarf2/dynarr-ptr.exp: Add subscripting tests.
5732 2014-09-10 Joel Brobecker <brobecker@adacore.com>
5734 * gdb.dwarf2/dynarr-ptr.c: New file.
5735 * gdb.dwarf2/dynarr-ptr.exp: New file.
5737 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5739 * gdb.base/watchpoint-solib.exp: Increase the timeout by a factor
5740 of 30 rather than hardcoding 120 for a slow test case. Take the
5741 `gdb,timeout' target setting into account for this calculation.
5742 Don't extend the timeout for the test cases that don't need it.
5744 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5746 * gdb.reverse/sigall-reverse.exp: Increase the timeout by
5747 a factor of 2 for a slow test case. Take the `gdb,timeout'
5748 target setting into account for this calculation.
5749 * gdb.reverse/until-precsave.exp: Increase the timeout by
5750 a factor of 15 and 3 respectively rather than adding 120
5751 for a pair of slow test cases. Take the `gdb,timeout'
5752 target setting into account for this calculation.
5754 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5756 * lib/gdb.exp (gdb_test_multiple): Remove code to select the
5757 timeout, don't pass one down to gdb_expect.
5758 (gdb_expect): Rework timeout selection.
5760 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5762 * lib/gdbserver-support.exp (gdbserver_start): Throw an error
5763 exception on timeout.
5764 (gdbserver_run): Catch any `gdbserver_spawn' error exceptions.
5765 (gdbserver_start_extended): Catch any `gdbserver_start' error
5767 (gdbserver_start_multi, mi_gdbserver_start_multi): Likewise.
5768 * lib/mi-support.exp (mi_gdb_target_load): Catch any
5769 `gdbserver_gdb_load' error exceptions.
5771 2014-09-09 Maciej W. Rozycki <macro@codesourcery.com>
5773 * lib/gdbserver-support.exp (gdbserver_start): Set timeout to
5774 120 on waiting for the TCP socket to open.
5776 2014-09-09 Doug Evans <xdje42@gmail.com>
5778 * gdb.base/default.exp (show_conv_list): Add _caller_is,
5779 _caller_matches, _any_caller_is, _any_caller_matches.
5781 2014-09-09 Doug Evans <xdje42@gmail.com>
5783 * gdb.guile/scm-error.exp: Handle guile 2.2 backtrace output.
5785 2014-09-09 Yao Qi <yao@codesourcery.com>
5787 * gdb.mi/mi-var-display.exp: Set print symbol off.
5789 2014-09-07 Gabriel Krisman Bertazi <gabriel@krisman.be>
5792 * gdb.base/commands.exp: Add tests to verify user-defined
5793 commands with empty bodies.
5794 * gdb.python/py-cmd.exp: Test that we don't show user-defined
5795 python commands in `show user command`.
5796 * gdb.python/scm-cmd.exp: Test that we don't show user-defined
5797 scheme commands in `show user command`.
5799 2014-09-07 Jan Kratochvil <jan.kratochvil@redhat.com>
5802 * gdb.python/amd64-py-framefilter-invalidarg.S: New file.
5803 * gdb.python/py-framefilter-invalidarg-gdb.py.in: New file.
5804 * gdb.python/py-framefilter-invalidarg.exp: New file.
5805 * gdb.python/py-framefilter-invalidarg.py: New file.
5807 2014-09-06 Doug Evans <xdje42@gmail.com>
5810 * gdb.python/py-caller-is.c: New file.
5811 * gdb.python/py-caller-is.exp: New file.
5813 2014-09-05 Sergio Durigan Junior <sergiodj@redhat.com>
5816 * gdb.arch/amd64-stap-wrong-subexp.exp: New file.
5817 * gdb.arch/amd64-stap-wrong-subexp.S: Likewise.
5819 2014-09-04 Sergio Durigan Junior <sergiodj@redhat.com>
5822 * gdb.fortran/print-formatted.exp: New file.
5823 * gdb.fortran/print-formatted.f90: Likewise.
5825 2014-09-03 Sasha Smundak <asmundak@google.com>
5827 * gdb.python/py-frame.exp: Test Frame.read_register.
5829 2014-09-03 Sergio Durigan Junior <sergiodj@redhat.com>
5832 * gdb.python/py-completion.exp: New file.
5833 * gdb.python/py-completion.py: Likewise.
5835 2014-08-28 Doug Evans <dje@google.com>
5837 * gdb.arch/amd64-pseudo.c (main): Rewrite to better specify when
5838 eax,etc. are live with values set by gdb and thus the compiler can't
5840 * gdb.arch/i386-pseudo.c (main): Ditto.
5842 2014-08-27 Doug Evans <dje@google.com>
5844 * lib/gdb.exp (gdb_compile_shlib): Add support for clang.
5846 2014-08-25 Doug Evans <dje@google.com>
5848 * gdb.mi/basics.c (callee3, callee2, callee1): Specify result type.
5851 2014-08-25 Doug Evans <dje@google.com>
5853 * gdb.threads/thread-execl.exp: #include <stdio.h>.
5855 2014-08-24 Yao Qi <yao@codesourcery.com>
5857 * gdb.guile/scm-value.exp (test_lazy_strings): Set print
5859 * gdb.python/py-value.exp (test_lazy_strings): Likewise.
5861 2014-08-22 Doug Evans <dje@google.com>
5864 * gdb.dwarf2/dw2-single-line-discriminators.S: New file.
5865 * gdb.dwarf2/dw2-single-line-discriminators.c: New file.
5866 * gdb.dwarf2/dw2-single-line-discriminators.exp: New file.
5868 2014-08-22 Yao Qi <yao@codesourcery.com>
5870 * gdb.python/py-finish-breakpoint.exp: Copy .py file to host.
5871 * gdb.python/py-finish-breakpoint2.exp: Likewise.
5872 * gdb.python/python.exp: Likewise. Use .py file on the host
5873 instead of the build.
5875 2014-08-21 Jan Kratochvil <jan.kratochvil@redhat.com>
5877 * gdb.threads/gcore-stale-thread.c: New file.
5878 * gdb.threads/gcore-stale-thread.exp: New file.
5880 2014-08-21 Pedro Alves <palves@redhat.com>
5882 * gdb.base/gcore-buffer-overflow.exp: Remove "help gcore" test.
5883 * gdb.base/gcore-relro-pie.exp: Likewise.
5884 * gdb.base/gcore-relro.exp: Likewise.
5885 * gdb.base/gcore.exp: Likewise.
5886 * gdb.base/print-symbol-loading.exp: Likewise.
5887 * gdb.threads/gcore-thread.exp: Likewise.
5888 * lib/gdb.exp (gdb_gcore_cmd): Don't expect "Undefined command".
5890 2014-08-20 Pedro Alves <palves@redhat.com>
5891 Jan Kratochvil <jan.kratochvil@redhat.com>
5893 * Makefile.in (EXTRA_RULES, CC): New variables, get from
5895 (EXPECT): Handle READ1 being set.
5896 (all): Depend on EXTRA_RULES.
5897 (check-read1, expect-read1, read1.so, read1): New rules.
5898 * README (Testsuite Parameters): Document the READ1 make variable.
5899 (Race detection): New section.
5900 * configure: Regenerate.
5901 * configure.ac: If build==host==target, and running under a
5902 GNU/glibc system, add read1 to the extra Makefile rules.
5903 (EXTRA_RULES): AC_SUBST it.
5904 * lib/read1.c: New file.
5906 2014-08-20 Joel Brobecker <brobecker@adacore.com>
5908 * gdb.dwarf2/data-loc.exp: Add additional tests exercising
5909 the handling of variables declared as a typedef to an array
5910 which a DW_AT_data_location attribute.
5912 2014-08-19 Andrew Burgess <aburgess@broadcom.com>
5913 Pedro Alves <palves@redhat.com>
5917 * gdb.dwarf2/dw2-op-out-param.exp: Remove kfail branches and use
5920 2014-08-19 Pedro Alves <palves@redhat.com>
5922 * gdb.base/watchpoint-hw-hit-once.c (main): Update comment.
5924 2014-08-19 Yao Qi <yao@codesourcery.com>
5926 * gdb.base/watchpoint-hw-hit-once.exp: Set breakpoint on the
5929 2014-08-18 David Blaikie <dblaikie@gmail.com>
5931 * boards/fission.exp: Explicitly pass -ggnu-pubnames for clang.
5933 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5935 * gdb.dwarf2/data-loc.exp: Remove second DW_AT_upper bound
5936 attribute in array range.
5938 2014-08-18 Joel Brobecker <brobecker@adacore.com>
5940 * gdb.dwarf2/data-loc.c, gdb.dwarf2/data-loc.exp: New files.
5942 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5945 * gdb.cp/pr17132.cc: New file.
5946 * gdb.cp/pr17132.exp: New file.
5948 2014-08-15 Siva Chandra Reddy <sivachandra@google.com>
5950 * gdb.python/py-xmethods.py (A_getarrayind)
5951 (E_method_char_worker.__call__, E_method_int_worker.__call__):
5952 Use 'print' with function call syntax.
5953 (E_method_matcher.match): Fix tab vs space indentation mixup.
5955 2014-08-15 Yao Qi <yao@codesourcery.com>
5957 * gdb.trace/tfile.exp: Return -1 if generate_tracefile returns
5960 2014-08-15 Yao Qi <yao@codesourcery.com>
5962 * gdb.cp/casts.exp: Set print symbol off.
5963 * gdb.cp/class2.exp: Likewise.
5964 * gdb.cp/overload.exp: Likewise.
5965 * gdb.cp/templates.exp: Likewise.
5967 2014-08-11 Doug Evans <dje@google.com>
5969 * gdb.base/print-symbol-loading.exp (test_load_core): Update.
5970 (test_load_shlib): Update.
5972 2014-08-09 Yao Qi <yao@codesourcery.com>
5974 * gdb.base/display.exp: Invoke is_address_zero_readable.
5975 * gdb.guile/scm-value.exp (test_value_in_inferior): Likewise.
5976 * gdb.python/py-value.exp (test_value_in_inferior): Likewise.
5977 * gdb.base/hbreak-unmapped.exp: Return if
5978 is_address_zero_readable returns true.
5979 * gdb.base/signest.exp: Likewise.
5980 * gdb.base/signull.exp: Likewise.
5981 * gdb.base/sigbpt.exp: Likewise.
5982 * gdb.guile/scm-disasm.exp: Do the test if
5983 is_address_zero_readable returns false.
5984 * gdb.guile/scm-pretty-print.exp (run_lang_tests): Likewise.
5985 * gdb.python/py-arch.exp: Likewise.
5986 * gdb.python/py-prettyprint.exp (run_lang_tests): Likewise.
5987 * lib/gdb.exp (is_address_zero_readable): New proc.
5989 2014-08-09 Yao Qi <yao@codesourcery.com>
5992 * gdb.mi/mi-var-display.exp: Make test messages unique.
5994 2014-08-04 Tom Tromey <tromey@redhat.com>
5996 * gdb.base/sss-bp-on-user-bp-2.exp: Expect output from "set debug
5999 2014-08-04 Tom Tromey <tromey@redhat.com>
6001 * gdb.base/sss-bp-on-user-bp-2.exp: Match "to_resume", not
6004 2014-08-01 Joel Brobecker <brobecker@adacore.com>
6006 * gdb.base/vla-datatypes.c (vla_factory): Add new variable
6007 inner_vla_struct_object_size.
6008 * gdb.base/vla-datatypes.exp: Adjust last test, and mark it
6011 2014-07-30 Pedro Alves <palves@redhat.com>
6013 * gdb.threads/signal-command-handle-nopass.exp (test): Add
6016 2014-07-29 Yao Qi <yao@codesourcery.com>
6019 * gdb.base/until-nodebug.exp: New.
6021 2014-07-28 Doug Evans <xdje42@gmail.com>
6024 * gdb.guile/scm-parameter.exp: Add tests for trying to create
6025 previously existing parameter, and previously ambiguously spelled
6028 2014-07-28 Will Newton <will.newton@linaro.org>
6030 * gdb.base/varargs.exp: Remove KFAILs for ARM.
6032 2014-07-26 Ludovic CourtĂšs <ludo@gnu.org>
6033 Doug Evans <xdje42@gmail.com>
6036 * gdb.guile/types-module.exp: Add tests for wrong type arguments.
6038 2014-07-25 Pedro Alves <palves@redhat.com>
6040 * gdb.threads/signal-command-handle-nopass.c: New file.
6041 * gdb.threads/signal-command-handle-nopass.exp: New file.
6042 * gdb.threads/signal-command-multiple-signals-pending.c: New file.
6043 * gdb.threads/signal-command-multiple-signals-pending.exp: New file.
6044 * gdb.threads/signal-delivered-right-thread.c: New file.
6045 * gdb.threads/signal-delivered-right-thread.exp: New file.
6047 2014-07-25 Pedro Alves <palves@redhat.com>
6049 * gdb.base/double-prompt-target-event-error.exp
6050 (cancel_pagination_in_target_event): Remove '-notransfer <return>'
6052 (cancel_pagination_in_target_event): Rework double prompt
6054 * gdb.base/paginate-after-ctrl-c-running.exp
6055 (test_ctrlc_while_target_running_paginates): Remove '-notransfer
6057 * gdb.base/paginate-bg-execution.exp
6058 (test_bg_execution_pagination_return)
6059 (test_bg_execution_pagination_cancel): Remove '-notransfer
6061 * gdb.base/paginate-execution-startup.exp
6062 (test_fg_execution_pagination_return)
6063 (test_fg_execution_pagination_cancel): Remove '-notransfer
6065 * gdb.base/paginate-inferior-exit.exp
6066 (test_paginate_inferior_exited): Remove '-notransfer <return>'
6068 * lib/gdb-utils.exp (string_to_regexp): Move here from lib/gdb.exp.
6069 * lib/gdb.exp (pagination_prompt): Run text through
6071 (gdb_test_multiple): Match $pagination_prompt instead of
6073 (string_to_regexp): Move to lib/gdb-utils.exp.
6075 2014-07-22 Jan Kratochvil <jan.kratochvil@redhat.com>
6077 * gdb.arch/amd64-entry-value-paramref.S: New file.
6078 * gdb.arch/amd64-entry-value-paramref.cc: New file.
6079 * gdb.arch/amd64-entry-value-paramref.exp: New file.
6080 * gdb.arch/amd64-optimout-repeat.S: New file.
6081 * gdb.arch/amd64-optimout-repeat.c: New file.
6082 * gdb.arch/amd64-optimout-repeat.exp: New file.
6084 2014-07-17 Jan Kratochvil <jan.kratochvil@redhat.com>
6087 * gdb.base/statistics.exp: New file.
6089 2014-07-17 Doug Evans <dje@google.com>
6092 * gdb.base/maint.exp: Update testing of per-command stats.
6094 2014-07-16 Pedro Alves <palves@redhat.com>
6096 * gdb.trace/tfile.c: Include unistd.h and stdint.h.
6097 (start_trace_file): Guard S_IRGRP and S_IROTH uses behind #ifdef.
6098 (tfile_write_64, tfile_write_16, tfile_write_8, tfile_write_addr)
6099 (tfile_write_buf): New functions.
6100 (add_memory_block): Rewrite using the above.
6101 (adjust_function_address): New function.
6102 (FUNCTION_ADDRESS): New macro.
6103 (write_basic_trace_file): Remove short_x local, and use
6104 tfile_write_16. Change type of func_addr local to unsigned long
6105 long. Use FUNCTION_ADDRESS instead of handling the Thumb bit
6106 here. Cast argument of add_memory_block to char pointer.
6107 (write_error_trace_file): Avoid alloca. Use FUNCTION_ADDRESS.
6108 (main): Remove parameters.
6109 * gdb.trace/tfile.exp: Remove nowarnings.
6111 2014-07-15 Simon Marchi <simon.marchi@ericsson.com>
6113 * gdb.base/debug-expr.exp: Test string evaluation with
6114 "debug expression" on.
6116 2014-07-15 Pedro Alves <palves@redhat.com>
6118 * gdb.base/reread.exp: Use clean_restart.
6120 2014-07-15 Pierre Langlois <pierre.langlois@embecosm.com>
6122 * gdb.arch/avr-flash-qualifer.c: New.
6123 * gdb.arch/avr-flash-qualifer.exp: New.
6125 2014-07-14 Pedro Alves <palves@redhat.com>
6127 * gdb.base/paginate-after-ctrl-c-running.c: New file.
6128 * gdb.base/paginate-after-ctrl-c-running.exp: New file.
6130 2014-07-14 Pedro Alves <palves@redhat.com>
6132 * gdb.base/double-prompt-target-event-error.c: New file.
6133 * gdb.base/double-prompt-target-event-error.exp: New file.
6135 2014-07-14 Pedro Alves <palves@redhat.com>
6138 * gdb.base/paginate-inferior-exit.c: New file.
6139 * gdb.base/paginate-inferior-exit.exp: New file.
6141 2014-07-14 Pedro Alves <palves@redhat.com>
6144 * gdb.base/paginate-bg-execution.c: New file.
6145 * gdb.base/paginate-bg-execution.exp: New file.
6147 2014-07-14 Pedro Alves <palves@redhat.com>
6150 * gdb.base/paginate-execution-startup.c: New file.
6151 * gdb.base/paginate-execution-startup.exp: New file.
6152 * lib/gdb.exp (pagination_prompt): New global.
6153 (default_gdb_spawn): New procedure, factored out from
6155 (default_gdb_start): Adjust to call default_gdb_spawn.
6156 (gdb_spawn): New procedure.
6158 2014-07-14 Pedro Alves <palves@redhat.com>
6160 * lib/gdb.exp (gdb_assert): New procedure.
6161 * gdb.trace/backtrace.exp (gdb_backtrace_tdp_4): Use it.
6163 2014-07-14 Pedro Alves <palves@redhat.com>
6165 * gdb.base/execution-termios.c: New file.
6166 * gdb.base/execution-termios.exp: New file.
6168 2014-07-14 Tom Tromey <tromey@redhat.com>
6170 * gdb.cp/vla-cxx.cc: New file.
6171 * gdb.cp/vla-cxx.exp: New file.
6173 2014-07-14 Tom Tromey <tromey@redhat.com>
6175 * gdb.reverse/rerun-prec.c: New file.
6176 * gdb.reverse/rerun-prec.exp: New file.
6178 2014-07-12 Maciej W. Rozycki <macro@mips.com>
6179 Maciej W. Rozycki <macro@codesourcery.com>
6181 * lib/gdb-utils.exp: New file.
6182 * lib/gdb.exp (gdb_run_cmd): Call gdb_init_commands, replacing
6183 inline `gdb_init_command' processing.
6184 (gdb_start_cmd): Likewise.
6185 * lib/mi-support.exp (mi_run_cmd): Likewise.
6186 * README: Document `gdb_init_command' and `gdb_init_commands'.
6188 2014-07-11 Jan Kratochvil <jan.kratochvil@redhat.com>
6190 Fix false FAIL running under a very long directory name.
6191 * gdb.base/argv0-symlink.exp: Add "set print repeats 10000"
6192 and "set print elements 10000". Twice.
6194 2014-07-11 Yao Qi <yao@codesourcery.com>
6196 * gdb.base/exprs.exp: "set print symbol off".
6198 2014-07-11 Pedro Alves <palves@redhat.com>
6200 * gdb.threads/kill.c: New file.
6201 * gdb.threads/kill.exp: New file.
6203 2014-07-10 Yao Qi <yao@codesourcery.com>
6205 * gdb.trace/tfile.c (write_basic_trace_file)
6206 [__thumb__||__thumb2__]: Clear the Thumb bit of the function
6207 address written to trace file.
6209 2014-07-09 Pedro Alves <palves@redhat.com>
6211 * gdb.base/attach-wait-input.exp: New file.
6212 * gdb.base/attach-wait-input.c: New file.
6214 2014-07-09 Andrew Burgess <andrew.burgess@embecosm.com>
6216 * gdb.mi/var-cmd.c (do_nested_struct_union_tests): New function
6217 setting up test structures.
6218 (main): Call new test function.
6219 * gdb.mi/mi2-var-child.exp: Create additional breakpoint in new
6220 test function, continue into test function and walk test
6223 2014-07-02 Yao Qi <yao@codesourcery.com>
6225 * gdb.trace/entry-values.c: Define labels 'foo_start' and
6226 'bar_start' at the beginning of functions 'foo' and 'bar'
6228 * gdb.trace/entry-values.exp: Use 'foo_start' and 'bar_start'
6229 instead of 'foo' and 'bar'.
6231 2014-07-08 Markus Metzger <markus.t.metzger@intel.com>
6233 * gdb.btrace/segv.exp: New.
6234 * gdb.btrace/segv.c: New.
6236 2014-07-02 Luis Machado <lgustavo@codesourcery.com>
6238 * gdb.trace/entry-values.exp: Handle powerpc-specific branch
6241 2014-06-30 Mark Wielaard <mjw@redhat.com>
6243 * gdb.base/constvars.c (violent, violet, vips, virgen, vulgar,
6244 vulture, vilify, villar): New volatile array constants.
6245 (vindictive, vegetation): New const volatile array constants.
6246 * gdb.base/volatile.exp: Test volatile and const volatile array
6249 2014-06-30 Andreas Arnez <arnez@linux.vnet.ibm.com>
6251 * gdb.base/watchpoint-reuse-slot.exp: Handle the case that the
6252 target lacks support for awatch, rwatch, or hbreak.
6254 2014-06-27 Yao Qi <yao@codesourcery.com>
6256 * gdb.multi/dummy-frame-restore.exp: New.
6257 * gdb.multi/dummy-frame-restore.c: New.
6259 2014-06-25 Markus Metzger <markus.t.metzger@intel.com>
6261 * gdb.btrace/gcore.exp: New.
6263 2014-06-23 Pedro Alves <palves@redhat.com>
6265 * gdb.base/watchpoint-reuse-slot.c: New file.
6266 * gdb.base/watchpoint-reuse-slot.exp: New file.
6268 2014-06-23 Siva Chandra Reddy <sivachandra@google.com>
6270 * gdb.python/py-xmethods.exp: Use "progspace" instead of the
6271 progspace's filename in 'info', 'enable' and 'disable' command
6274 2014-06-23 Jan Kratochvil <jan.kratochvil@redhat.com>
6276 * gdb.arch/amd64-stap-special-operands.exp: Use is_lp64_target.
6277 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6278 * gdb.dwarf2/dw2-error.exp: Use istarget and is_lp64_target.
6280 2014-06-20 Gary Benson <gbenson@redhat.com>
6282 * gdb.arch/i386-avx.exp: Fix include file location.
6283 * gdb.arch/i386-sse.exp: Likewise.
6285 2014-06-19 Iain Buclaw <ibuclaw@gdcproject.org>
6287 * gdb.dlang/expression.exp: New file.
6289 2014-06-19 Pedro Alves <palves@redhat.com>
6291 * gdb.threads/thread-execl.exp (do_test): New procedure, factored
6293 (top level): ... here. Iterate running tests under different
6294 scheduler-locking settings.
6296 2014-06-18 Luis Machado <lgustavo@codesourcery.com>
6298 * gdb.cp/nsalias.exp: Set type of low_pc and high_pc entries
6299 to DW_FORM_addr and use non-zero addresses.
6301 2014-06-18 Siva Chandra Reddy <sivachandra@google.com>
6304 * gdb.python/py-xmethods.cc: Add global function call counters and
6305 increment them in their respective functions. Remove "cout"
6307 * gdb.python/py-xmethods.exp: Make tests check the global function
6308 call counters instead of depending on inferior IO.
6310 2014-06-18 Don Breazeal <donb@codesourcery.com>
6312 * gdb.base/foll-fork.exp (default_fork_parent_follow):
6314 (explicit_fork_parent_follow): Deleted procedure.
6315 (explicit_fork_child_follow): Deleted procedure.
6316 (test_follow_fork): New procedure.
6317 (do_fork_tests): Replace calls to deleted procedures with
6318 calls to test_follow_fork and reset GDB for subsequent
6321 2014-06-17 Yao Qi <yao@codesourcery.com>
6323 * gdb.base/wchar.exp: Set $cent to \u00A2 if "host-charset" is
6326 2014-06-17 Luis Machado <lgustavo@codesourcery.com>
6328 * gdb.mi/mi-var-rtti.cc (type_update_when_use_rtti_test):
6329 Initialize ptr and S explicitly.
6330 (skip_type_update_when_not_use_rtti_test): Likewise.
6332 2014-06-16 Keith Seitz <keiths@redhat.com>
6335 * gdb.mi/mi-var-cmd.exp: Add test for -var-update before
6336 the inferior is started.
6338 2014-06-16 Pedro Alves <palves@redhat.com>
6340 * gdb.base/break-main-file-remove-fail.c: New file.
6341 * gdb.base/break-main-file-remove-fail.exp: New file.
6342 * gdb.base/break-unload-file.exp: Use build_executable instead of
6343 prepare_for_testing.
6344 (test_break): New parameter "initial_load". Handle it.
6345 (top level): Add initial_load cmdline/file axis.
6347 2014-06-12 Tom Tromey <tromey@redhat.com>
6349 * gdb.base/completion.exp: Don't use directory name in test.
6351 2014-06-09 Gary Benson <gbenson@redhat.com>
6353 * gdb.base/sigall.c [Functions to send signals]: Reorder to
6354 separate the always-available ANSI-standard signals from the
6355 signals that require checking.
6357 * gdb.reverse/sigall-reverse.c [Functions to send signals]:
6361 2014-06-07 Keith Seitz <keiths@redhat.com>
6365 * gdb.cp/var-tag.cc: New file.
6366 * gdb.cp/var-tag.exp: New file.
6367 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
6368 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
6369 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
6370 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
6372 2014-06-06 Doug Evans <xdje42@gmail.com>
6374 * gdb.guile/scm-frame-args.c (foo): Tweak to work with gcc 4.6.3.
6376 2014-06-06 Pedro Alves <palves@redhat.com>
6378 * gdb.base/sss-bp-on-user-bp-2.exp: Look for target_resume(step)
6379 in target debug output instead of looking at RSP packets,
6380 disabling the test on any target that uses hardware stepping.
6383 2014-06-06 Pedro Alves <palves@redhat.com>
6385 * gdb.base/break-unload-file.exp: Fix typo.
6387 2014-06-06 Yao Qi <yao@codesourcery.com>
6389 * gdb.base/jit.exp (one_jit_test): Restrict the pattern
6390 from "jit_function" to "^jit_function".
6392 2014-06-06 Yao Qi <yao@codesourcery.com>
6394 * gdb.base/async.c (foo): Add one statement.
6395 * gdb.base/async.exp: Get the next instruction address and
6396 match the output of "nexti" by instruction address. Match
6397 the hex address in the output of "finish".
6399 2014-06-06 Gary Benson <gbenson@redhat.com>
6401 * gdb.base/call-signals.c: Remove preprocessor conditionals
6402 for always-defined signals SIGINT, SIGILL, SIGABRT, SIGFPE,
6403 SIGSEGV and SIGTERM.
6404 * gdb.base/sigall.c: Likewise.
6405 * gdb.base/unwindonsignal.c: Likewise.
6406 * gdb.reverse/sigall-reverse.c: Likewise.
6408 2014-06-06 Yao Qi <yao@codesourcery.com>
6410 * gdb.base/hbreak-unmapped.exp: Read memory at address 0. If
6411 readable, skip the test.
6413 2014-06-06 Yao Qi <yao@codesourcery.com>
6415 * gdb.threads/staticthreads.c (thread_function): Move the line
6416 setting breakpoint on forward.
6417 * gdb.threads/staticthreads.exp: Update comments.
6419 2014-06-05 Ludovic CourtĂšs <ludo@gnu.org>
6421 * gdb.guile/scm-value.exp (test_value_in_inferior): Add test
6422 "history-append! type error".
6424 2014-06-05 Simon Marchi <simon.marchi@ericsson.com>
6426 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Fix
6427 erroneous dprintf expected input.
6429 2014-06-04 Doug Evans <xdje42@gmail.com>
6431 * gdb.guile/scm-generics.exp: Delete.
6433 2014-06-04 Doug Evans <xdje42@gmail.com>
6435 * gdb.guile/scm-breakpoint.exp: Update.
6436 Add tests for breakpoint registration.
6438 2014-06-04 Tom Tromey <tromey@redhat.com>
6440 * gdb.base/vla-datatypes.exp: Add tests for VLA-in-structure and
6442 * gdb.base/vla-datatypes.c (vla_factory): Add vla_struct,
6443 inner_vla_struct, vla_union types. Initialize objects of those
6444 types and compute their sizes.
6446 2014-06-04 Nathan Sidwell <nathan@codesourcery.com>
6447 Hui Zhu <hui@codesourcery.com>
6449 * gdb.base/fileio.exp: Add test for shell not available as well as
6451 * gdb.base/fileio.c (test_system): Check for shell twice.
6453 2014-06-04 Yao Qi <yao@codesourcery.com>
6455 * gdb.base/auto-connect-native-target.exp: Remove redundant
6456 space from the regexp pattern.
6458 2014-06-04 Yao Qi <yao@codesourcery.com>
6460 * gdb.base/default.exp: Replace "child" with "native" in
6463 2014-06-03 Siva Chandra Reddy <sivachandra@google.com>
6465 * gdb.python/py-xmethods.cc: New testcase to test xmethods.
6466 * gdb.python/py-xmethods.exp: New tests to test xmethods.
6467 * gdb.python/py-xmethods.py: Python script supporting the
6468 new testcase and tests.
6470 2014-06-03 Joel Brobecker <brobecker@adacore.com>
6471 Pedro Alves <palves@redhat.com>
6473 PR breakpoints/17000
6474 * gdb.base/sss-bp-on-user-bp.exp: Remove kfail.
6475 * gdb.base/sss-bp-on-user-bp-2.exp: Remove kfail.
6477 2014-06-03 Brad Mouring <bmouring@ni.com> (tiny patch)
6479 * gdb.base/subst.exp: Add tests to verify partial path matching
6482 2014-06-03 Pedro Alves <palves@redhat.com>
6484 * gdb.base/sss-bp-on-user-bp-2.exp: Skip if testing with a remote
6485 target that doesn't use software single-stepping.
6487 2014-06-03 Pedro Alves <palves@redhat.com>
6489 PR breakpoints/17000
6490 * gdb.base/sss-bp-on-user-bp-2.c: New file.
6491 * gdb.base/sss-bp-on-user-bp-2.exp: New file.
6493 2014-06-02 Doug Evans <xdje42@gmail.com>
6495 * gdb.guile/scm-parameter.exp: New file.
6497 2014-06-02 Doug Evans <xdje42@gmail.com>
6499 * gdb.guile/scm-cmd.c: New file.
6500 * gdb.guile/scm-cmd.exp: New file.
6502 2014-06-02 Doug Evans <xdje42@gmail.com>
6504 * gdb.guile/scm-pretty-print.exp: Add tests for objfile and progspace
6505 pretty-printer lookup.
6506 * gdb.guile/scm-pretty-print.scm (pp_s-printer): New function.
6507 (make-pp_s-printer): Call it.
6508 (make-pretty-printer-from-dict): New function.
6509 (lookup-pretty-printer-maker-from-dict): New function.
6510 (*pretty-printer*): Simplify.
6511 (make-objfile-pp_s-printer): New function.
6512 (install-objfile-pretty-printers!): New function.
6513 (make-progspace-pp_s-printer): New function.
6514 (install-progspace-pretty-printers!): New function.
6515 * gdb.guile/scm-progspace.c: New file.
6516 * gdb.guile/scm-progspace.exp: New file.
6518 2014-06-02 Pedro Alves <palves@redhat.com>
6520 * gdb.base/dprintf-bp-same-addr.c: New file.
6521 * gdb.base/dprintf-bp-same-addr.exp: New file.
6523 2014-06-02 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
6525 * gdb.arch/powerpc-power.exp: Add power8 instructions to the testcase.
6526 * gdb.arch/powerpc-power.s: Likewise.
6528 2014-06-02 Joel Brobecker <brobecker@adacore.com>
6530 * gdb.base/completion.exp: Remove code aimed at restoring TIMEOUT.
6532 2014-06-01 Yao Qi <yao@codesourcery.com>
6534 * gdb.base/watchpoint.exp (test_watch_location): Check null
6535 pointer can be dereferenced. If not, do the test, otherwise
6538 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6540 * gdb.arch/amd64-invalid-stack-middle.exp: Update expected
6542 * gdb.arch/amd64-invalid-stack-top.exp: Likewise.
6544 2014-05-30 Andrew Burgess <aburgess@broadcom.com>
6546 * gdb.arch/amd64-invalid-stack-middle.S: New file.
6547 * gdb.arch/amd64-invalid-stack-middle.c: New file.
6548 * gdb.arch/amd64-invalid-stack-middle.exp: New file.
6549 * gdb.arch/amd64-invalid-stack-top.c: New file.
6550 * gdb.arch/amd64-invalid-stack-top.exp: New file.
6552 2014-05-30 Pedro Alves <palves@redhat.com>
6554 PR breakpoints/17000
6555 * gdb.base/sss-bp-on-user-bp.c: New file.
6556 * gdb.base/sss-bp-on-user-bp.exp: New file.
6558 2014-05-30 David Blaikie <dblaikie@gmail.com>
6560 * gdb.opt/inline-break.c: Fix clang compatibility by specifying
6561 gnu_inline semantics via attribute.
6562 * gdb.opt/inline-break.exp: Remove -std=c89 now that the test
6563 source explicitly specifies the required semantics.
6565 2014-05-30 Maciej W. Rozycki <macro@codesourcery.com>
6567 * gdb.reverse/sigall-reverse.exp: Fix a typo.
6569 2014-05-29 Pedro Alves <palves@redhat.com>
6570 Tom Tromey <tromey@redhat.com>
6572 * gdb.base/async-shell.exp: Don't enable target-async.
6573 * gdb.base/async.exp
6574 * gdb.base/corefile.exp (corefile_test_attach): Remove 'async'
6576 (top level): Don't test with "target-async".
6577 * gdb.base/dprintf-non-stop.exp: Don't enable target-async.
6578 * gdb.base/gdb-sigterm.exp: Don't test with "target-async".
6579 * gdb.base/inferior-died.exp: Don't enable target-async.
6580 * gdb.base/interrupt-noterm.exp: Likewise.
6581 * gdb.mi/mi-async.exp: Use "mi-async" instead of "target-async".
6582 * gdb.mi/mi-nonstop-exit.exp: Likewise.
6583 * gdb.mi/mi-nonstop.exp: Likewise.
6584 * gdb.mi/mi-ns-stale-regcache.exp: Likewise.
6585 * gdb.mi/mi-nsintrall.exp: Likewise.
6586 * gdb.mi/mi-nsmoribund.exp: Likewise.
6587 * gdb.mi/mi-nsthrexec.exp: Likewise.
6588 * gdb.mi/mi-watch-nonstop.exp: Likewise.
6589 * gdb.multi/watchpoint-multi.exp: Adjust comment.
6590 * gdb.python/py-evsignal.exp: Don't enable target-async.
6591 * gdb.python/py-evthreads.exp: Likewise.
6592 * gdb.python/py-prompt.exp: Likewise.
6593 * gdb.reverse/break-precsave.exp: Don't test with "target-async".
6594 * gdb.server/solib-list.exp: Don't enable target-async.
6595 * gdb.threads/thread-specific-bp.exp: Likewise.
6596 * lib/mi-support.exp: Adjust to use mi-async.
6598 2014-05-29 Pedro Alves <palves@redhat.com>
6601 * gdb.mi/mi-cli.exp: Always expect "end-stepping-range" stop
6602 reason, even in sync mode.
6604 2014-05-29 Pedro Alves <palves@redhat.com>
6605 Hui Zhu <hui@codesourcery.com>
6608 * gdb.mi/mi-condbreak-call-thr-state-mt.c: New file.
6609 * gdb.mi/mi-condbreak-call-thr-state-st.c: New file.
6610 * gdb.mi/mi-condbreak-call-thr-state.c: New file.
6611 * gdb.mi/mi-condbreak-call-thr-state.exp: New file.
6613 2014-05-28 Joel Brobecker <brobecker@adacore.com>
6615 * config/monitor.exp (gdb_target_monitor): Replace use of
6616 "set remotebaud" by "set serial baud".
6618 2014-05-26 Andy Wingo <wingo@igalia.com>
6620 * gdb.guile/scm-breakpoint.exp:
6621 * gdb.guile/scm-gsmob.exp: Update to use plain old object
6622 properties instead of gdb-object-properties.
6624 2014-05-26 Yao Qi <yao@codesourcery.com>
6626 * gdb.server/no-thread-db.exp: Specify source file name
6627 explicitly when setting a breakpoint.
6629 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6631 * gdb.btrace/vdso.c: New.
6632 * gdb.btrace/vdso.exp: New.
6634 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6636 * gdb.base/gcore.exp (capture_command_output): Move ...
6637 * lib/gdb.exp (capture_command_output): ... here.
6639 2014-05-23 Markus Metzger <markus.t.metzger@intel.com>
6641 * gdb.btrace/data.exp: Test memory access during btrace replay.
6643 2014-05-22 Simon Marchi <simon.marchi@ericsson.com>
6645 * lib/mi-support.exp (mi_run_cmd_full): Add comments.
6647 2014-05-21 Pedro Alves <palves@redhat.com>
6650 * gdb.mi/mi-cli.exp (line_callee4_next_step): New global.
6651 (top level): Test that output related to execution commands is
6652 sent to the console with CLI commands, but not with MI commands.
6653 Test that breakpoint events are always mirrored to the console.
6654 Also expect the new source line to be output after a "next" in
6655 async mode too. Make it a pass/fail test.
6656 * gdb.mi/mi-solib.exp: Test that the CLI solib event note is
6658 * lib/mi-support.exp (mi_gdb_expect_cli_output): New procedure.
6660 2014-05-21 Pedro Alves <palves@redhat.com>
6662 * gdb.base/list.exp (build_pattern, test_list): New procedures.
6663 Use them to test variations of "list" after reaching a breakpoint.
6664 * gdb.mi/mi-cli.exp (line_main_callme_2): New global.
6665 Test "list" with listsize 10 after reaching a breakpoint.
6666 * gdb.python/python.exp (decode_line current location line
6667 number): Adjust expected line number.
6669 2014-05-21 Simon Marchi <simon.marchi@ericsson.com>
6671 * lib/mi-support.exp (mi_run_cmd_full): Revert to original
6672 behavior for $args, pass it directly to "run".
6674 2014-05-21 Maciej W. Rozycki <macro@codesourcery.com>
6676 * lib/gdb.exp (default_gdb_init): Bump `match_max' up from
6679 2014-05-21 Pedro Alves <palves@redhat.com>
6681 * boards/gdbserver-base.exp (GDBFLAGS): Set to "set
6682 auto-connect-native-target off".
6683 * gdb.base/auto-connect-native-target.c: New file.
6684 * gdb.base/auto-connect-native-target.exp: New file.
6686 2014-05-21 Pedro Alves <palves@redhat.com>
6688 * gdb.base/default.exp: Test "target native" instead of "target
6691 2014-05-21 Mark Wielaard <mjw@redhat.com>
6693 * gdb.cp/var-tag.exp (do_global_tests): Handle underlying type.
6695 2014-05-21 Jan Kratochvil <jan.kratochvil@redhat.com>
6697 Fix TLS access for -static -pthread.
6698 * gdb.threads/staticthreads.c <HAVE_TLS> (tlsvar): New.
6699 <HAVE_TLS> (thread_function, main): Initialize it.
6700 * gdb.threads/staticthreads.exp: Try gdb_compile_pthreads for $have_tls.
6702 <$have_tls != "">: Check TLSVAR.
6704 2014-05-21 Pedro Alves <palves@redhat.com>
6706 * gdb.base/dcache-line-read-error.c: New.
6707 * gdb.base/dcache-line-read-error.exp: New.
6709 2014-05-20 Pedro Alves <palves@redhat.com>
6711 * gdb.base/compare-sections.c: New file.
6712 * gdb.base/compare-sections.exp: New file.
6714 2014-05-20 Pedro Alves <palves@redhat.com>
6716 * gdb.base/break-idempotent.c: New file.
6717 * gdb.base/break-idempotent.exp: New file.
6719 2014-05-20 Markus Metzger <markus.t.metzger@intel.com>
6721 * gdb.btrace/nohist.exp: New.
6723 2014-05-20 Yao Qi <yao@codesourcery.com>
6725 * lib/gdb.exp (gdb_init): Set timeout if test file is under
6726 gdb.reverse directory and gdb_reverse_timeout exists in board
6728 * README: Document gdb_reverse_timeout.
6730 2014-05-20 Yao Qi <yao@codesourcery.com>
6732 * lib/gdb.exp (default_gdb_init): Rename argument 'args' by
6733 'test_file_name'. Treat args as a string instead of a list.
6734 (gdb_init): Rename argument 'args' by 'test_file_name'.
6736 2014-05-19 Jan Kratochvil <jan.kratochvil@redhat.com>
6738 * gdb.arch/powerpc-power.exp: New file.
6739 * gdb.arch/powerpc-power.s: New file.
6741 2014-05-16 Doug Evans <dje@google.com>
6743 * gdb.base/Makefile.in (EXECUTABLES): Add completion.
6744 * gdb.base/completion.exp: Check that all expected files exist
6745 before doing file completion.
6747 2014-05-16 Doug Evans <dje@google.com>
6749 * gdb.base/catch-syscall.exp (test_catch_syscall_fail_nodatadir):
6751 (do_syscall_tests_without_xml): Update.
6753 2014-05-16 Pedro Alves <palves@redhat.com>
6755 * lib/mi-support.exp (mi_expect_stop): On timeout, say "timeout"
6756 instead of "unknown output after running".
6758 2014-05-16 Yao Qi <yao@codesourcery.com>
6760 * gdb.dwarf2/dw2-filename.exp: Copy file1.txt to host. Remove
6761 file1.txt from host at the end.
6762 * gdb.dwarf2/dw2-anonymous-func.exp: Likewise.
6764 2014-05-15 Doug Evans <dje@google.com>
6766 * gdb.dwarf2/fission-reread.S: Remove directory from .dwo file path.
6767 * gdb.dwarf2/fission-reread.exp: Set debug-file-directory before
6768 loading file. Add test for TU lookup.
6770 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6772 * lib/mi-support.exp (mi_run_cmd_full): Set arguments by
6773 calling "-exec-arguments" or "set args" before running the
6776 2014-05-15 Simon Marchi <simon.marchi@ericsson.com>
6778 * lib/mi-support.exp (mi_expect_stop): Expect message for
6779 inferiors that exit with non-zero exit code.
6781 2014-05-14 Yao Qi <yao@codesourcery.com>
6783 * gdb.mi/mi-file.exp (test_file_list_exec_source_file): Don't
6784 match absolute path on remote host.
6785 (test_file_list_exec_source_files): Remove "/" from the
6788 2014-05-14 Yao Qi <yao@codesourcery.com>
6790 * boards/local-remote-host-notty.exp (${board}_file): New
6793 2014-05-07 Kyle McMartin <kyle@redhat.com>
6795 Pushed by Joel Brobecker <brobecker@adacore.com>.
6796 * gdb.arch/aarch64-atomic-inst.c: New file.
6797 * gdb.arch/aarch64-atomic-inst.exp: New file.
6799 2014-05-07 Yao Qi <yao@codesourcery.com>
6801 * gdb.dwarf2/dwzbuildid.exp: Match output "No symbol "the_int"
6802 in current context" too.
6804 2014-05-05 Keith Seitz <keiths@redhat.com>
6806 * gdb.linespec/ls-dollar.exp: Add test for linespec
6807 file:convenience_variable.
6809 2014-05-05 Yao Qi <yao@codesourcery.com>
6811 * gdb.trace/unavailable.exp (gdb_collect_args_test): Save
6812 traceframes into tfile and ctf trace files. Read data from
6813 trace file and test collected data.
6814 (gdb_collect_locals_test): Likewise.
6815 (gdb_unavailable_registers_test): Likewise.
6816 (gdb_unavailable_floats): Likewise.
6817 (gdb_collect_globals_test): Likewise.
6818 (top-level): Append "ctf" to trace_file_targets if GDB
6821 2014-05-05 Yao Qi <yao@codesourcery.com>
6823 * gdb.trace/unavailable.exp (gdb_collect_args_test): Move some
6825 (gdb_collect_args_test_1): ... it. New proc.
6826 (gdb_collect_locals_test): Move some code to ...
6827 (gdb_collect_locals_test_1): ... it. New proc.
6828 (gdb_unavailable_registers_test): Move some code to ...
6829 (gdb_unavailable_registers_test_1): ... it. New proc.
6830 (gdb_unavailable_floats): Move some code to ...
6831 (gdb_unavailable_floats_1): ... it. New proc.
6833 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6835 * gdb.arch/amd64-stap-optional-prefix.S (main): Add several
6836 probes to test for bitness recognition.
6837 * gdb.arch/amd64-stap-optional-prefix.exp
6838 (test_probe_value_without_reg): New procedure.
6839 Add code to test for different kinds of bitness.
6841 2014-05-02 Sergio Durigan Junior <sergiodj@redhat.com>
6843 PR breakpoints/16889
6844 * gdb.arch/amd64-stap-optional-prefix.S: New file.
6845 * gdb.arch/amd64-stap-optional-prefix.exp: Likewise.
6847 2014-05-01 Pedro Alves <palves@redhat.com>
6849 * lib/gdb.exp (gdb_load): Extend comment. Skip calling
6850 gdb_file_cmd if no file is specified.
6851 * boards/native-extended-gdbserver.exp (gdb_load): Use the
6852 last_loaded_file to set the remote exec-file.
6854 2014-05-01 Pedro Alves <palves@redhat.com>
6856 * boards/local-remote-host.exp: New file.
6858 2014-05-01 Pedro Alves <palves@redhat.com>
6860 * boards/local-remote-host.exp: Rename to ...
6861 * boards/local-remote-host-notty.exp: ... this.
6863 2014-04-28 Joel Brobecker <brobecker@adacore.com>
6865 * gdb.ada/dyn_arrayidx: New testcase.
6867 2014-04-26 Yao Qi <yao@codesourcery.com>
6869 * gdb.dwarf2/dwz.exp: Compile main.c to object. Restart GDB
6870 and compute the length of function main. Save it in
6872 (Dwarf::assemble): Use $main_length instead of hard-coded 10.
6873 (top-level): Use gdb_compile to compile objects into
6874 executable and restart GDB. Remove invocation to
6875 prepare_for_testing.
6877 2014-04-25 Simon Marchi <simon.marchi@ericsson.com>
6878 Pedro Alves <palves@redhat.com>
6881 * gdb.multi/multi-attach.c: New file.
6882 * gdb.multi/multi-attach.exp: New file.
6884 2014-04-25 Pedro Alves <palves@redhat.com>
6886 * gdb.base/cond-eval-mode.exp (warning): Move trailing \r\n to
6888 (top level): Test that "set remote conditional-breakpoints-packet
6889 off" works as intended.
6890 * gdb.base/dprintf.exp: Test that "set remote
6891 breakpoint-commands-packet off" works as intended.
6892 * gdb.trace/change-loc.exp (tracepoint_install_in_trace_disabled):
6894 (top level): Call it.
6895 * gdb.trace/ftrace.exp (test_fast_tracepoints): Test that "set
6896 remote fast-tracepoints-packet off" works as intended.
6897 * gdb.trace/qtro.exp (gdb_is_target_remote): Moved ...
6898 * lib/gdb.exp (gdb_is_target_remote): ... here.
6900 2014-04-24 David Blaikie <dblaikie@gmail.com>
6902 * gdb.base/catch-syscall.c: Make unreferenced statics non-static to
6903 ensure clang would not discard them.
6904 * gdb.base/gdbvars.c: Ditto.
6905 * gdb.base/memattr.c: Ditto.
6906 * gdb.base/whatis.c: Ditto.
6907 * gdb.python/py-prettyprint.c: Ditto.
6908 * gdb.trace/actions.c: Ditto.
6909 * gdb.cp/ptype-cv-cp.cc: Mark unused global const int as used to
6910 ensure clang would not discard it.
6912 2014-04-24 David Blaikie <dblaikie@gmail.com>
6914 * gdb.stabs/gdb11479.c (tag_dummy_enum): introduce a variable to cause
6915 clang to emit the full definition of type required by the test
6916 * gdb.stabs/gdb11479.exp (do_test): correct a typo in a test message
6918 2014-04-24 David Blaikie <dblaikie@gmail.com>
6920 * gdb.cp/pr10728-x.cc (main::x): Return by value instead of pointer to
6921 coax Clang into emitting the definition of the type.
6922 * gdb.cp/pr10728-x.h (y): Ditto.
6923 * gdb.cp/pr10728-y.cc (y): Ditto.
6925 2014-04-24 David Blaikie <dblaikie@gmail.com>
6927 * gdb.base/label.exp: XFAIL label related tests under Clang.
6928 * gdb.cp/cplabel.exp: Ditto.
6929 * gdb.linespec/ls-errs.exp: Refactor tests to execute directly and XFAIL
6930 under Clang those using labels.
6932 2014-04-25 Yao Qi <yao@codesourcery.com>
6934 * gdb.dwarf2/dwz.exp (Dwarf::assemble): Remove unused
6936 * gdb.dwarf2/dwzbuildid.exp (Dwarf::assemble): Remove
6937 partial_label and double_label.
6939 2014-04-24 David Blaikie <dblaikie@gmail.com>
6941 * gdb.python/lib-types.exp: Fix test and xfail under gcc due to gcc/55641.
6943 2014-04-24 David Blaikie <dblaikie@gmail.com>
6945 * gdb.cp/cpexprs.cc: Move braces to the same line as the start
6946 of the function to work across GCC and Clang.
6947 * gdb.cp/cpexprs.exp: Account for GCC/Clang difference in vtable
6948 pointer types (const void ** const V void **).
6950 2014-04-24 Michael Sturm <michael.sturm@mintel.com>
6951 Walfred Tedeschi <walfred.tedeschi@intel.com>
6953 * Makefile.in (EXECUTABLES): Added i386-avx512.
6954 * gdb.arch/i386-avx512.c: New file.
6955 * gdb.arch/i386-avx512.exp: Likewise.
6957 2014-04-23 Keith Seitz <keiths@redhat.com>
6959 * lib/mi-support.exp (mi_list_breakpoints): Delete.
6960 (mi_make_breakpoint_table): New procedure.
6961 (mi_create_breakpoint): Use mi_make_breakpoint
6962 and return the result.
6963 (mi_make_breakpoint): New procedure.
6964 (mi_build_kv_pairs): New procedure.
6966 * gdb.mi/mi-break.exp: Remove unused globals,
6967 update mi_create_breakpoint usage, and use mi_make_breakpoint_table.
6968 All callers updated.
6969 * gdb.mi/mi-dprintf.exp: Use variable to track command
6971 Update all callers of mi_create_breakpoint and use
6972 mi_make_breakpoint_table.
6973 Remove any unused global variables.
6974 * gdb.mi/mi-nonstop.exp: Likewise.
6975 * gdb.mi/mi-nsintrall.exp: Likewise.
6976 * gdb.mi/mi-nsmoribund.exp: Likewise.
6977 * gdb.mi/mi-nsthrexec.exp: Likewise.
6978 * gdb.mi/mi-reverse.exp: Likewise.
6979 * gdb.mi/mi-simplerun.exp: Likewise.
6980 * gdb.mi/mi-stepn.exp: Likewise.
6981 * gdb.mi/mi-syn-frame.exp: Likewise.
6982 * gdb.mi/mi-until.exp: Likewise.
6983 * gdb.mi/mi-var-cp.exp: Likewise.
6984 * gdb.mi/mi-var-display.exp: Likewise.
6985 * gdb.mi/mi2-amd64-entry-value.exp: Likewise.
6986 * gdb.mi/mi2-var-child.exp: Likewise.
6987 * gdb.mi/mi-vla-c99.exp: Likewise.
6988 * lib/mi-support.exp: Likewise.
6990 From Ian Lance Taylor <iant@cygnus.com>:
6991 * lib/gdb.exp (parse_args): New procedure.
6993 2014-04-23 Pedro Alves <palves@redhat.com>
6995 * gdb.base/break-unload-file.c: New file.
6996 * gdb.base/break-unload-file.exp: New file.
6997 * gdb.base/sym-file-lib.c (baz): New function.
6998 * gdb.base/sym-file-loader.c (struct segment) <mapped_size>: New
7000 (load): Store the segment's mapped size.
7001 (unload): New function.
7002 (unload_shlib): New function.
7003 * gdb.base/sym-file-loader.h (unload_shlib): New declaration.
7004 * gdb.base/sym-file-main.c (main): Unload, and reload the library,
7005 set a breakpoint at baz, and call it.
7006 * gdb.base/sym-file.exp: New tests for stale breakpoint
7009 2014-04-23 Pedro Alves <palves@redhat.com>
7011 * gdb.base/hbreak-in-shr-unsupported-shr.c: New file.
7012 * gdb.base/hbreak-in-shr-unsupported.c: New file.
7013 * gdb.base/hbreak-in-shr-unsupported.exp: New file.
7014 * gdb.base/hbreak-unmapped.c: New file.
7015 * gdb.base/hbreak-unmapped.exp: New file.
7016 * gdb.trace/qtro.exp (gdb_is_target_remote): Move ...
7017 * lib/gdb.exp (gdb_is_target_remote): ... here.
7019 2014-04-22 Pedro Alves <palves@redhat.com>
7021 * gdb.base/consecutive-step-over.c: New file.
7022 * gdb.base/consecutive-step-over.exp: New file.
7024 2014-04-22 Pedro Alves <palves@redhat.com>
7026 * lib/gdb.exp (gdb_continue_to_breakpoint): Use gdb_test_multiple
7027 instead of send_gdb/gdb_expect.
7029 2014-04-22 Yao Qi <yao@codesourcery.com>
7031 * lib/trace-support.exp (generate_tracefile): New procedure.
7032 * gdb.trace/tfile.exp: Skip the test if generate_tracefile
7034 * gdb.trace/mi-traceframe-changed.exp: Invoke test_tfind_tfile
7035 if generate_tracefile returns 1.
7037 2014-04-18 Tom Tromey <palves@redhat.com>
7038 Pedro alves <tromey@redhat.com>
7041 * gdb.opt/inline-bt.exp: Test backtracing from an inline function
7042 with a backtrace limit.
7043 * gdb.python/py-frame-inline.exp: Test running to an inline
7044 function with a backtrace limit, and printing the newest frame.
7045 * gdb.python/py-frame-inline.c (main): Call f.
7047 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7049 * gdb.java/jnpe.exp: Drop srcdir from untested path.
7051 2014-04-17 Marcus Shawcroft <marcus.shawcroft@arm.com>
7053 * lib/gdb.exp (gdb_compile_pthreads, gdb_compile_objc):
7054 Drop prefix from unsupported source file path.
7056 2014-04-17 Yao Qi <yao@codesourcery.com>
7058 * lib/gdb.exp (with_target_charset): New proc.
7059 * gdb.base/printcmds.exp (test_print_all_chars): Wrap tests with
7060 with_target_charset.
7061 (test_print_strings): Likewise.
7062 (test_repeat_bytes): Likewise.
7063 * gdb.base/setvar.exp: Set target-charset to ASCII temporarily
7066 2014-04-16 Keith Seitz <keiths@redhat.com>
7069 * gdb.dwarf2/corrupt.c: New file.
7070 * gdb.dwarf2/corrupt.exp: New file.
7072 2014-04-16 Keith Seitz <keiths@redhat.com>
7075 * gdb.cp/namelessclass.cc: New file.
7076 * gdb.cp/namelessclass.exp: New file.
7077 * gdb.cp/namelessclass.S: New file.
7079 2014-04-16 Doug Evans <dje@google.com>
7081 * lib/gdbserver-support.exp (gdbserver_default_get_remote_address):
7083 (gdbserver_default_get_comm_port): New function.
7084 (gdbserver_start): Check if board file provided
7085 "gdbserver,get_comm_port" and use it if so.
7086 * boards/native-stdio-gdbserver.exp (sockethost): Set to "".
7087 (gdb,socketport): Set to "stdio".
7088 (gdbserver,get_comm_port): Set to ${board}_get_comm_port.
7089 (stdio_gdbserver_template): Delete.
7090 (${board}_get_remote_address): Update.
7091 (${board}_build_remote_cmd): Delete.
7092 (${board}_get_comm_port): New function.
7093 (${board}_spawn): Update.
7094 * boards/remote-stdio-gdbserver.exp (${board}_build_remote_cmd):
7096 (${board}_get_remote_address): Update.
7097 (${board}_get_comm_port): New function.
7099 2014-04-16 Andrew Burgess <aburgess@broadcom.com>
7101 * gdb.base/memattr.exp: Improve regexps to handle memory regions
7102 appearing in any order.
7104 2014-04-15 Doug Evans <dje@google.com>
7106 * gdb.gdb/selftest.exp (do_steps_and_nexts): Don't reference
7107 uninitialized value of "description".
7109 2014-04-15 Keith Seitz <keiths@redhat.com>
7111 * gdb.mi/mi-simplerun.exp (test_breakpoints_creation_and_listing):
7112 Remove unused globals.
7113 (test_running_the_program): Likewise.
7114 (test_controlled_execution): Likewise.
7115 (test_controlling_breakpoints): Likewise.
7116 (test_program_termination): Likewise.
7118 2014-04-15 Keith Seitz <keiths@redhat.com>
7120 * gdb.mi/mi-break.exp (test_tbreak_creation_and_listing): Remove
7122 (test_rbreak_creation_and_listing): Likewise.
7123 (test_ignore_count): Likewise.
7124 (test_error): Likewise.
7126 2014-04-15 Pedro Alves <palves@redhat.com>
7128 * gdb.base/sym-file-loader.h: Move inclusion of <inttypes.h>,
7129 <ansidecl.h>, <elf/common.h> and <elf/external.h> to
7131 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7132 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7133 to sym-file-loader.c.
7134 (struct library): Forward declare.
7135 (load_shlib, lookup_function): Change prototypes.
7136 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7137 (translate_offset): Remove declarations.
7138 (get_text_addr): New declaration.
7139 * gdb.base/sym-file-loader.c: Move inclusion of <inttypes.h>,
7140 <ansidecl.h>, <elf/common.h> and <elf/external.h> here from
7142 (Elf_External_Phdr, Elf_External_Ehdr, Elf_External_Shdr)
7143 (Elf_External_Sym, Elf_Addr, GET, GETADDR, struct segment): Move
7144 here from sym-file-loader.h.
7145 (struct library): New structure.
7146 (load_shlib, lookup_function): Change prototypes and adjust to
7147 work with a struct library.
7148 (find_shstrtab, find_strtab, find_shdr, find_symtab)
7149 (translate_offset): Make static.
7150 (get_text_addr): New function.
7151 * gdb.base/sym-file-main.c (main): Adjust to new loader interface.
7153 2014-04-15 Pedro Alves <palves@redhat.com>
7155 * gdb.base/sym-file-loader.c: Fix typo. SELF_LINK, not SELK_LINK.
7157 2014-04-15 Pedro Alves <palves@redhat.com>
7159 * gdb.base/sym-file-loader.c: Include <limits.h>.
7160 (SELF_LINK): New define.
7161 (get_origin): New function.
7162 (load_shlib): Use it.
7163 * gdb.base/sym-file.exp: Don't early return if the target is
7164 remote. Use runto_main, and issue fail is that fails. Use
7166 (shlib_name): Delete.
7167 (lib_so, lib_syms, lib_dlopen): New globals. Use them throughout.
7169 2014-04-15 Pedro Alves <palves@redhat.com>
7171 * gdb.base/sym-file.exp: Remove regex characters from test
7172 message. Don't refer to breakpoint numbers in test messages.
7174 2014-04-14 Keith Seitz <keiths@redhat.com>
7177 * gdb.cp/var-tag.cc: New file.
7178 * gdb.cp/var-tag.exp: New file.
7179 * gdb.dwarf2/dw2-ada-ffffffff.exp: Set the language to C++.
7180 * gdb.dwarf2/dw2-anon-mptr.exp: Likewise.
7181 * gdb.dwarf2/dw2-double-set-die-type.exp: Likewise.
7182 * gdb.dwarf2/dw2-inheritance.exp: Likewise.
7184 2014-04-14 Tom Tromey <tromey@redhat.com>
7186 * gdb.cp/classes.exp (test_enums): Handle underlying type.
7187 * gdb.dwarf2/enum-type.exp: Add test for enum with underlying
7189 * gdb.cp/enum-class.exp: New file.
7190 * gdb.cp/enum-class.cc: New file.
7192 2014-04-14 Tom Tromey <tromey@redhat.com>
7194 * gdb.dwarf2/enum-type.exp: New file.
7196 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7198 * gdb.mi/mi-vla-c99.exp: New file.
7199 * gdb.mi/vla.c: New file.
7201 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7203 * gdb.base/vla-datatypes.c: New file.
7204 * gdb.base/vla-datatypes.exp: New file.
7206 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7208 * gdb.base/vla-ptr.c: New file.
7209 * gdb.base/vla-ptr.exp: New file.
7211 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7213 * gdb.dwarf2/count.exp: New file.
7215 2014-04-14 Sanimir Agovic <sanimir.agovic@intel.com>
7217 * gdb.base/vla-sideeffect.c: New file.
7218 * gdb.base/vla-sideeffect.exp: New file.
7220 2014-04-14 David Blaikie <dblaikie@gmail.com>
7222 * gdb.mi/non-stop.c: Add return value for non-void function return
7224 * gdb.threads/staticthreads.c: Ditto.
7226 2014-04-12 Siva Chandra Reddy <sivachandra@google.com>
7227 Doug Evans <xdje42@gmail.com>
7229 * gdb.guile/scm-value.c: Improve test case.
7230 * gdb.guile/scm-value.exp: Add new test.
7232 2014-04-11 David Blaikie <dblaikie@gmail.com>
7234 * gdb.opt/inline-break.exp: Explicitly specify -std=gnu89 to
7235 override Clang's default.
7237 2014-04-11 Joel Brobecker <brobecker@adacore.com>
7239 Revert the following changes (regressions):
7241 * gdb.base/vla-sideeffect.c: New file.
7242 * gdb.base/vla-sideeffect.exp: New file.
7244 * gdb.dwarf2/count.exp: New file.
7246 * gdb.base/vla-multi.c: New file.
7247 * gdb.base/vla-multi.exp: New file.
7249 * gdb.base/vla-ptr.c: New file.
7250 * gdb.base/vla-ptr.exp: New file.
7252 * gdb.base/vla-datatypes.c: New file.
7253 * gdb.base/vla-datatypes.exp: New file.
7255 * gdb.mi/mi-vla-c99.exp: New file.
7256 * gdb.mi/vla.c: New file.
7258 2014-04-11 Keith Seitz <keiths@redhat.com>
7261 * gdb.cp/cpsizeof.exp: New file.
7262 * gdb.cp/cpsizeof.cc: New file.
7264 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7266 * gdb.mi/mi-vla-c99.exp: New file.
7267 * gdb.mi/vla.c: New file.
7269 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7271 * gdb.base/vla-datatypes.c: New file.
7272 * gdb.base/vla-datatypes.exp: New file.
7274 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7276 * gdb.base/vla-ptr.c: New file.
7277 * gdb.base/vla-ptr.exp: New file.
7279 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7281 * gdb.base/vla-multi.c: New file.
7282 * gdb.base/vla-multi.exp: New file.
7284 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7286 * gdb.dwarf2/count.exp: New file.
7288 2014-04-11 Sanimir Agovic <sanimir.agovic@intel.com>
7290 * gdb.base/vla-sideeffect.c: New file.
7291 * gdb.base/vla-sideeffect.exp: New file.
7293 2014-04-11 Yao Qi <yao@codesourcery.com>
7295 * gdb.base/completion.exp: Check file exists before running tests
7298 2014-04-10 Pedro Alves <palves@redhat.com>
7300 * gdb.base/cond-eval-mode.c: New file.
7301 * gdb.base/cond-eval-mode.exp: Use standard_testfile. Adjust
7302 prepare_for_testing to build the new file. Check result of
7304 (test_break, test_watch): New procedures.
7305 (top level): Use them.
7307 2014-04-08 Pierre Muller <muller@sourceware.org>
7309 * gdb.base/printcmds.exp (test_artificial_arrays): Disable
7310 Ctrl-V use for mingw hosts.
7312 2014-04-07 Siva Chandra Reddy <sivachandra@google.com>
7314 * gdb.python/py-value.c: Improve test case.
7315 * gdb.python/py-value.exp: Add new test.
7317 2014-04-07 David Blaikie <dblaikie@gmail.com>
7319 * lib/compiler.c: Identify the clang compiler.
7320 * lib/compiler.cc: Ditto.
7322 2014-04-03 Yao Qi <yao@codesourcery.com>
7324 * gdb.base/setshow.exp: Invoke string_to_regexp to HOME and PWD.
7326 2014-04-01 Anton Blanchard <anton@samba.org>
7328 * gdb.arch/ppc64-atomic-inst.exp: Use untested. Make test
7331 2014-04-01 Anton Blanchard <anton@samba.org>
7333 * gdb.arch/ppc64-atomic-inst.exp: Use standard_testfile,
7334 prepare_for_testing.
7336 2014-04-01 Anton Blanchard <anton@samba.org>
7338 * gdb.arch/ppc64-atomic-inst.c: Remove.
7339 * gdb.arch/ppc64-atomic-inst.S: New file.
7340 * gdb.arch/ppc64-atomic-inst.exp: Adapt for asm based testcase.
7342 2014-03-31 Doug Evans <dje@google.com>
7344 * gdb.base/print-symbol-loading-lib.c: New file.
7345 * gdb.base/print-symbol-loading-main.c: New file.
7346 * gdb.base/print-symbol-loading.exp: New file.
7348 2014-03-31 Yao Qi <yao@codesourcery.com>
7350 * gdb.base/source-dir.exp: Allow ';' as a directory separator.
7352 2014-03-28 Joel Brobecker <brobecker@adacore.com>
7354 * gdb.ada/mi_dyn_arr: New testcase.
7356 2014-03-27 Doug Evans <dje@google.com>
7358 * gdb.dwarf2/dw2-abs-hi-pc.exp: Build tests with "nodebug".
7360 2014-03-27 Yao Qi <yao@codesourcery.com>
7362 * lib/gdb.exp (can_single_step_to_signal_handler): Return zero
7363 if target is nios2-*-*.
7365 2014-03-26 Yao Qi <yao@codesourcery.com>
7367 * lib/gdb.exp (readline_is_used): New proc.
7368 * gdb.base/completion.exp: Move tests on command complete up.
7369 Skip the rest of tests if readline is not used.
7370 * gdb.ada/complete.exp: Skp the test if readline is not
7372 * gdb.base/filesym.exp: Likewise.
7373 * gdb.base/macscp.exp: Likewise.
7374 * gdb.base/readline-ask.exp: Likewise.
7375 * gdb.base/readline.exp: Likewise.
7376 * gdb.python/py-cmd.exp: Likewise.
7377 * gdb.trace/tfile.exp: Likewise.
7379 2014-03-26 Yao Qi <yao@codesourcery.com>
7381 * gdb.base/macscp.exp: Fix code format issues.
7383 2014-03-25 Ulrich Weigand <uweigand@de.ibm.com>
7385 * gdb.asm/asm-source.exp: Handle powerpc64le-* targets.
7386 * gdb.asm/powerpc64le.inc: New file.
7388 2014-03-25 Pedro Alves <palves@redhat.com>
7389 Doug Evans <dje@google.com>
7391 * gdb.base/source-execution.c: New file.
7392 * gdb.base/source-execution.exp: New file.
7393 * gdb.base/source-execution.gdb: New file.
7395 2014-03-24 Doug Evans <dje@google.com>
7397 * gdb.linespec/macro-relative.exp: Mark the test as unsupported if
7400 2014-03-24 Hui Zhu <hui@codesourcery.com>
7401 Pedro Alves <palves@redhat.com>
7403 PR breakpoints/16101
7404 * gdb.base/dprintf.exp: Use unsupported rather than changing the
7405 test pass/fail messages. Detect missing support for dprintf when
7406 breakpoints are actually inserted.
7407 * gdb.base/mi-dprintf.exp: Detect missing support for dprintf when
7408 breakpoints are actually inserted.
7409 * lib/mi-support.exp (mi_run_cmd_full): Return -1 if continue
7412 2014-03-24 Jan Kratochvil <jan.kratochvil@redhat.com>
7414 * gdb.base/gdb-sigterm.exp (do_test): Remove "set debug lin-lwp 1".
7416 2014-03-22 Doug Evans <xdje42@gmail.com>
7418 * gdb.python/python.exp (python not supported): Verify multi-line
7419 python command issues an error.
7420 * gdb.guile/guile.exp (guile not supported): Verify multi-line
7421 guile command issues an error.
7423 2014-03-21 Maciej W. Rozycki <macro@codesourcery.com>
7425 * gdb.threads/thread-specific.exp: Handle the lack of usable
7426 $this_breakpoint and $this_thread.
7428 2014-03-21 Hui Zhu <hui@codesourcery.com>
7430 * gdb.base/attach.exp (do_command_attach_tests): New.
7432 2014-03-20 Tom Tromey <tromey@redhat.com>
7433 Pedro Alves <palves@redhat.com>
7436 * gdb.base/condbreak-call-false.c: New file.
7437 * gdb.base/condbreak-call-false.exp: New file.
7439 2014-03-20 Pedro Alves <palves@redhat.com>
7441 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (pid):
7443 (block_signals, unblock_signals): Delete.
7444 (child_function_2, main): Remove references to deleted variable
7447 2014-03-20 Pedro Alves <palves@redhat.com>
7449 * gdb.threads/signal-while-stepping-over-bp-other-thread.c (main):
7450 Use pthread_kill to signal thread 2.
7451 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7452 Adjust to make the test send itself a signal rather than using the
7453 host's "kill" command.
7455 2014-03-20 Pedro Alves <palves@redhat.com>
7457 * gdb.threads/multiple-step-overs.c: New file.
7458 * gdb.threads/multiple-step-overs.exp: New file.
7459 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7460 Adjust expected infrun debug output.
7462 2014-03-20 Pedro Alves <palves@redhat.com>
7464 * gdb.threads/step-over-trips-on-watchpoint.c: New file.
7465 * gdb.threads/step-over-trips-on-watchpoint.exp: New file.
7467 2014-03-20 Pedro Alves <palves@redhat.com>
7470 * gdb.base/watchpoint.exp: Mention bugzilla bug number instead of
7471 old gnats gdb/38. Remove kfail. Adjust to use gdb_test instead
7472 of gdb_test_multiple.
7473 * gdb.cp/annota2.exp: Remove kfail for gdb/38.
7474 * gdb.cp/annota3.exp: Remove kfail for gdb/38.
7476 2014-03-20 Pedro Alves <palves@redhat.com>
7478 * gdb.threads/step-over-lands-on-breakpoint.c: New file.
7479 * gdb.threads/step-over-lands-on-breakpoint.exp: New file.
7481 2014-03-19 Pedro Alves <palves@redhat.com>
7483 * gdb.base/async.exp: Remove early return.
7485 2014-03-19 Pedro Alves <palves@redhat.com>
7487 * gdb.base/async.exp (step& tests): Pass explicit test messages.
7489 2014-03-19 Pedro Alves <palves@redhat.com>
7491 * gdb.base/async.exp (test_background): Expect \r\n after
7492 "completed." in the fail pattern.
7494 2014-03-19 Pedro Alves <palves@redhat.com>
7496 * gdb.base/async.exp (test_background): New procedure.
7497 Use it for all background execution command tests.
7499 2014-03-19 Pedro Alves <palves@redhat.com>
7501 * gdb.base/async.exp: Use prepare_for_testing.
7503 2014-03-19 Pedro Alves <palves@redhat.com>
7505 * gdb.base/async.c (foo): Make 'x' volatile. Write to it twice in
7508 2014-03-19 Pedro Alves <palves@redhat.com>
7510 * gdb.base/async.c (main): Add "jump here" and "until here" line
7512 * gdb.base/async.exp (jump_here): New global.
7513 (jump& test): Use it.
7514 (until_here): New global.
7515 (until& test): Use it.
7517 2014-03-19 Pedro Alves <palves@redhat.com>
7519 * gdb.base/async.exp: Don't frob gdb_protocol.
7521 2014-03-18 Doug Evans <xdje42@gmail.com>
7523 * gdb.base/async.exp: Whitespace fixes. Turn on target-async.
7524 Fix spelling of exec-done-display.
7526 2014-03-18 Jan Kratochvil <jan.kratochvil@redhat.com>
7529 * gdb.base/gdb-sigterm.c: New file.
7530 * gdb.base/gdb-sigterm.exp: New file.
7532 2014-03-18 Pedro Alves <palves@redhat.com>
7535 * gdb.mi/mi-solib.exp: Remove gdb/13860 kfail.
7536 * lib/mi-support.exp (mi_expect_stop): Add special handling for
7539 2014-03-17 Joel Brobecker <brobecker@adacore.com>
7541 * gdb.ada/pckd_arr_ren: New testcase.
7543 2014-03-13 Doug Evans <xdje42@gmail.com>
7546 * gdb.guile/scm-value.ep (test_value_after_death): Do a garbage
7547 collect after discarding symbols.
7549 2014-03-13 Ludovic CourtĂšs <ludo@gnu.org>
7550 Doug Evans <xdje42@gmail.com>
7552 * gdb.guile/scm-value.exp (test_value_in_inferior): Verify value added
7553 to history survives a gc.
7555 2014-03-13 Pedro Alves <palves@redhat.com>
7557 * gdb.base/default.exp: Don't test "target procfs".
7559 2014-03-13 Pedro Alves <palves@redhat.com>
7561 * gdb.base/default.exp: Update "target child" and "target procfs"
7562 tests to not expect "Unix".
7564 2014-03-12 Tom Tromey <tromey@redhat.com>
7566 * gdb.base/corefile.exp (corefile_test_run, corefile_test_attach):
7567 New procs. Add target-async tests.
7568 * gdb.reverse/break-precsave.exp (precsave_tests): New proc.
7569 Add target-async tests.
7571 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7573 * gdb.dwarf2/dw2-ifort-parameter.c (func): Define labels
7574 'func_start' and 'func_end' for the beginning and end of the
7575 function code, respectively.
7576 * gdb.dwarf2/dw2-ifort-parameter.exp: Use 'func_start' and
7577 'func_end' instead of 'func' and 'main'.
7579 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7581 * gdb.dwarf2/dw2-ifort-parameter-debug.S: Remove.
7582 * gdb.dwarf2/dw2-ifort-parameter.exp: Use Dwarf::assemble to
7583 generate the debug info assembler source.
7585 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7587 * gdb.dwarf2/arr-stride.exp: Exploit 'prepare_for_testing'.
7588 * gdb.dwarf2/arr-subrange.exp: Likewise.
7589 * gdb.dwarf2/dwz.exp: Likewise.
7590 * gdb.dwarf2/method-ptr.exp: Likewise.
7591 * gdb.dwarf2/missing-sig-type.exp: Likewise.
7592 * gdb.dwarf2/subrange.exp: Likewise.
7593 * gdb.dwarf2/implptrconst.exp: Exploit 'build_executable'.
7594 * gdb.dwarf2/implptrpiece.exp: Likewise.
7595 * gdb.dwarf2/nostaticblock.exp: Likewise.
7597 2014-03-12 Andreas Arnez <arnez@linux.vnet.ibm.com>
7599 * lib/gdb.exp (build_executable_from_specs): Don't prepend source
7600 directory to absolute path name arguments.
7602 2014-03-10 Joel Brobecker <brobecker@adacore.com>
7604 * gdb.ada/tagged_access: New testcase.
7606 2014-03-07 Markus Metzger <markus.t.metzger@intel.com>
7608 * gdb.btrace/data.exp: Update expected output.
7610 2014-03-06 Yao Qi <yao@codesourcery.com>
7612 * gdb.trace/pr16508.exp: New file.
7614 2014-03-05 Pedro Alves <palves@redhat.com>
7617 * gdb.base/breakpoint-shadow.exp (compare_disassembly): New
7619 (top level): Adjust to use it. Add tests that exercise breakpoint
7620 interaction with the code-cache.
7622 2014-02-26 Ludovic CourtĂšs <ludo@gnu.org>
7624 * gdb.guile/scm-value.exp (test_value_in_inferior): Add
7625 test for 'history-append!'.
7627 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7629 * gdb.dwarf2/dw2-abs-hi-pc-hello-dbg.S: New file.
7630 * gdb.dwarf2/dw2-abs-hi-pc-hello.c: New file.
7631 * gdb.dwarf2/dw2-abs-hi-pc-world-dbg.S: New file.
7632 * gdb.dwarf2/dw2-abs-hi-pc-world.c: New file.
7633 * gdb.dwarf2/dw2-abs-hi-pc.c: New file.
7634 * gdb.dwarf2/dw2-abs-hi-pc.exp: New file.
7636 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7638 * testsuite/gdb.python/py-pp-re-notag.c: New file.
7639 * testsuite/gdb.python/py-pp-re-notag.ex: New file.
7640 * testsuite/gdb.python/py-pp-re-notag.p: New file.
7642 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7644 * gdb.dwarf2/arr-subrange.c, gdb.dwarf2/arr-subrange.exp: New files.
7646 2014-02-26 Joel Brobecker <brobecker@adacore.com>
7648 * gdb.dwarf2/arr-stride.c: New file.
7649 * gdb.dwarf2/arr-stride.exp: New file.
7651 2014-02-26 Pedro Alves <palves@redhat.com>
7653 * gdb.ada/tasks.exp: Set a task-specific breakpoint at break_me
7654 that won't ever trigger. Make sure that GDB reports the correct
7655 breakpoint that caused the stop.
7657 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7660 * gdb.base/auto-load-script: New file.
7661 * gdb.base/auto-load.c: New file.
7662 * gdb.base/auto-load.exp: New file.
7665 * gdb.base/auto-load.exp: Fix out-of-srctree run.
7667 2014-02-25 Jan Kratochvil <jan.kratochvil@redhat.com>
7669 Fix dw2-icycle.exp -fsanitize=address GDB crash.
7670 * gdb.dwarf2/dw2-icycle.S: Remove all DW_AT_sibling.
7672 2014-02-24 Doug Evans <dje@google.com>
7674 * lib/gdb.exp (run_on_host): Log error output if program fails.
7676 2014-02-21 Pedro Alves <palves@redhat.com>
7678 * gdb.threads/step-after-sr-lock.c: Rename to ...
7679 * gdb.threads/signal-while-stepping-over-bp-other-thread.c: ... this.
7680 * gdb.threads/step-after-sr-lock.exp: Rename to ...
7681 * gdb.threads/signal-while-stepping-over-bp-other-thread.exp:
7684 2014-02-20 Sergio Durigan Junior <sergiodj@redhat.com>
7687 * gdb.arch/amd64-stap-special-operands.exp: New file.
7688 * gdb.arch/amd64-stap-three-arg-disp.S: Likewise.
7689 * gdb.arch/amd64-stap-three-arg-disp.c: Likewise.
7690 * gdb.arch/amd64-stap-triplet.S: Likewise.
7691 * gdb.arch/amd64-stap-triplet.c: Likewise.
7693 2014-02-20 Joel Brobecker <brobecker@adacore.com>
7695 * gdb.dwarf2/dw2-icycle.S: Remove second and third parameters
7696 in .section pseudo-op.
7698 2014-02-20 lin zuojian <manjian2006@gmail.com>
7699 Joel Brobecker <brobecker@adacore.com>
7700 Doug Evans <xdje42@gmail.com>
7703 * gdb.dwarf2/dw2-icycle.S: New file.
7704 * gdb.dwarf2/dw2-icycle.c: New file.
7705 * gdb.dwarf2/dw2-icycle.exp: New file.
7707 2014-02-19 Siva Chandra Reddy <sivachandra@google.com>
7709 * gdb.python/py-value-cc.cc: Improve test case to enable testing
7710 operations on gdb.Value objects.
7711 * gdb.python/py-value-cc.exp: Add new test to test operations on
7714 2014-02-18 Doug Evans <dje@google.com>
7716 * Makefile.in (TESTS): New variable.
7717 (expanded_tests, expanded_tests_or_none): New variables
7718 (check-single): Pass $(expanded_tests_or_none) to runtest.
7719 (check-parallel): Only run tests in $(TESTS) if non-empty.
7720 (check/no-matching-tests-found): New rule.
7721 * README: Document TESTS makefile variable.
7723 2014-02-18 Doug Evans <dje@google.com>
7725 * Makefile.in (check-parallel): rm -rf outputs temp.
7727 2014-02-16 Jan Kratochvil <jan.kratochvil@redhat.com>
7729 Fix "ERROR: no fileid for" in the testsuite.
7730 * lib/gdb.exp (gdb_finish): Check gdb_spawn_id.
7732 2014-02-12 Doug Evans <dje@google.com>
7734 * gdb.dwarf2/Makefile.in (EXECUTABLES): Add dwp-symlink.
7735 (MISCELLANEOUS): New variable.
7736 (clean): rm -rf $(MISCELLANEOUS).
7737 * gdb.dwarf2/dwp-symlink.exp: Test the case where the executable and
7738 dwp live in the same directory as symlinks, with each symlink pointed
7739 to a differently named file in a different directory.
7741 2014-02-11 Doug Evans <dje@google.com>
7743 * gdb.dwarf2/dwp-symlink.exp: Rewrite to use remote_* commands instead
7744 of Tcl file commands.
7746 2014-02-10 Mark Kettenis <kettenis@gnu.org>
7748 * gdb.threads/step-after-sr-lock.exp: Avoid executing
7751 2014-02-10 Joel Brobecker <brobecker@adacore.com>
7753 * gdb.ada/tick_length_array_enum_idx: New testcase.
7755 2014-02-10 Doug Evans <xdje42@gmail.com>
7757 * configure.ac (AC_OUTPUT): Add gdb.guile.
7758 * configure: Regenerate.
7759 * lib/gdb-guile.exp: New file.
7760 * lib/gdb.exp (get_target_charset): New function.
7761 * gdb.base/help.exp: Update expected output from "apropos apropos".
7762 * gdb.guile/Makefile.in: New file.
7763 * gdb.guile/guile.exp: New file.
7764 * gdb.guile/scm-arch.c: New file.
7765 * gdb.guile/scm-arch.exp: New file.
7766 * gdb.guile/scm-block.c: New file.
7767 * gdb.guile/scm-block.exp: New file.
7768 * gdb.guile/scm-breakpoint.c: New file.
7769 * gdb.guile/scm-breakpoint.exp: New file.
7770 * gdb.guile/scm-disasm.c: New file.
7771 * gdb.guile/scm-disasm.exp: New file.
7772 * gdb.guile/scm-equal.c: New file.
7773 * gdb.guile/scm-equal.exp: New file.
7774 * gdb.guile/scm-error.exp: New file.
7775 * gdb.guile/scm-error.scm: New file.
7776 * gdb.guile/scm-frame-args.c: New file.
7777 * gdb.guile/scm-frame-args.exp: New file.
7778 * gdb.guile/scm-frame-args.scm: New file.
7779 * gdb.guile/scm-frame-inline.c: New file.
7780 * gdb.guile/scm-frame-inline.exp: New file.
7781 * gdb.guile/scm-frame.c: New file.
7782 * gdb.guile/scm-frame.exp: New file.
7783 * gdb.guile/scm-generics.exp: New file.
7784 * gdb.guile/scm-gsmob.exp: New file.
7785 * gdb.guile/scm-iterator.c: New file.
7786 * gdb.guile/scm-iterator.exp: New file.
7787 * gdb.guile/scm-math.c: New file.
7788 * gdb.guile/scm-math.exp: New file.
7789 * gdb.guile/scm-objfile-script-gdb.in: New file.
7790 * gdb.guile/scm-objfile-script.c: New file.
7791 * gdb.guile/scm-objfile-script.exp: New file.
7792 * gdb.guile/scm-objfile.c: New file.
7793 * gdb.guile/scm-objfile.exp: New file.
7794 * gdb.guile/scm-ports.exp: New file.
7795 * gdb.guile/scm-pretty-print.c: New file.
7796 * gdb.guile/scm-pretty-print.exp: New file.
7797 * gdb.guile/scm-pretty-print.scm: New file.
7798 * gdb.guile/scm-section-script.c: New file.
7799 * gdb.guile/scm-section-script.exp: New file.
7800 * gdb.guile/scm-section-script.scm: New file.
7801 * gdb.guile/scm-symbol.c: New file.
7802 * gdb.guile/scm-symbol.exp: New file.
7803 * gdb.guile/scm-symtab-2.c: New file.
7804 * gdb.guile/scm-symtab.c: New file.
7805 * gdb.guile/scm-symtab.exp: New file.
7806 * gdb.guile/scm-type.c: New file.
7807 * gdb.guile/scm-type.exp: New file.
7808 * gdb.guile/scm-value-cc.cc: New file.
7809 * gdb.guile/scm-value-cc.exp: New file.
7810 * gdb.guile/scm-value.c: New file.
7811 * gdb.guile/scm-value.exp: New file.
7812 * gdb.guile/source2.scm: New file.
7813 * gdb.guile/types-module.cc: New file.
7814 * gdb.guile/types-module.exp: New file.
7816 2014-02-10 Yao Qi <yao@codesourcery.com>
7819 * configure.ac: Append gdb.gdb/Makefile in AC_OUTPUT.
7820 * configure: Regenerated.
7821 * Makefile.in: New file.
7823 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
7825 * gdb.python/py-framefilter.exp: Fix typo.
7827 2014-02-08 Yao Qi <yao@codesourcery.com>
7829 * gdb.mi/mi-breakpoint-changed.exp (test_insert_delete_modify): Test
7830 that no =breakpoint-modified is emitted when breakpoints are
7831 modified through MI commands.
7833 2014-02-07 Pedro Alves <pedro@codesourcery.com>
7834 Pedro Alves <palves@redhat.com>
7836 * gdb.threads/step-after-sr-lock.c: New file.
7837 * gdb.threads/step-after-sr-lock.exp: New file.
7839 2014-02-07 Pedro Alves <palves@redhat.com>
7841 * gdb.threads/stepi-random-signal.exp: Set SIGCHLD to print.
7843 2014-02-06 Jan Kratochvil <jan.kratochvil@redhat.com>
7845 Fix i386-sse-stack-align.exp regression since GDB_PARALLEL.
7846 * gdb.arch/i386-sse-stack-align.exp: Use standard_output_file.
7848 2014-02-06 Doug Evans <xdje42@gmail.com>
7850 * gdb.python/py-breakpoint.exp (test_bkpt_eval_funcs): Update expected
7853 * gdb.gdb/python-interrupts.exp: New file.
7855 2014-02-05 Yao Qi <yao@codesourcery.com>
7857 * gdb.trace/report.exp (use_collected_data): Test the output
7858 of "info threads" and "info inferiors".
7860 2014-02-05 Yao Qi <yao@codesourcery.com>
7864 2013-05-24 Yao Qi <yao@codesourcery.com>
7866 * gdb.trace/tfile.exp: Test inferior and thread.
7868 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7870 * gdb.base/sigbpt.exp: Do not use "*" when setting breakpoint
7872 * gdb.base/step-bt.c: Call hello via function pointer to make
7873 sure its first instruction is executed on powerpc64le-linux.
7875 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7877 * gdb.arch/powerpc-d128-regs.exp: Enable on powerpc64*-*.
7879 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7881 * gdb.arch/vsx-regs.exp: Check target endianness. Provide variants
7882 of the test patterns for use on little-endian systems.
7884 2014-02-04 Ulrich Weigand <uweigand@de.ibm.com>
7886 * gdb.arch/altivec-regs.exp: Use gdb_test_multiple for endian test.
7887 (decimal_vector): Fix for little-endian.
7889 2014-01-29 Jose E. Marchesi <jose.marchesi@oracle.com>
7891 * gdb.arch/sparc-sysstep.exp: New file.
7892 * gdb.arch/sparc-sysstep.c: Likewise.
7894 * gdb.arch/Makefile.in (EXECUTABLES): Add sparc-sysstep.
7896 2014-01-28 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
7898 * gdb.base/info-shared.exp: Expect leading `.' on ppc64's symbols.
7900 2014-01-23 Tom Tromey <tromey@redhat.com>
7902 * gdb.ada/array_char_idx: New testcase.
7904 2014-01-23 Tom Tromey <tromey@redhat.com>
7907 * gdb.python/py-framefilter.exp: Add test using "Error" filter.
7908 * gdb.python/py-framefilter.py (ErrorInName, ErrorFilter): New
7911 2014-01-23 Tom Tromey <tromey@redhat.com>
7914 * gdb.python/py-framefilter.py (Reverse_Function.function): Read a
7915 string from an inferior frame.
7916 * gdb.python/py-framefilter-mi.exp: Update.
7918 2014-01-22 Doug Evans <dje@google.com>
7920 * gdb.server/server-mon.exp: Add tests for "set debug-format".
7922 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7924 * gdb.base/catch-syscall.exp: Activate test on s390*-linux.
7926 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7928 * gdb.trace/entry-values.exp: Remove excess space character from
7929 regex patterns. Handle s390 call instruction.
7931 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7933 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Insert alignment and
7934 define "*_start" label. Make "name" static.
7935 * gdb.dwarf2/dw2-dir-file-name.exp: Replace references to
7936 ${name} by references to ${name}_start.
7938 2014-01-22 Andreas Arnez <arnez@vnet.linux.ibm.com>
7940 * gdb.base/info-macros.exp: Remove "debug" from the compile
7943 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7945 * gdb.dlang/demangle.exp: New file.
7947 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7949 * gdb.dlang/primitive-types.exp: New file.
7951 2014-01-17 Iain Buclaw <ibuclaw@gdcproject.org>
7953 * configure.ac: Create gdb.dlang/Makefile.
7954 * configure: Regenerate.
7955 * Makefile.in (ALL_SUBDIRS): Add gdb.dlang.
7956 * gdb.dlang/Makefile.in: New file.
7957 * lib/d-support.exp: New file.
7958 * lib/gdb.exp (skip_d_tests): New proc.
7960 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7962 * gdb.btrace/delta.exp: Check reverse stepi.
7963 * gdb.btrace/tailcall.exp: Update. Add stepping tests.
7964 * gdb.btrace/finish.exp: New.
7965 * gdb.btrace/next.exp: New.
7966 * gdb.btrace/nexti.exp: New.
7967 * gdb.btrace/record_goto.c: Add comments.
7968 * gdb.btrace/step.exp: New.
7969 * gdb.btrace/stepi.exp: New.
7970 * gdb.btrace/multi-thread-step.c: New.
7971 * gdb.btrace/multi-thread-step.exp: New.
7972 * gdb.btrace/rn-dl-bind.c: New.
7973 * gdb.btrace/rn-dl-bind.exp: New.
7974 * gdb.btrace/data.c: New.
7975 * gdb.btrace/data.exp: New.
7976 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
7978 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7980 * gdb.btrace/Makefile.in (EXECUTABLES): Add delta.
7981 * gdb.btrace/exception.exp: Update.
7982 * gdb.btrace/instruction_history.exp: Update.
7983 * gdb.btrace/record_goto.exp: Update.
7984 * gdb.btrace/tailcall.exp: Update.
7985 * gdb.btrace/unknown_functions.exp: Update.
7986 * gdb.btrace/delta.exp: New.
7988 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7990 * gdb.btrace/record_goto.exp: Add backtrace test.
7991 * gdb.btrace/tailcall.exp: Add backtrace test.
7993 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
7995 * gdb.btrace/Makefile.in (EXECUTABLES): Add record_goto.
7996 * gdb.btrace/record_goto.c: New.
7997 * gdb.btrace/record_goto.exp: New.
7998 * gdb.btrace/x86-record_goto.S: New.
8000 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8002 * gdb.btrace/function_call_history.exp: Update tests.
8003 * gdb.btrace/instruction_history.exp: Update tests.
8005 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8007 * gdb.btrace/function_call_history.exp: Fix expected field
8008 order for "record function-call-history".
8009 Add new tests for "record function-call-history /c".
8010 * gdb.btrace/exception.cc: New.
8011 * gdb.btrace/exception.exp: New.
8012 * gdb.btrace/tailcall.exp: New.
8013 * gdb.btrace/x86-tailcall.S: New.
8014 * gdb.btrace/x86-tailcall.c: New.
8015 * gdb.btrace/unknown_functions.c: New.
8016 * gdb.btrace/unknown_functions.exp: New.
8017 * gdb.btrace/Makefile.in (EXECUTABLES): Add new.
8019 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8021 * gdb.btrace/instruction_history.exp: Update.
8022 * gdb.btrace/function_call_history.exp: Update.
8024 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8026 * gdb.btrace/function_call_history.exp: Fix expected function
8028 * gdb.btrace/instruction_history.exp: Initialize traced.
8029 Remove traced_functions.
8031 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8033 * gdb.btrace/function_call_history.exp: Update
8034 * gdb.btrace/instruction_history.exp: Update.
8036 2014-01-16 Markus Metzger <markus.t.metzger@intel.com>
8038 * gdb.btrace/enable.exp: Update expected text.
8040 2014-01-16 Omair Javaid <Omair.Javaid@linaro.org>
8042 * gdb.dwarf2/dw2-dos-drive.S: Increase text section size to 4
8045 2014-01-15 Maciej W. Rozycki <macro@codesourcery.com>
8047 * gdb.base/float.exp: Handle "aarch64*-*-*" targets.
8049 2014-01-15 Omair Javaid <omair.javaid@linaro.org>
8051 * lib/gdb.exp (supports_process_record): Return true for
8052 arm*-linux*. (supports_reverse): Likewise.
8054 2014-01-13 Siva Chandra Reddy <sivachandra@google.com>
8058 * gdb.python/py-type.c: Enhance test case.
8059 * gdb.python/py-value-cc.cc: Likewise
8060 * gdb.python/py-type.exp: Add new tests.
8061 * gdb.python/py-value-cc.exp: Likewise
8063 2014-01-10 Andreas Arnez <arnez@linux.vnet.ibm.com>
8064 Pedro Alves <palves@redhat.com>
8066 * gdb.dwarf2/dw2-dir-file-name.c (FUNC): Remove "*_start" symbol.
8068 * gdb.dwarf2/dw2-dir-file-name.exp (out_cu, out_line): Replace
8069 references to ${name}_start by references to ${name}.
8071 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8073 * gdb.ada/pp-rec-component.exp: Remove path from "source" test.
8075 2014-01-10 Joel Brobecker <brobecker@adacore.com>
8077 * gdb.python/py-pp-integral.exp: Remove path from "source" test.
8079 2014-01-09 Maciej W. Rozycki <macro@codesourcery.com>
8080 Pedro Alves <palves@redhat.com>
8082 * gdb.mi/mi-info-os.exp: Connect to the target with
8085 2014-01-08 Pedro Alves <palves@redhat.com>
8087 * gdb.threads/reconnect-signal.c: New file.
8088 * gdb.threads/reconnect-signal.exp: New file.
8090 2014-01-07 Jan Kratochvil <jan.kratochvil@redhat.com>
8092 * gdb.base/source-dir.exp: New file.
8094 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8096 * gdb.ada/mi_interface: New testcase.
8098 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8100 * gdb.ada/pp-rec-component.exp, gdb.ada/pp-rec-component.py,
8101 gdb.ada/pp-rec-component/foo.adb, gdb.ada/pp-rec-component/pck.adb,
8102 gdb.ada/pp-rec-component/pck.ads: New files.
8104 2014-01-07 Joel Brobecker <brobecker@adacore.com>
8106 * gdb.python/py-pp-integral.c: New file.
8107 * gdb.python/py-pp-integral.py: New file.
8108 * gdb.python/py-pp-integral.exp: New file.
8110 For older changes see ChangeLog-1993-2013.
8116 ;; version-control: never
8119 Copyright 2014-2016 Free Software Foundation, Inc.
8120 Copying and distribution of this file, with or without modification,
8121 are permitted provided the copyright notice and this notice are preserved.